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.10 by pjm2, Thu Mar 22 17:41:41 2001 UTC

# Line 13 | Line 13
13    <meta name="htdig-noindex" content="noindex,nofollow">
14    <meta name="robots" content="noindex,nofollow">
15  
16 < <? if ($scroll == "true") { ?>
16 > <? if ($scroll == "on") { ?>
17    <script language="javascript"><!--
18    function pScroll(){
19      window.scrollBy(0,1);
# Line 29 | Line 29
29    </script>
30   <? } ?>
31  
32 + <?
33 +    if (!preg_match("/^([0-9]{3,4})|(100%)$/", $pagewidth)) {
34 +        $pagewidth = 600;
35 +    }
36 +    if (!preg_match("/^[1234567]$/", $fontsize)) {
37 +        $fontsize="2";
38 +    }
39 + ?>
40 +
41   </head>
42  
43 < <body bgcolor="#ffffff" text="#000000"<? if ($scroll == "true") echo ' onload="javascript:pScroll();"'; ?>>
44 < <basefont size="2" face="arial,sans-serif" color="#000000">
43 > <body bgcolor="#ffffff" text="#000000"<? if ($scroll == "on") echo ' onload="javascript:pScroll();"'; ?>>
44 > <basefont size="<?=$fontsize?>" face="arial,sans-serif" color="#000000">
45  
46  
47   <!--
# Line 41 | Line 50
50      Last edited 14/10/2000
51   -->
52  
53 < <table border="0" width="600" cellspacing="0" cellpadding="0" align="center">
53 > <table border="0" width="<?=$pagewidth?>" cellspacing="0" cellpadding="0" align="center">
54   <tr>
55    <td>
56     <table width="100%" border="0" cellspacing="0" cellpadding="0">

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines