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

nextgens at freenetproject.org nextgens at freenetproject.org
Thu May 10 19:05:03 UTC 2007


Author: nextgens
Date: 2007-05-10 19:05:03 +0000 (Thu, 10 May 2007)
New Revision: 13207

Modified:
   trunk/website/pages/en/menu.php
Log:
website: de-obfuscate the code (again)

Modified: trunk/website/pages/en/menu.php
===================================================================
--- trunk/website/pages/en/menu.php	2007-05-10 19:01:38 UTC (rev 13206)
+++ trunk/website/pages/en/menu.php	2007-05-10 19:05:03 UTC (rev 13207)
@@ -31,7 +31,7 @@
 		'Tools' 			=> '/tools',
 		'Papers' 			=> '/papers',
 		'People' 			=> '/people' 
-		);
+);
 
 function lnk($text, $link) {
 	echo '<li><a href="'.$link.'">'.$text.'</a></li>';
@@ -54,9 +54,7 @@
 	//far away from perfect but better than nothing!
 	//  if(!ereg("^A-Za-z0-9_-]+$",$link)){ echo "Nice try !"; exit();}
 	if ($link == $page) {
-		?>
-			<li><span style="font-weight: 800; background:#eee;"><?=$text ?></span></li>
-			<?
+		echo '<li><span style="font-weight: 800; background:#eee;">'.$text.'</span></li>';
 	} else {
 		lnk($text, $link.".html");
 	}




More information about the cvs mailing list