Thread: [Openfirst-cvscommit] base/config footers.php,1.3,1.4 headers.php,1.6,1.7
Brought to you by:
xtimg
From: <xt...@us...> - 2003-06-21 22:23:26
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv7939 Modified Files: footers.php headers.php Log Message: Fix headers and footers for proper images and links Index: footers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/footers.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** footers.php 21 Jun 2003 21:51:26 -0000 1.3 --- footers.php 21 Jun 2003 22:23:23 -0000 1.4 *************** *** 1,5 **** <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <td class="menu" background="<?php echo $basepath; ?>back-light.gif"> <div> <div align="center">© Copyright 2002-2003 by the openFIRST Development --- 1,10 ---- + <?php + if(! isset($basepath)){ + $basepath = "http://openfirst.sourceforge.net/"; + } + ?> <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <td class="menu" background="<?php echo("$basepath/images/"); ?>back-light.gif"> <div> <div align="center">© Copyright 2002-2003 by the openFIRST Development *************** *** 12,19 **** <div> <div align="right"><a href= ! "http://openfirst.sourceforge.net"><img src="<?php echo $basepath; ?>poweredby-small.png" width="177" height="30" border="0"></a><a href= "http://validator.w3.org/check?uri=http%3A//openfirst.sourceforge.net/"> ! <img src="<?php echo $basepath; ?>w3c401.png" width="88" height="31" border="0"></a> </div> </div> --- 17,24 ---- <div> <div align="right"><a href= ! "http://openfirst.sourceforge.net"><img src="<?php echo("$basepath/images/"); ?>poweredby-small.png" width="177" height="30" border="0"></a><a href= "http://validator.w3.org/check?uri=http%3A//openfirst.sourceforge.net/"> ! <img src="<?php echo("$basepath/images/"); ?>w3c401.png" width="88" height="31" border="0"></a> </div> </div> *************** *** 24,26 **** <p> </p> </body> ! </html> \ No newline at end of file --- 29,31 ---- <p> </p> </body> ! </html> Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/headers.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** headers.php 21 Jun 2003 22:05:53 -0000 1.6 --- headers.php 21 Jun 2003 22:23:23 -0000 1.7 *************** *** 1,5 **** <?php if(! isset($basepath)){ ! $basepath = "http://openfirst.sourceforge.net/image/"; } ?> --- 1,5 ---- <?php if(! isset($basepath)){ ! $basepath = "http://openfirst.sourceforge.net/"; } ?> *************** *** 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> --- 31,36 ---- 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> *************** *** 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> --- 40,49 ---- <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> *************** *** 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"> --- 58,62 ---- </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,87 **** </table> <?php ! if($basepath == "http://openfirst.sourceforge.net/image/"){ ! $basepath = "/openfirst/"; } ?> --- 83,88 ---- </table> <?php ! if($basepath == "http://openfirst.sourceforge.net/"){ ! unset($basepath); } ?> |