[Gnucash-changes] r12833 - htdocs/trunk/en - replacing tables with CSS for left hand menu entries

Neil Williams codehelp at cvs.gnucash.org
Tue Jan 17 13:58:21 EST 2006


Author: codehelp
Date: 2006-01-17 13:58:19 -0500 (Tue, 17 Jan 2006)
New Revision: 12833
Trac: http://svn.gnucash.org/trac/changeset/12833

Modified:
   htdocs/trunk/en/components/footer.phtml
   htdocs/trunk/en/components/header.phtml
   htdocs/trunk/en/menu/menu-developer.phtml
   htdocs/trunk/en/menu/menu-documentation.phtml
   htdocs/trunk/en/menu/menu-downloads.phtml
   htdocs/trunk/en/menu/menu-general.phtml
   htdocs/trunk/en/menu/menu-help.phtml
   htdocs/trunk/en/menu/menu-main-developer.phtml
   htdocs/trunk/en/menu/menu-main-documentation.phtml
   htdocs/trunk/en/menu/menu-main-general.phtml
   htdocs/trunk/en/menu/menu-main-help.phtml
   htdocs/trunk/en/menu/menu-main-other.phtml
   htdocs/trunk/en/menu/menu-main-search.phtml
   htdocs/trunk/en/menu/menu-main.phtml
   htdocs/trunk/en/menu/menu-other.phtml
   htdocs/trunk/en/menu/menu-search.phtml
Log:
replacing tables with CSS for left hand menu entries

Modified: htdocs/trunk/en/components/footer.phtml
===================================================================
--- htdocs/trunk/en/components/footer.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/components/footer.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -2,7 +2,7 @@
 <div style="clear:both;float:none;">&nbsp;</div>
 <div id="tail">
 <p style="float:right;padding-right:1em;"><a href='http://validator.w3.org/check/referer'>Validate</a> </p>
-<p style="text-align:center;"><b>Copyright &copy; 2001-2004 The GnuCash Project</b></p>
+<p style="text-align:center;"><b>Copyright &copy; 2001-2006 The GnuCash Project</b></p>
 <p style="text-align:center;">Server &amp; email outage reports to
 <a href="mailto:linas at linas.org"><b>linas at linas.org</b></a>
 </p>

Modified: htdocs/trunk/en/components/header.phtml
===================================================================
--- htdocs/trunk/en/components/header.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/components/header.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -32,4 +32,3 @@
 </span>
 </div>
 
-<div id="news">

Modified: htdocs/trunk/en/menu/menu-developer.phtml
===================================================================
--- htdocs/trunk/en/menu/menu-developer.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/menu/menu-developer.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -1,38 +1,13 @@
-  <table border=0 cellpadding=0 cellspacing=6 width='100%'>
-  <tr>
-  <td><img src="/images/spacer.gif" height=1 width=2 alt="spacer"></td>
-  <td>
-    <font size=-1>
+<span class="linktop">
+<img class="dot" src="/images/webding.png" alt="marker">
+<b>Developer Information</b>
+</span>
+<ul><li><a href="/en/architecture.phtml">System Architecture</a></li>
+<li><a href="/en/roadmap.phtml">The Road Ahead</a></li>
+<li><a href="http://linas.org/linux/gnucash/projects.html">Project Goals</a></li>
+<li><a href="http://cvs.gnucash.org/docs/HEAD/modules.html">Source Docs</a></li>
+<li><a href="https://cvs.gnucash.org/cgi-bin/cvsweb.cgi/">Browse Source Code</a></li>
+<li><a href="/en/hacking.phtml">CVS Access</a></li>
+<li><a href="http://www.gnucash.org/trans/">Language Translations</a></li>
+</ul>
 
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/architecture.phtml">System Architecture</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/roadmap.phtml">The Road Ahead</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="http://linuxwiki.de/GnuCash_2fDevelTexts">Devel Wiki</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="http://linas.org/linux/gnucash/projects.html">Project Plans (old)</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="http://cvs.gnucash.org/docs/HEAD/modules.html">Source Docs</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <!-- <a href="/lxr/">Browse Source Code</a><br> -->
-    <!-- <a href="https://cvs.gnucash.org/cgi-bin/cvsweb.cgi/">Browse Source</a><br> -->
-    <a href="http://svn.gnucash.org/trac/browser/">Browse Source</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <!-- <a href="/en/hacking.phtml">CVS Access</a><br> -->
-    <a href="http://wiki.gnucash.org/wiki/Subversion">Subversion Access</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/trans/">Language Translations</a><br>
-
-    </font>
-
-  </td>
-  </tr>
-  </table>

Modified: htdocs/trunk/en/menu/menu-documentation.phtml
===================================================================
--- htdocs/trunk/en/menu/menu-documentation.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/menu/menu-documentation.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -1,48 +1,15 @@
-  <table border=0 cellpadding=0 cellspacing=6 width='100%'>
-  <tr>
-  <td><img src="/images/spacer.gif" height=1 width=2 alt="spacer"></td>
-  <td>
-    <font size=-1>
+<span class="linktop"><img class="dot"
+src="/images/webding.png" alt="marker">
+<b>Documentation</b></span>
+<ul><li>
+<a href="http://www.gnucash.org/docs/v1.8/C/gnucash-guide">
+Concepts Guide</a></li>
+<li>
+<a href="http://www.gnucash.org/docs/v1.8/C/gnucash-help/help.html">
+Help Manual</a>
+<a href="http://www.gnucash.org/docs/v1.8/de_DE/gnucash-help/help.html">
+[de]</a></li>
+<li><a href="/en/sql.phtml">SQL HOWTO</a></li>
+<li><a href="/en/docs.phtml">more...</a></li>
 
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="http://wiki.gnucash.org/wiki/">Wiki/FAQ</a>
-    <a href="http://linuxwiki.de/GnuCash">[de]</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/docs/v1.8/C/gnucash-guide/">Concepts Guide</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/docs/v1.8/C/gnucash-help/help.html">Help Manual</a>
-    <a href="/docs/v1.8/de_DE/gnucash-help/help.html">[de]</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/sql.phtml">SQL HOWTO</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/docs.phtml">more...</a><br>
-
-<!-- old menu  moved to docs.phtml page ...
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/docs/es/">Espagnol</a><br>
-    
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/docs/fr/">Français</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/docs/pt_PT/">Português</a><br>
-    
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="http://www.aerospacesoftware.com/GNU_Cash_for_Business_users_Howto_Guide.html"">GnuCash for Business Users</a> (<a href="http://www.linas.org/mirrors/www.aerospacesoftware.com/2003.06.21/GNU_Cash_for_Business_users_Howto_Guide.html">mirror</a>)<br>
-    
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="http://www.ncsysadmin.org/july2001/ncsa-gnucash-talk.html">Joe Mack's Tutorial</a><br>
-    
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="http://www.object-refinery.com/gnucash/index.html">Dave Gilbert's User Guide (PDF)</a><br>
--->
-
-  </font>
-
-  </td>
-  </tr>
-  </table>
+</ul>

Modified: htdocs/trunk/en/menu/menu-downloads.phtml
===================================================================
--- htdocs/trunk/en/menu/menu-downloads.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/menu/menu-downloads.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -1,28 +1,9 @@
-  <table border=0 cellpadding=0 cellspacing=6>
-  <tr>
-  <td><img src="/images/spacer.gif" height=1 width=2 alt="spacer"></td>
-  <td>
-    <font size=-1>
-
-<!--
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="http://www.linas.org/pub/gnucash/">@ linas.org</a><br>
-    -->
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="http://www.gnucash.org/pub/">USA (master site)</a><br>
- 
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="http://ftp.at.gnucash.org/pub/gnucash/">Europe</a><br>
- 
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="http://sourceforge.net/project/showfiles.php?group_id=192">SourceForge</a><br>
- 
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="ftp://planetmirror.com/pub/gnucash/">Australia</a><br>
-
-    </font>
- 
-  </td>
-  </tr>
-  </table>
+<span class="linktop">
+<img class="dot" src="/images/webding.png" alt="marker">
+<b>Downloads</b></span>
+<ul>
+<li><a href="http://www.gnucash.org/pub/">USA (master site)</a></li>
+<li><a href="http://ftp.at.gnucash.org/pub/gnucash/">Europe</a></li>
+<li><a href="http://sourceforge.net/project/showfiles.php?group_id=192">SourceForge</a></li>
+<li><a href="ftp://planetmirror.com/pub/gnucash/">Australia</a></li>
+</ul>

Modified: htdocs/trunk/en/menu/menu-general.phtml
===================================================================
--- htdocs/trunk/en/menu/menu-general.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/menu/menu-general.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -1,34 +1,12 @@
-  <table border=0 cellpadding=0 cellspacing=6>
-  <tr>
-  <td><img src="/images/spacer.gif" height=1 width=2 alt="spacer"></td>
-  <td>
-    <font size=-1>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/index.phtml">Home / News </a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/features.phtml">Features</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/screenshots.phtml">Screenshots</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/donations.phtml">Donations</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/contribute.phtml">How To Help</a><br>
-
-<!--
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/quiz.phtml">User Survey</a><br>
--->
- 
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/required.phtml">Software Dependencies</a><br>
- 
-    </font>
- 
-  </td>
-  </tr>
-  </table>
+<span class="linktop">
+<img class="dot" src="/images/webding.png" alt="marker">
+<b>General Information</b>
+</span>
+<ul>
+<li><a href="/en/index.phtml">Home / News </a></li>
+<li><a href="/en/features.phtml">Features</a></li>
+<li><a href="/en/screenshots.phtml">Screenshots</a></li>
+<li><a href="/en/donations.phtml">Donations</a></li>
+<li><a href="/en/contribute.phtml">How To Help</a></li>
+<li><a href="/en/required.phtml">Software Dependencies</a></li>
+</ul>

Modified: htdocs/trunk/en/menu/menu-help.phtml
===================================================================
--- htdocs/trunk/en/menu/menu-help.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/menu/menu-help.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -1,27 +1,11 @@
-  <table border=0 cellpadding=0 cellspacing=6>
-  <tr>
-  <td><img src="/images/spacer.gif" height=1 width=2 alt="spacer"></td>
-  <td>
-    <font size=-1>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/lists.phtml">Mailing Lists</a><br>
-	&nbsp;&nbsp;<img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-	<a href="https://lists.gnucash.org/search/">Search</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/bugs.phtml">Bug Reports</a><br>
-  
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/irc.phtml">IRC (Chat)</a><br>
-
-<!-- Changed to link in docs menu<img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="http://gnomesupport.org/wiki/index.php/GnuCashFrequentlyAskedQuestions">FAQ</a><br>-->
-
-    </font>
-
-  </td>
-  </tr>
-  </table>
-
-
+<span class="linktop">
+<img class="dot" src="/images/webding.png" alt="marker">
+<b>Help</b></span>
+<ul><li><a href="/en/lists.phtml">Mailing Lists</a>
+<li style="list-style-image:none;list-style-type:none;"><ul><li>
+<a href="https://lists.gnucash.org/search/">Search</a>
+</li></ul></li>
+</li>
+<li><a href="/en/bugs.phtml">Bug Reports</a></li>
+<li><a href="/en/irc.phtml">IRC (Chat)</a></li>
+<li><a href="http://gnomesupport.org/wiki/index.php/GnuCashFrequentlyAskedQuestions">FAQ</a></li></ul>

Modified: htdocs/trunk/en/menu/menu-main-developer.phtml
===================================================================
--- htdocs/trunk/en/menu/menu-main-developer.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/menu/menu-main-developer.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -1,34 +1,25 @@
 <!-- MENU:START -->
+<?php if (!ini_get('register_globals')) {
+ include("../emulate_globals_on.php");
+}
 
-<table border=0 cellpadding=4 cellspacing=0 width="100%">
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>General Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-general.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Documentation</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-documentation.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Help</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-help.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Downloads</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-downloads.phtml"); ?>
-  </td> </tr>
-<tr><td bgcolor="#cacaf7">
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Developer Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-developer.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Other Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-other.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Search</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-search.phtml"); ?>
-  </td></tr>
-</table>
+echo "<div id=\"news\">";
+echo "<div id=\"othernews\">";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-general.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-documentation.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-help.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-downloads.phtml");
+# highlighted menu entry:
+echo "</div>\n<div class=\"highlight\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-developer.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-other.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-search.phtml");
+echo "</div>\n</div>\n";
+?>
 
 <!-- MENU:END -->

Modified: htdocs/trunk/en/menu/menu-main-documentation.phtml
===================================================================
--- htdocs/trunk/en/menu/menu-main-documentation.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/menu/menu-main-documentation.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -1,34 +1,25 @@
 <!-- MENU:START -->
 
-<table border=0 cellpadding=4 cellspacing=0 width="100%">
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>General Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-general.phtml"); ?>
-  </td></tr>
-<tr><td bgcolor="#cacaf7">
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Documentation</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-documentation.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Help</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-help.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Downloads</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-downloads.phtml"); ?>
-  </td> </tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Developer Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-developer.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Other Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-other.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Search</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-search.phtml"); ?>
-  </td></tr>
-</table>
+<?php if (!ini_get('register_globals')) {
+ include("../emulate_globals_on.php");
+}
 
+echo "<div id=\"news\"><div class=\"othernews\">";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-general.phtml");
+# highlighted menu entry:
+echo "</div>\n<div class=\"highlight\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-documentation.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-help.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-downloads.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-developer.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-other.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-search.phtml");
+echo "</div>\n</div>\n";
+?>
+
 <!-- MENU:END -->

Modified: htdocs/trunk/en/menu/menu-main-general.phtml
===================================================================
--- htdocs/trunk/en/menu/menu-main-general.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/menu/menu-main-general.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -1,34 +1,25 @@
 <!-- MENU:START -->
+<?php if (!ini_get('register_globals')) {
+ include("../emulate_globals_on.php");
+}
 
-<table border=0 cellpadding=4 cellspacing=0 width="100%">
-<tr><td bgcolor="#cacaf7">
-  <img border=0 src="/images/webding.png" alt="dot"> <b>General Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-general.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Documentation</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-documentation.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Help</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-help.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Downloads</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-downloads.phtml"); ?>
-  </td> </tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Developer Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-developer.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Other Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-other.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Search</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-search.phtml"); ?>
-  </td></tr>
-</table>
+echo "<div id=\"news\">";
+# highlighted menu entry:
+echo "<div class=\"highlight\">";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-general.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-documentation.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-help.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-downloads.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-developer.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-other.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-search.phtml");
+echo "</div>\n</div>\n";
+?>
 
 <!-- MENU:END -->

Modified: htdocs/trunk/en/menu/menu-main-help.phtml
===================================================================
--- htdocs/trunk/en/menu/menu-main-help.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/menu/menu-main-help.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -1,34 +1,25 @@
 <!-- MENU:START -->
+<?php if (!ini_get('register_globals')) {
+ include("../emulate_globals_on.php");
+}
 
-<table border=0 cellpadding=4 cellspacing=0 width="100%">
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>General Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-general.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Documentation</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-documentation.phtml"); ?>
-  </td></tr>
-<tr><td bgcolor="#cacaf7">
-  <img border=0 src="/images/webding.png"> <b>Help</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-help.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Downloads</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-downloads.phtml"); ?>
-  </td> </tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Developer Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-developer.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Other Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-other.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Search</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-search.phtml"); ?>
-  </td></tr>
-</table>
+echo "<div id=\"news\"><div class=\"othernews\">";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-general.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-documentation.phtml");
+# highlighted menu entry:
+echo "</div>\n<div class=\"highlight\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-help.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-downloads.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-developer.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-other.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-search.phtml");
+echo "</div>\n</div>\n";
+?>
 
+
 <!-- MENU:END -->

Modified: htdocs/trunk/en/menu/menu-main-other.phtml
===================================================================
--- htdocs/trunk/en/menu/menu-main-other.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/menu/menu-main-other.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -1,34 +1,24 @@
 <!-- MENU:START -->
+<?php if (!ini_get('register_globals')) {
+ include("../emulate_globals_on.php");
+}
 
-<table border=0 cellpadding=4 cellspacing=0 width="100%">
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>General Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-general.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Documentation</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-documentation.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Help</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-help.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Downloads</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-downloads.phtml"); ?>
-  </td> </tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Developer Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-developer.phtml"); ?>
-  </td></tr>
-<tr><td bgcolor="#cacaf7">
-  <img border=0 src="/images/webding.png"> <b>Other Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-other.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Search</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-search.phtml"); ?>
-  </td></tr>
-</table>
+echo "<div id=\"news\"><div class=\"othernews\">";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-general.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-documentation.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-help.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-downloads.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-developer.phtml");
+# highlighted menu entry:
+echo "</div>\n<div class=\"highlight\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-other.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-search.phtml");
+echo "</div>\n</div>\n";
+?>
 
 <!-- MENU:END -->

Modified: htdocs/trunk/en/menu/menu-main-search.phtml
===================================================================
--- htdocs/trunk/en/menu/menu-main-search.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/menu/menu-main-search.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -1,34 +1,24 @@
 <!-- MENU:START -->
+<?php if (!ini_get('register_globals')) {
+ include("../emulate_globals_on.php");
+}
 
-<table border=0 cellpadding=4 cellspacing=0 width="100%">
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>General Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-general.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Documentation</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-documentation.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Help</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-help.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Downloads</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-downloads.phtml"); ?>
-  </td> </tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Developer Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-developer.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png"> <b>Other Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-other.phtml"); ?>
-  </td></tr>
-<tr><td bgcolor="#cacaf7">
-  <img border=0 src="/images/webding.png"> <b>Search</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-search.phtml"); ?>
-  </td></tr>
-</table>
+echo "<div id=\"news\"><div class=\"othernews\">";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-general.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-documentation.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-help.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-downloads.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-developer.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-other.phtml");
+# highlighted menu entry:
+echo "</div>\n<div class=\"highlight\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-search.phtml");
+echo "</div>\n</div>\n";
+?>
 
 <!-- MENU:END -->

Modified: htdocs/trunk/en/menu/menu-main.phtml
===================================================================
--- htdocs/trunk/en/menu/menu-main.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/menu/menu-main.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -1,34 +1,22 @@
 <!-- MENU:START -->
+<?php if (!ini_get('register_globals')) {
+ include("../emulate_globals_on.php");
+}
 
-<table border=0 cellpadding=4 cellspacing=0 width="100%">
-<tr><td bgcolor="#cacaf7">
-  <img border=0 src="/images/webding.png" alt="dot"> <b>General Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-general.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Documentation</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-documentation.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Help</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-help.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Downloads</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-downloads.phtml"); ?>
-  </td> </tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Developer Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-developer.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Other Information</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-other.phtml"); ?>
-  </td></tr>
-<tr><td>
-  <img border=0 src="/images/webding.png" alt="dot"> <b>Search</b>
-  <?php include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-search.phtml"); ?>
-  </td></tr>
-</table>
-
+echo "<div id=\"news\"><div class=\"highlight\">";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-general.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-documentation.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-help.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-downloads.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-developer.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-other.phtml");
+echo "</div>\n<div class=\"othernews\">\n";
+include($GLOBALS['DOCUMENT_ROOT']."/en/menu/menu-search.phtml");
+echo "</div>\n</div>\n";
+?>
 <!-- MENU:END -->

Modified: htdocs/trunk/en/menu/menu-other.phtml
===================================================================
--- htdocs/trunk/en/menu/menu-other.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/menu/menu-other.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -1,32 +1,14 @@
-  <table border=0 cellpadding=0 cellspacing=6>
-  <tr>
-  <td><img src="/images/spacer.gif" height=1 width=2 alt="spacer"></td>
-  <td>
-    <font size=-1>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/links.phtml">Related Financial Software</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/articles.phtml">GnuCash in the News</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/promote.phtml">GnuCash Banners!</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/history.phtml">History &amp; Credits</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/quiz-results.phtml">Survey Results</a><br>
-
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="/en/sizing.phtml">Sizing</a><br>
-    
-    <img src="/images/webding.png" height=8 width=8 border=0 alt="dot">&nbsp;
-    <a href="http://www.gnucash.org/en/rss-feed.phtml"><img src="/images/rss.gif" align="center"></a>
-
-    </font>
-
-  </td>
-  </tr>
-  </table>
+<span class="linktop">
+<img class="dot" src="/images/webding.png" alt="marker">
+<b>Other Information</b>
+</span>
+<ul>
+<li><a href="/en/links.phtml">Related Financial Software</a></li>
+<li><a href="/en/articles.phtml">GnuCash in the News</a></li>
+<li><a href="/en/promote.phtml">GnuCash Banners!</a></li>
+<li><a href="/en/history.phtml">History &amp; Credits</a></li>
+<li><a href="/en/quiz-results.phtml">Survey Results</a></li>
+<li><a href="/en/sizing.phtml">Sizing</a></li>
+<li><a href="/en/rss-feed.phtml">
+<img src="/images/rss.gif" alt="rss logo"></a></li>
+</ul>

Modified: htdocs/trunk/en/menu/menu-search.phtml
===================================================================
--- htdocs/trunk/en/menu/menu-search.phtml	2006-01-17 18:57:49 UTC (rev 12832)
+++ htdocs/trunk/en/menu/menu-search.phtml	2006-01-17 18:58:19 UTC (rev 12833)
@@ -1,19 +1,13 @@
-  <table border=0 cellpadding=0 cellspacing=6>
-  <tr>
-  <td><img src="/images/spacer.gif" height=1 width=2 alt="spacer"></td>
-  <td>
-
-      <form action="/en/search.phtml" method="get" enctype="application/x-www-form-urlencoded">
-      <input type=text name=words size=15>
-      <br><font size="-2">Sort method:</font>
-      <select name="sort">
-      <option value="sort">Standard
-      <option value="time">Time
-      <option value="revtime">Time (reversed)
-      </select>
-      </form>
-
-
-  </td>
-  </tr>
-  </table>
+<div style="position:relative;top:0;left:1em;margin:1em;">
+<form action="/en/search.phtml" method="get"
+enctype="application/x-www-form-urlencoded">
+<span>Search:</span>
+<input type="text" name="words" size="15"><br>
+<br><font size="-2">Sort method:</font>
+<select name="sort">
+<option value="sort">Standard
+<option value="time">Time
+<option value="revtime">Time (reversed)
+</select>
+</form>
+</div>
\ No newline at end of file



More information about the gnucash-changes mailing list