Author: rado
Date: Mon Jun  4 14:27:43 2007
New Revision: 500

URL: http://svn.gna.org/viewcvs/phplinker?rev=500&view=rev
Log:


#177 

search keywords in url and url_description

Modified:
    trunk/www/index.php

Modified: trunk/www/index.php
URL: 
http://svn.gna.org/viewcvs/phplinker/trunk/www/index.php?rev=500&r1=499&r2=500&view=diff
==============================================================================
--- trunk/www/index.php (original)
+++ trunk/www/index.php Mon Jun  4 14:27:43 2007
@@ -170,14 +170,17 @@
   $serv = str_replace("/www/index.php","/smarty/",$_SERVER['SCRIPT_FILENAME']);
   $menu_droite= $serv . 
$linker_config['linker_smarty_template']."/templates/MenuDroit.tpl";
 
-if (isset($_GET['find']))
-  linker_tpl("search_value",$_GET['find']);
-
 linker_tpl("subtitle",$subtitle);
 linker_tpl("menu_droite",$menu_droite);
 linker_tpl("server_name",$server_name);
 linker_tpl("navbars" , $navbars);
-linker_tpl("parents",$parents);
+
+if (isset($_GET['find']))
+  linker_tpl("search_value",$_GET['find']);
+
+if (isset($_GET['cat']))
+  linker_tpl("parents",$parents);
+
 linker_tpl("urls" , $urls);
 linker_tpl("pub_selection",$pub_selection);
 


_______________________________________________
PHPLinker-commits mailing list
[email protected]
https://mail.gna.org/listinfo/phplinker-commits

Reply via email to