--- projects/cms/source/reports/php/shared/title.inc.php 2001/03/22 14:43:27 1.7 +++ projects/cms/source/reports/php/shared/title.inc.php 2001/04/03 14:48:53 1.14 @@ -13,26 +13,40 @@ - if ($scroll == "true") { ?> + if (preg_match("/^[1-9]$/", $scroll)) { ?> } ?> + + if (!preg_match("/^([0-9]{3,4})|(100%)$/", $pagewidth)) { + $pagewidth = 600; + } + if (!preg_match("/^[1234567]$/", $fontsize)) { + $fontsize="2"; + } +?> + -
> -
|