[freenet-cvs] r14580 - trunk/website/pages/en

nextgens at freenetproject.org nextgens at freenetproject.org
Fri Aug 10 20:47:10 UTC 2007


Author: nextgens
Date: 2007-08-10 20:47:09 +0000 (Fri, 10 Aug 2007)
New Revision: 14580

Modified:
   trunk/website/pages/en/menu.php
Log:
website: implement #1587: Documentation sub-pages should show the documentation page list

Modified: trunk/website/pages/en/menu.php
===================================================================
--- trunk/website/pages/en/menu.php	2007-08-10 17:51:05 UTC (rev 14579)
+++ trunk/website/pages/en/menu.php	2007-08-10 20:47:09 UTC (rev 14580)
@@ -73,11 +73,11 @@
 	}
 	else
 	{
-		if ("$page" == '/documentation') {
+		if ("$page" == '/documentation' || in_array("$page", $menus["sub1"])) {
 			showMenu($menus["$title"]);
 		}
 		
-		if ("$page" == '/developer') {
+		if ("$page" == '/developer' || in_array("$page", $menus["sub2"])) {
 			showMenu($menus["$title"]);
 		}
 	}




More information about the cvs mailing list