[m-rev.] diff: www: move Documentation menu to top-level

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Mar 28 22:54:43 AEST 2001


Estimated hours taken: 0.25
Branches: main

w3/include/menubar.inc:
	Move the "Documentation" sub-menu to the top level,
	to make it more visible.

w3/information/documentation.php3:
w3/information/comparison_with_haskell.php3:
	Set $menu to "Documentation" rather than "Information",
	to match the new hierarchy.

Workspace: /mnt/murlibobo/home/mercury0/fjh/mercury
Index: w3/include/menubar.inc
===================================================================
RCS file: /home/mercury1/repository/w3/include/menubar.inc,v
retrieving revision 1.12
diff -u -d -r1.12 menubar.inc
--- w3/include/menubar.inc	2001/03/28 12:28:58	1.12
+++ w3/include/menubar.inc	2001/03/28 12:46:52
@@ -16,29 +16,6 @@
     <a href="<?echo $root?>/information/features.html">Features</a>
     <BR>
    
-    <a href="<?echo $root?>/information/documentation.html">Documentation</a>
-    <BR>
-    <?
-    if($submenu == "Documentation") { 
-    ?>
-	   
-	<a href="<?echo $root?>/tutorial/index.html">Tutorial</a><BR>
-	   
-	<a href="<?echo $root?>/information/doc/reference_manual_toc.html">Reference Manual</a><BR>
-	   
-	<a href="<?echo $root?>/information/doc/user_guide_toc.html">User Guide</a><BR>
-	   
-	<a href="<?echo $root?>/information/doc/library_toc.html">Library Reference</a><BR>
-	   
-	<a href="<?echo $root?>/information/doc/transition_guide_toc.html">cf. Prolog</a><BR>
-	   
-	<a href="<?echo $root?>/information/comparison_with_haskell.html">cf. Haskell</a><BR>
-	   
-	<a href="http://hydra.cs.mu.oz.au/cgi-bin/fom">FAQ</a><BR>
-    <?
-    }
-    ?>
-   
     <a href="<?echo $root?>/information/benchmarks.html">Benchmarks</a>
     <BR>
     <a href="<?echo $root?>/information/papers.html">Papers</a>
@@ -49,6 +26,26 @@
     <BR>
    &nbsp<a href="<?echo $root?>/information/reports.html">Reports</a>
     <BR>
+</SMALL>
+<?
+}
+?>
+
+<P>
+
+<B><a href="<?echo $root?>/information/documentation.html">Documentation</a>
+</B><BR>
+<?
+if($menu == "Documentation") { 
+?>
+<SMALL>
+    <a href="<?echo $root?>/tutorial/index.html">Tutorial</a><BR>
+    <a href="<?echo $root?>/information/doc/reference_manual_toc.html">Reference Manual</a><BR>
+    <a href="<?echo $root?>/information/doc/user_guide_toc.html">User Guide</a><BR>
+    <a href="<?echo $root?>/information/doc/library_toc.html">Library Reference</a><BR>
+    <a href="<?echo $root?>/information/doc/transition_guide_toc.html">cf. Prolog</a><BR>
+    <a href="<?echo $root?>/information/comparison_with_haskell.html">cf. Haskell</a><BR>
+    <a href="http://hydra.cs.mu.oz.au/cgi-bin/fom">FAQ</a><BR>
 </SMALL>
 <?
 }
Index: w3/information/comparison_with_haskell.php3
===================================================================
RCS file: /home/mercury1/repository/w3/information/comparison_with_haskell.php3,v
retrieving revision 1.2
diff -u -d -r1.2 comparison_with_haskell.php3
--- w3/information/comparison_with_haskell.php3	2001/03/23 23:35:25	1.2
+++ w3/information/comparison_with_haskell.php3	2001/03/28 12:46:04
@@ -1,6 +1,6 @@
 <HTML>
 <?
-    $menu="Information";
+    $menu="Documentation";
     $title="Comparing Mercury and Haskell";
     $dir="information";
     $root="..";
Index: w3/information/documentation.php3
===================================================================
RCS file: /home/mercury1/repository/w3/information/documentation.php3,v
retrieving revision 1.2
diff -u -d -r1.2 documentation.php3
--- w3/information/documentation.php3	2001/03/23 23:35:25	1.2
+++ w3/information/documentation.php3	2001/03/28 12:48:11
@@ -1,7 +1,6 @@
 <HTML>
 <?
-    $menu="Information";
-    $submenu="Documentation";
+    $menu="Documentation";
     $title="Documentation";
     $dir="information";
     $root="..";

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list