[Openfirst-cvscommit] base/config headers.php,1.5,1.6
Brought to you by:
xtimg
From: <xt...@us...> - 2003-06-21 22:05:56
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv5971 Modified Files: headers.php Log Message: Fix to prevent basepath from being modified (this fix eliminates the many linking problems that would otherwise be encountered). Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/headers.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** headers.php 21 Jun 2003 21:55:32 -0000 1.5 --- headers.php 21 Jun 2003 22:05:53 -0000 1.6 *************** *** 1,6 **** <?php ! if(ISSET($basepath)){ ! $basepath .= "/images/"; ! }else{ $basepath = "http://openfirst.sourceforge.net/image/"; } --- 1,4 ---- <?php ! if(! isset($basepath)){ $basepath = "http://openfirst.sourceforge.net/image/"; } *************** *** 33,37 **** body {color: black; font-weight: bolder; font-size: 12px; font-family: sans-serif; text-decoration:none; text-align: center } td { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none } ! th { background-color: #999999; color: #333333;background-image: url('<?php echo $basepath; ?>back-light.gif') } </style> </head> --- 31,35 ---- body {color: black; font-weight: bolder; font-size: 12px; font-family: sans-serif; text-decoration:none; text-align: center } td { color: black; font-size: 12px; font-family: sans-serif; text-decoration: none } ! th { background-color: #999999; color: #333333;background-image: url('<?php echo $basepath/images/; ?>back-light.gif') } </style> </head> *************** *** 41,50 **** <tr> ! <td class="menu"> <img src="<?php echo $basepath; ?>openfirst.png"> </td> </tr> <tr> ! <td class="menu" background="<?php echo $basepath; ?>back.gif"> <font color="#FFFFFF">» <a class="menu" accesskey="h" href="http://openfirst.sourceforge.net"><u>H</u>ome</a> | » <a class="menu" accesskey="d" href="http://openfirst.sourceforge.net/downloads.php"><u>D</u>ownloads</a> --- 39,48 ---- <tr> ! <td class="menu"> <img src="<?php echo $basepath/images/; ?>openfirst.png"> </td> </tr> <tr> ! <td class="menu" background="<?php echo $basepath/images/; ?>back.gif"> <font color="#FFFFFF">» <a class="menu" accesskey="h" href="http://openfirst.sourceforge.net"><u>H</u>ome</a> | » <a class="menu" accesskey="d" href="http://openfirst.sourceforge.net/downloads.php"><u>D</u>ownloads</a> *************** *** 59,63 **** </tr> <tr> ! <td class="menu" background="<?php echo $basepath; ?>back-light.gif"> <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="0"> --- 57,61 ---- </tr> <tr> ! <td class="menu" background="<?php echo $basepath/images/; ?>back-light.gif"> <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="0"> *************** *** 82,84 **** </td> </tr> ! </table> \ No newline at end of file --- 80,87 ---- </td> </tr> ! </table> ! <?php ! if($basepath == "http://openfirst.sourceforge.net/image/"){ ! $basepath = "/openfirst/"; ! } ! ?> |