Author: lesabotsy
Date: Wed Apr 25 07:14:35 2007
New Revision: 358

URL: http://svn.gna.org/viewcvs/phplinker?rev=358&view=rev
Log:
modification des indicateurs pour la navigation

Modified:
    trunk/www/admin/includes/header.php

Modified: trunk/www/admin/includes/header.php
URL: 
http://svn.gna.org/viewcvs/phplinker/trunk/www/admin/includes/header.php?rev=358&r1=357&r2=358&view=diff
==============================================================================
--- trunk/www/admin/includes/header.php (original)
+++ trunk/www/admin/includes/header.php Wed Apr 25 07:14:35 2007
@@ -39,8 +39,10 @@
 
   $on = '/admin/imgs/buttons/'.urlencode($elname).'_on_main.png';
   $off = '/admin/imgs/buttons/'.urlencode($elname).'_off_main.png';
-
-  if($_SERVER['REQUEST_URI']==$data['url'])
+$pos = strpos($_SERVER['REQUEST_URI'],$data['url']);
+  if($pos === false)
+    $nothing = 0;
+  else
     $off='/admin/imgs/buttons/'.urlencode($elname).'_selected_main.png';
 
   $buttons1.=sprintf( '<a class="bouton" href="%s"><img 
onMouseOver="this.src=\'%s\';" onMouseOut="this.src=\'%s\';" src="%s" border=0 
/></a>',


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

Reply via email to