ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/shared/title.inc.php
(Generate patch)

Comparing projects/cms/source/reports/php/shared/title.inc.php (file contents):
Revision 1.7 by pjm2, Thu Mar 22 14:43:27 2001 UTC vs.
Revision 1.8 by pjm2, Thu Mar 22 16:36:52 2001 UTC

# Line 29 | Line 29
29    </script>
30   <? } ?>
31  
32 + <?
33 +    if (!preg_match("/^[1234567]$/", $fontsize)) {
34 +        $fontsize="2";
35 +    }
36 + ?>
37 +
38   </head>
39  
40   <body bgcolor="#ffffff" text="#000000"<? if ($scroll == "true") echo ' onload="javascript:pScroll();"'; ?>>
41 < <basefont size="2" face="arial,sans-serif" color="#000000">
41 > <basefont size="<?=$fontsize?>" face="arial,sans-serif" color="#000000">
42  
43  
44   <!--

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines