[Tickets #7200] tab links doesn't work
    bugs at horde.org 
    bugs at horde.org
       
    Wed Aug 13 21:04:43 UTC 2008
    
    
  
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/7200
------------------------------------------------------------------------------
  Ticket             | 7200
  Created By         | agerhard at usp.br
  Summary            | tab links doesn't work
  Queue              | DIMP
  Version            | 1.0
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------
agerhard at usp.br (2008-08-13 17:04) wrote:
When I add additional menus in config/menu.php, for use with DIMP  
tabs, the links of this
menu items are not generated correctly and doesn't work.
I think I found the bug. The file involved is:
dimp-h3-1.0/templates/index/index.inc
The problem is the variable $key, that appears in line 143 but is not  
included in the foreach
interation in line 141 (as it should be, like in line 100). So $key  
always assumes the last
value, and this is not correct.
Line 141 should be:
  <?php foreach ($site_menu as $key => $menu_item): if ($menu_item ==  
'separator') continue; ?>
and not
  <?php foreach ($site_menu as $menu_item): if ($menu_item ==  
'separator') continue; ?>
RC1 also has the same problem.
Andre Gerhard
Universidade de Sao Paulo
    
    
More information about the bugs
mailing list