Update of /cvsroot/devil-linux/web
In directory sc8-pr-cvs1:/tmp/cvs-serv2162
Modified Files:
menu.shtml
Log Message:
make the menu show the current position in the website by disabling the currently selected page in the menu
Index: menu.shtml
===================================================================
RCS file: /cvsroot/devil-linux/web/menu.shtml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- menu.shtml 2 Jan 2004 00:56:56 -0000 1.9
+++ menu.shtml 2 Jan 2004 02:19:45 -0000 1.10
@@ -1,18 +1,18 @@
-<p class="menu"><a href="/" style="text-decoration:none;"><img style="border: 0px solid; width: 88px; height: 97px;" ALT="" src="/images/logos/devil-small-transparent.png"></a><br><a href="/">Home</a></p>
-<p class="menu"><a href="/news/">News</a></p>
-<p class="menu"><a href="/about/">About DL</a></p>
-<p class="menu"><a href="/documentation/">Documentation</a></p>
+<p class="menu"><!--#if expr="${SECTION}" --><a href="/" style="text-decoration:none;"><!--#endif --><img style="border: 0px solid; width: 88px; height: 97px;" ALT="" src="/images/logos/devil-small-transparent.png"><!--#if expr="${SECTION}" --></a><!--#endif --><br><!--#if expr="${SECTION}" --><a href="/"><!--#endif -->Home<!--#if expr="${SECTION}" --></a><!--#endif --></p>
+<p class="menu"><!--#if expr="${SECTION} != news" --><a href="/news/"><!--#endif -->News<!--#if expr="${SECTION} != news" --></a><!--#endif --></p>
+<p class="menu"><!--#if expr="${SECTION} != about" --><a href="/about/"><!--#endif -->About DL<!--#if expr="${SECTION} != about" --></a><!--#endif --></p>
+<p class="menu"><!--#if expr="${SECTION} != documentation" --><a href="/documentation/"><!--#endif -->Documentation<!--#if expr="${SECTION} != documentation" --></a><!--#endif --></p>
<!--#if expr="${SECTION} = /^documentation/" -->
-<p class="gray"> <a href="/documentation/1.0.x/">Version 1.0.x</a></p>
-<p class="gray"> <a href="/documentation/1.1.x/">Version 1.1.x</a></p>
+<p class="menu"> <!--#if expr="${SECTION} != /1\.0\.x$/" --><a href="/documentation/1.0.x/"><!--#endif -->Version 1.0.x<!--#if expr="${SECTION} != /1\.0\.x$/" --></a><!--#endif --></p>
+<p class="menu"> <!--#if expr="${SECTION} != /1\.1\.x$/" --><a href="/documentation/1.1.x/"><!--#endif -->Version 1.1.x<!--#if expr="${SECTION} != /1\.1\.x$/" --></a><!--#endif --></p>
<!--#endif -->
<p class="gray"><!--<a href="download.htm">-->Download<!--</a>--></p>
<p class="gray"><!--<a href="/mailinglist.htm">-->Mailinglists<!--</a>--></p>
-<p class="menu"><a href="/sponsors/">Sponsors</a></p>
+<p class="menu"><!--#if expr="${SECTION} != sponsors" --><a href="/sponsors/"><!--#endif -->Sponsors<!--#if expr="${SECTION} != sponsors" --></a><!--#endif --></p>
<p class="gray"><!--<a href="articles.htm">-->Articles<!--</a>--></p>
<p class="gray"><!--<a href="/poll/results.php">-->Polls<!--</a>--></p>
<p class="gray"><!--<a href="links.htm">-->Links<!--</a>--></p>
-<p class="menu"><a href="/donations/">Donate</a></p>
+<p class="menu"><!--#if expr="${SECTION} != donations" --><a href="/donations/"><!--#endif -->Donate<!--#if expr="${SECTION} != donations" --></a><!--#endif --></p>
<p class="gray"><!--<a href="/ordercd.htm">-->Order CD<!--</a>--></p>
<p><hr style="height: 2px; width: 88px; margin-left: 0px; margin-right: auto;"></p>
<p><a href="http://sourceforge.net"><img
|