[Openfirst-cvscommit] base/config first.php,1.12,1.13 footers.php,1.5,1.6 headers.php,1.13,1.14
Brought to you by:
xtimg
From: <xt...@us...> - 2003-06-28 19:06:45
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv6976 Modified Files: first.php footers.php headers.php Log Message: Make changes to make footers not lie (now headers+footers+first.php are certified valid HTML 4.01) Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** first.php 28 Jun 2003 17:29:29 -0000 1.12 --- first.php 28 Jun 2003 19:06:39 -0000 1.13 *************** *** 172,179 **** ?> <h1>Base Configuration</h1> ! <p>Congratulations on your choice of OpenFIRST software. Please proceed through this setup wizard ! to get your new OpenFIRST portal software set up and working quickly and painlessly.</p> <table> - <form action="<?php echo($_SERVER["PHP_SELF"]); ?>" method="post"> <tr><th>Option</th><th>Value</th></tr> <tr><td>Operating System of Web Server</td><td><select name="ostype"> --- 172,179 ---- ?> <h1>Base Configuration</h1> ! <p><form action="<?php echo($_SERVER["PHP_SELF"]); ?>" method="post"> ! Congratulations on your choice of OpenFIRST software. Please proceed through this setup wizard ! to get your new OpenFIRST portal software set up and working quickly and painlessly. <table> <tr><th>Option</th><th>Value</th></tr> <tr><td>Operating System of Web Server</td><td><select name="ostype"> *************** *** 207,212 **** </td><td><input type="text" name="fbasepath" value="<?php chdir(".."); echo getcwd(); ?>"></td></tr> <tr><td></td><td><input type="submit" value="Set up OpenFIRST"></td></tr> - </form> </table> <?php } --- 207,212 ---- </td><td><input type="text" name="fbasepath" value="<?php chdir(".."); echo getcwd(); ?>"></td></tr> <tr><td></td><td><input type="submit" value="Set up OpenFIRST"></td></tr> </table> + </form> <?php } *************** *** 216,218 **** include("../config/footers.php"); } ! ?> \ No newline at end of file --- 216,218 ---- include("../config/footers.php"); } ! ?> Index: footers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/footers.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** footers.php 27 Jun 2003 01:00:03 -0000 1.5 --- footers.php 28 Jun 2003 19:06:39 -0000 1.6 *************** *** 6,11 **** <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 <?php echo $title; ?>. All rights reserved.</div> </div> --- 6,11 ---- <table class="menu" width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> ! <td class="menu" style="background=image: url('<?php echo("$basepath/images/"); ?>back-light.gif');"> ! <div> <div align="center">© Copyright 2002-2003 by <?php echo $title; ?>. All rights reserved.</div> </div> *************** *** 14,23 **** <tr> <td class="menu"> ! <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> --- 14,23 ---- <tr> <td class="menu"> ! <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" alt="Powered by openFIRST Software - http://openfirst.sourceforge.net"></a><a href= ! "http://validator.w3.org/check?uri=http%3A//openfirst.sourceforge.net/"> ! <img src="<?php echo("$basepath/images/"); ?>w3c401.png" alt="Valid HTML 4.01" width="88" height="31" border="0"></a> </div> </div> *************** *** 25,29 **** </tr> </table> ! <p> </p> </body> --- 25,29 ---- </tr> </table> ! <p> </p> </body> Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/headers.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** headers.php 28 Jun 2003 16:27:39 -0000 1.13 --- headers.php 28 Jun 2003 19:06:39 -0000 1.14 *************** *** 37,43 **** 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; ! margin: 0px; ! } 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; } --- 37,41 ---- 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; margin: 0px; } 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; } *************** *** 46,57 **** </head> <body> ! ! <table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <td > <img src="<?php echo("$basepath/images/"); ?>openfirst.png"> </td> </tr> ! <tr> ! <th id="topmenu" style="background-image: url('<?php echo($basepath); ?>/images/back.gif');"> <?php if(ISSET($headers)){ --- 44,55 ---- </head> <body> ! ! <table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <td> <img src="<?php echo("$basepath/images/"); ?>openfirst.png" alt="openFIRST Portal System"> </td> </tr> ! <tr> ! <th id="topmenu" style="background-image: url('<?php echo($basepath); ?>/images/back.gif');"> <?php if(ISSET($headers)){ *************** *** 59,67 **** }else{ ?> ! » <a accesskey="h" href="http://openfirst.sourceforge.net"><u>H</u>ome</a> ! | » <a accesskey="d" href="http://openfirst.sourceforge.net/downloads.php"><u>D</u>ownloads</a> ! | » <a accesskey="r" href="http://openfirst.sourceforge.net/release.php"><u>R</u>elease Notes</a> ! | » <a accesskey="m" href="http://openfirst.sourceforge.net/modules.php"><u>M</u>odules</a> ! | » <a accesskey="l" href="http://openfirst.sourceforge.net/license.php"><u>L</u>icense</a> | » <a accesskey="b" href="http://openfirst.sourceforge.net/bugreports.php"><u>B</u>ug Reports</a> | » <a accesskey="c" href="http://openfirst.sourceforge.net/contact.php"><u>C</u>ontact Us</a> --- 57,65 ---- }else{ ?> ! » <a accesskey="h" href="http://openfirst.sourceforge.net"><u>H</u>ome</a> ! | » <a accesskey="d" href="http://openfirst.sourceforge.net/downloads.php"><u>D</u>ownloads</a> ! | » <a accesskey="r" href="http://openfirst.sourceforge.net/release.php"><u>R</u>elease Notes</a> ! | » <a accesskey="m" href="http://openfirst.sourceforge.net/modules.php"><u>M</u>odules</a> ! | » <a accesskey="l" href="http://openfirst.sourceforge.net/license.php"><u>L</u>icense</a> | » <a accesskey="b" href="http://openfirst.sourceforge.net/bugreports.php"><u>B</u>ug Reports</a> | » <a accesskey="c" href="http://openfirst.sourceforge.net/contact.php"><u>C</u>ontact Us</a> *************** *** 71,89 **** </th> </tr> ! <tr> ! <td background="<?php echo("$basepath/images/"); ?>back-light.gif"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> ! <tr> <td width="63%"> <?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 --- 69,87 ---- </th> </tr> ! <tr> ! <td style="background-image: url('<?php echo("$basepath/images/"); ?>back-light.gif'); "> <table width="100%" border="0" cellspacing="0" cellpadding="0"> ! <tr> <td width="63%"> <?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 *************** *** 92,104 **** ?> </td> ! <td width="37%"> <div> ! <div align="right" style="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!"; } --- 90,102 ---- ?> </td> ! <td width="37%"> <div> ! <div align="right" style="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!"; } *************** *** 112,129 **** if (isset($user->user)){ ! if(ISSET($adminnav)){ ! ?> <tr> <td id="adminmenu" background="<?php echo("$basepath/images/"); ?>back-admin.png"><b>Admin Options -</b> <?php ! // Print admin navigation bar ! echo $adminnav; ?></td> </tr> <?php ! } ! } ?> --- 110,127 ---- if (isset($user->user)){ ! if(isset($adminnav)){ ! ?> <tr> <td id="adminmenu" background="<?php echo("$basepath/images/"); ?>back-admin.png"><b>Admin Options -</b> <?php ! // Print admin navigation bar ! echo $adminnav; ?></td> </tr> <?php ! } ! } ?> *************** *** 131,136 **** <?php ! if($basepath == "http://openfirst.sourceforge.net/"){ ! unset($basepath); } --- 129,134 ---- <?php ! if ($basepath == "http://openfirst.sourceforge.net/") { ! unset($basepath); } |