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.20 by tdb, Fri Feb 11 14:05:32 2005 UTC vs.
Revision 1.21 by tdb, Fri Mar 11 12:23:34 2005 UTC

# Line 1 | Line 1
1   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2  
3 + <?
4 + $refresh = isset($_REQUEST['refresh']) ? $_REQUEST['refresh'] : "";
5 + $pagewidth = isset($_REQUEST['pagewidth']) ? $_REQUEST['pagewidth'] : "";
6 + $fontsize = isset($_REQUEST['fontsize']) ? $_REQUEST['fontsize'] : "";
7 + ?>
8 +
9   <html>
10  
11   <head>
# Line 14 | Line 20 | $QUERY_STRING = $_SERVER['QUERY_STRING'];
20    <meta http-equiv="refresh" content="<?=$refresh?>;url=<?=$PHP_SELF.'?'.$QUERY_STRING?>">
21   <? } ?>
22  
23 < <? if (preg_match("/^[1-9]$/", $scroll)) { ?>
23 > <? /* This no longer works
24 > if (preg_match("/^[1-9]$/", $scroll)) { ?>
25    <script language="javascript"><!--
26    function pScroll(){
27      window.scrollBy(0, <?=$scroll?>);
# Line 33 | Line 40 | $QUERY_STRING = $_SERVER['QUERY_STRING'];
40    }
41    //-->
42    </script>
43 < <? } ?>
43 > <? } */?>
44  
45   <?
46      if (!preg_match("/^([0-9]{3,4})|(100%)$/", $pagewidth)) {
# Line 68 | Line 75 | a:hover {
75  
76   </head>
77  
78 < <body bgcolor="#ffffff" text="#000000"<? if (preg_match("/^[1-9]$/", $scroll)) echo ' onload="javascript:pScroll();"'; ?>>
78 > <body bgcolor="#ffffff" text="#000000"<? /* if (preg_match("/^[1-9]$/", $scroll)) echo ' onload="javascript:pScroll();"'; */ ?>>
79   <basefont size="<?=$fontsize?>" face="arial,sans-serif" color="#000000">
80  
74
75 <!--
76    title.inc.php
77    Created by pjm2 14/10/2000
78    Last edited 14/10/2000
79 -->
81  
82   <table border="0" width="<?=$pagewidth?>" cellspacing="0" cellpadding="0" align="center">
83   <tr>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines