[Openfirst-cvscommit] base/style footers.php,NONE,1.1 headers.php,NONE,1.1 style.css,NONE,1.1
Brought to you by:
xtimg
From: Astronouth7303 <ast...@us...> - 2005-05-25 21:44:50
|
Update of /cvsroot/openfirst/base/style In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15151/style Added Files: footers.php headers.php style.css Log Message: -Adding /style and /includes directories -Moving /images to /style/images -Moving appropriate files out of config -Updating ignore files --- NEW FILE: footers.php --- <?php if(! isset($basepath)){ $basepath = "http://openfirst.sourceforge.net/"; } ?></div> <div id="footer"> <hr /> <div id="copyright" class="menu center"> © Copyright 2002-2003 by <?php echo $title; ?>. All rights reserved. </div> <?php if(isset($user->membertype) && $user->membertype == "administrator"){ echo "<div id=\"adiminlink\">[ <a href='".htmlentities($basepath)."/config/index.php'>Administrator Options / Configuration Area</a> ]</div>"; } ?> <div class="right menu"> <a class="logo" href="http://openfirst.sourceforge.net"> <img src="<?php echo htmlentities("$basepath"); ?>/images/poweredby-small.png" alt="Powered by openFIRST" /> </a> <a class="valid" href="http://validator.w3.org/check?uri=http%3A//openfirst.sourceforge.net/"> <img src="<?php echo htmlentities("$basepath"); ?>/images/w3c401.png" alt="Valid HTML 4.01" /> </a> </div> </div> </body></html> --- NEW FILE: style.css --- /* Basic elements */ bold { font-weight: bold; } big { font-size: large; } input[type=text], select { text-align: left; } input[type=checkbox], input[type=radio] { margin-right: .3em; vertical-align: middle; } caption { text-align: center; font-size: medium; padding: .25em; font-weight: bold; } /* classes and IDs */ #content { padding: 1em; text-align: center; margin-left: auto; margin-right: auto; } #content table { margin-left: auto; margin-right: auto; text-align: center; } #adminmenu { color: white; } #adminmenu a:link { color: white; } #adminmenu a:visited { color: white; } #adminmenu a:active { color: white; } #adminmenu a:hover { color: white; } a:link { color: black; font-size: 12px; font-family: sans-serif; text-decoration: underline; } a:visited { color: black; font-size: 12px; font-family: sans-serif; text-decoration: underline; } a:active { color: black; font-size: 12px; font-family: sans-serif; text-decoration: underline; } a:hover { color: black; font-size: 12px; font-family: sans-serif; text-decoration: underline; } #topmenu, caption { text-align: left; background-image: url(../images/back.gif); color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none; } #topmenu a:link { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none; } #topmenu a:visited { color: #bebebe; font-size: 12px; font-family: sans-serif; text-decoration: none; } #topmenu a:active { color: #cecece; font-size: 12px; font-family: sans-serif; text-decoration: none; } #topmenu a:hover { color: #bed8ff; font-size: 12px; font-family: sans-serif; text-decoration: none; } #toplogo { text-align: left; } .nav1 { width:100%; border: none 0px; margin-left: -2px; margin-right: -2px; margin-bottom: 0; } .nav1 td, .nav1 th { margin: 0; padding: 6px; border: none 0px; } .nav1 tr { margin: 0px; padding: 2px; } .nav2 table { border-left:solid #999999 1px; border-right:solid #999999 1px; border-bottom:solid #999999 1px; margin-left:auto; margin-right:auto; } .center { margin-left: auto; margin-right: auto; text-align: center; } .right { margin-left: auto; margin-right: 0; text-align: right; } .left { margin-left: 0; margin-right: auto; text-align: left; } td { padding: 5px; } th { padding: 5px; } 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; margin: 0px; padding: 2px; 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(../images/back-light.gif); } td.sub { background-color: #999999; color: #333333; background-image: url(../images/back-lighter.gif); } .menu.selected { color: red; text-decoration: underline; } .small { font-size:small; } fieldset { margin: 1em 1.5em; } LEGEND { font-size: 1.5em; font-weight: bold; } dl.setup { text-align: left; } dl.setup dd { margin-left: 0; } dl.setup dd label { clear: left; font-weight: bold; width: 12em; float: left; text-align: right; padding-right: 1em; } dl.setup dt { clear: left; font-size: 0.8em; margin-left: 10em; /* margin-right: 200px; */ margin-bottom: 2em; } .error, .warning { color: red; } ul.plain { list-style: none; clear: both; margin-left: 12em; } dl.setup input:not([type=checkbox]) { width: 25em; } table.center caption { margin-left:auto; margin-right:auto; } hr { width: 80%; border: 1px; height: 1px; } #copyright { background=image: url(../images/back-light.gif); } #footer p { margin: 0; } .logo, .logo img, .valid, .valid img { border: 0; } #moduleInstall * { text-align: left; } --- NEW FILE: headers.php --- <?php if(! isset($basepath)){ $basepath = 'http://openfirst.sourceforge.net'; $title = "openFIRST Team"; } ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title><?php echo htmlentities($title); ?></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Language" content="en-CA" /> <meta name="copyright" content="© 2003 openFIRST http://openfirst.sf.net." /> <meta name="author" content="OpenFIRST - http://openfirst.sf.net" /> <meta name="generator" content="OpenFIRST - http://openfirst.sf.net" /> <link rel="stylesheet" type="text/css" href="<?php echo htmlentities($basepath); ?>/config/style.css"> </head> <body> <table class="nav1"> <tr id="toplogo"> <td> <img src="<?php echo htmlentities($basepath); ?>/images/openfirst.png" alt="openFIRST Portal System" /> </td> </tr> <tr> <th id="topmenu"> <?php if(ISSET($headers)){ echo("» <a accesskey='h' href='$home'><u>H</u>ome</a> | " . $headers); }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> | » <a accesskey="a" href="http://openfirst.sourceforge.net/about.php"><u>A</u>bout openFIRST</a> | » <a accesskey="e" href="http://openfirst.sourceforge.net/developers.php">D<u>e</u>velopers</a> <?php } ?> </th> </tr> <tr> <td class="nav2" style="background-image: url('<?php echo htmlentities($basepath); ?>/images/back-light.gif'); "> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="left"> <?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="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!"; } ?> </td> </tr> </table></td> </tr> <?php if (isset($user->user)){ if(isset($adminnav) && (strcasecmp($user->membertype, 'administrator') == 0)) { ?> <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 } } ?> </table><div id="content"> <?php if ($basepath == 'http://openfirst.sourceforge.net') { unset($basepath); } ?> |