[Openfirst-cvscommit] base/config headers.php,1.7,1.8 footers.php,1.4,1.5
Brought to you by:
xtimg
From: <dav...@us...> - 2003-06-27 01:00:10
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv24111 Modified Files: headers.php footers.php Log Message: Edited to use $subnav and $adminnav for headers which should be set in globals. They also check if the messenger module has been developed then switches to output how many users are on the website. Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/headers.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** headers.php 21 Jun 2003 22:23:23 -0000 1.7 --- headers.php 27 Jun 2003 01:00:03 -0000 1.8 *************** *** 6,13 **** <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> ! <head> ! <title> ! Untitled Document ! </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Language" content="en-CA"> --- 6,11 ---- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> ! <head> ! <title><?php echo $title; ?></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Language" content="en-CA"> *************** *** 15,50 **** <meta name="author" content="OpenFIRST - http://openfirst.sf.net"> <meta name="generator" content="OpenFIRST - http://openfirst.sf.net"> ! <style type="text/css"> ! a:link.menu { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:visited.menu { color: #bebebe; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:active.menu { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:hover.menu { color: #bed8ff; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:link { color: #999999; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:visited { color: #999999; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:active { color: #999999; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:hover { color: #999999; font-size: 12px; font-family: sans-serif; text-decoration: Underline } ! table {border-left:solid #999999 1px;border-right:solid #999999 1px;border-bottom:solid #999999 1px} ! table.menu {border-left:0px;border-right:0px;border-bottom:0px} ! td.menu {border-left:0px;border-right:0px;border-bottom:0px} ! 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> ! <body leftmargin="0" topmargin="0" marginwidth="0" ! marginheight="0"> ! <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="6"> ! <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> | » <a accesskey="r" class="menu" href="http://openfirst.sourceforge.net/release.php"><u>R</u>elease --- 13,51 ---- <meta name="author" content="OpenFIRST - http://openfirst.sf.net"> <meta name="generator" content="OpenFIRST - http://openfirst.sf.net"> ! <style type="text/css"> ! a:link.menu { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:visited.menu { color: #bebebe; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:active.menu { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:hover.menu { color: #bed8ff; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:link.admin { color: #FFFFFF } ! a:visited.admin { color: #FFFFFF } ! a:active.admin { color: #FFFFFF } ! a:hover.admin { color: #FFFFFF } ! ! a:link { color: #000000; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:visited { color: #000000; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:active { color: #0000000; font-size: 12px; font-family: sans-serif; text-decoration: none } ! a:hover { color: #000000; font-size: 12px; font-family: sans-serif; text-decoration: Underline } ! table { border-left:solid #999999 1px;border-right:solid #999999 1px;border-bottom:solid #999999 1px } ! table.menu { border-left:0px;border-right:0px;border-bottom:0px } ! td.menu {border-left:0px;border-right:0px;border-bottom:0px } ! 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 } ! td.navigation { 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> ! <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> ! ! <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="6"> ! <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> | » <a accesskey="r" class="menu" href="http://openfirst.sourceforge.net/release.php"><u>R</u>elease *************** *** 56,88 **** openFIRST</a> | » <a class="menu" accesskey="e" href="http://openfirst.sourceforge.net/developers.php">D<u>e</u>velopers</a> </font> </td> ! </tr> ! <tr> ! <td class="menu" background="<?php echo("$basepath/images/"); ?>back-light.gif"> ! <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> ! <td class="menu" width="54%"> <font color="#333333"><strong>openFIRST ::</strong> ! Home System</font></td> ! <td class="menu" width="46%"> <div> ! <div align="right"><font color="#333333"> <?php ! if(ISSET($usersonline)){ ! echo $usersonline; ! }else{ ! echo "Welcome to the openFIRST setup system!"; ! } ?> ! </font></div> </div></td> </tr> ! </table> ! </td> ! </tr> ! </table> <?php if($basepath == "http://openfirst.sourceforge.net/"){ unset($basepath); } ! ?> --- 57,125 ---- openFIRST</a> | » <a class="menu" accesskey="e" href="http://openfirst.sourceforge.net/developers.php">D<u>e</u>velopers</a> </font> </td> ! </tr> ! <tr> ! <td class="menu" background="<?php echo("$basepath/images/"); ?>back-light.gif"> ! <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> ! <td class="menu" width="72%"> <?php ! // Check if module name has been set then echo ! if(ISSET($modulename)){ ! echo "<b>$currentmodulen</b> -"; ! } ! ! // Check if navigation bar option is set then echo options ! if(ISSET($subnav)){ + // Output module navigation bar + echo $subnav; + } ?> ! </td> ! <td class="menu" width="28%"> <div> ! <div align="right"><font color="#333333"> ! <?php ! ! // Check if messenger module has activated usersonline option then echo value ! if(ISSET($usersonline)){ ! echo $usersonline; ! }else{ ! echo "Welcome to the <b>".$title."</b> website!"; ! } ! ! ?> ! </font></div> </div></td> </tr> ! </table></td> ! </tr> ! <?php ! ! if (isset($user->user)){ ! if(ISSET($adminnav)){ ! ! ?> ! <tr> ! <td class="menu" background="<?php echo("$basepath/images/"); ?>back-admin.png"><font color="#FFFFFF"><b>Admin Options -</b> ! <?php ! // Print admin navigation bar ! echo $adminnav; ! ?> ! </font></td> ! </tr> <?php + + } + } + + ?> + </table> + <?php + if($basepath == "http://openfirst.sourceforge.net/"){ unset($basepath); } ! ! ?> \ No newline at end of file Index: footers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/footers.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** footers.php 21 Jun 2003 22:23:23 -0000 1.4 --- footers.php 27 Jun 2003 01:00:03 -0000 1.5 *************** *** 8,13 **** <td class="menu" background="<?php echo("$basepath/images/"); ?>back-light.gif"> <div> ! <div align="center">© Copyright 2002-2003 by the openFIRST Development ! Team </div> </div> </td> --- 8,12 ---- <td class="menu" background="<?php echo("$basepath/images/"); ?>back-light.gif"> <div> ! <div align="center">© Copyright 2002-2003 by <?php echo $title; ?>. All rights reserved.</div> </div> </td> |