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.12 by pjm2, Thu Mar 22 18:57:26 2001 UTC vs.
Revision 1.13 by pjm2, Fri Mar 23 16:58:17 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 == "on") { ?>
16 > <? if (preg_match("/^[1-9]$/", $scroll)) { ?>
17    <script language="javascript"><!--
18    function pScroll(){
19 <    window.scrollBy(0, 1);
19 >    window.scrollBy(0, <?=$scroll?>);
20      if (document.body.scrollTop >= document.body.scrollHeight - document.body.clientHeight - 1) {
21          waitThenReload();
22      }
# Line 45 | Line 45
45  
46   </head>
47  
48 < <body bgcolor="#ffffff" text="#000000"<? if ($scroll == "on") echo ' onload="javascript:pScroll();"'; ?>>
48 > <body bgcolor="#ffffff" text="#000000"<? if (preg_match("/^[1-9]$/", $scroll)) echo ' onload="javascript:pScroll();"'; ?>>
49   <basefont size="<?=$fontsize?>" face="arial,sans-serif" color="#000000">
50  
51  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines