Author: nextgens
Date: 2007-05-10 18:49:29 +0000 (Thu, 10 May 2007)
New Revision: 13203

Modified:
   trunk/website/pages/en/menu.php
Log:
website: even better like that

Modified: trunk/website/pages/en/menu.php
===================================================================
--- trunk/website/pages/en/menu.php     2007-05-10 18:32:36 UTC (rev 13202)
+++ trunk/website/pages/en/menu.php     2007-05-10 18:49:29 UTC (rev 13203)
@@ -21,7 +21,7 @@
                                'Donate'                        => '/donate',
                                'Sponsors'                      => '/sponsors',
                                'Developer'                     => '/developer',
-                               'sub3'                          => array(       
                        
+                               'sub2'                          => array(       
                        
                                                                                
                'Whats New?'    => 'http://cia.navi.cx/stats/Project/freenet/',
                                                                                
                'Freenet Specs' => 
'http://wiki.freenetproject.org/FreenetSpecifications',
                                                                                
                'Browse SVN'    => 
'http://emu.freenetproject.org/cgi-bin/viewcvs.cgi/trunk/',
@@ -72,23 +72,19 @@
        }
        else
        {
-               if(isset($_GET["$title"]) {
-                               echo '<ul class="submenu">';    
-                               foreach ($link as $subtitle => $sublink) {
+               if(strcmp($title, 'Documentation') || strcmp($title, 
'Developer')) {
+                       echo '<ul class="submenu">';    
+                       foreach ($link as $subtitle => $sublink) {
                                if (strcmp(substr($sublink, 0, 4), 'http')) {
-                               page($subtitle, $sublink);
+                                       page($subtitle, $sublink);
                                } else {
-                               lnk($subtitle, $sublink);
-
-
-                               /*      echo '<li><a 
href="'.$sublink.'">'.$subtitle.'</a></li>'; */
+                                       lnk($subtitle, $sublink);
                                }
-               } else {
-                       echo '<a 
href="?"'.$title.'=show"><small>expand</small></a>';
+                       /*      echo '<li><a 
href="'.$sublink.'">'.$subtitle.'</a></li>'; */
+                       }
                }
        }
        echo '</ul>';
 }
-}
 ?>



Reply via email to