--- projects/cms/source/reports/php/shared/title.inc.php 2001/03/20 22:24:26 1.6
+++ projects/cms/source/reports/php/shared/title.inc.php 2005/03/11 12:23:34 1.21
@@ -1,5 +1,11 @@
+
+$refresh = isset($_REQUEST['refresh']) ? $_REQUEST['refresh'] : "";
+$pagewidth = isset($_REQUEST['pagewidth']) ? $_REQUEST['pagewidth'] : "";
+$fontsize = isset($_REQUEST['fontsize']) ? $_REQUEST['fontsize'] : "";
+?>
+
@@ -7,24 +13,73 @@
- if (preg_match("/^[0-9]{1,3}$/", $refresh)) { ?>
-
+ if (preg_match("/^[0-9]{1,3}$/", $refresh)) {
+$PHP_SELF = $_SERVER['PHP_SELF'];
+$QUERY_STRING = $_SERVER['QUERY_STRING'];
+?>
+
} ?>
-
-
-
-
-
+ /* This no longer works
+if (preg_match("/^[1-9]$/", $scroll)) { ?>
+
+ } */?>
+
+ if (!preg_match("/^([0-9]{3,4})|(100%)$/", $pagewidth)) {
+ $pagewidth = 600;
+ }
+ if (!preg_match("/^[1234567]$/", $fontsize)) {
+ $fontsize="2";
+ }
+?>
+
-
+
+
+>
+
+
+
+
@@ -32,6 +87,8 @@
echo date("D jS M Y, g:i:sa"); ?>
+
+
|
| |