phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/templates/justweb navbar.inc.php,1.20.


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/justweb navbar.inc.php,1.20.2.3,1.20.2.4
Date: Tue, 01 Jul 2003 18:02:54 -0400

Update of /cvsroot/phpgroupware/phpgwapi/templates/justweb
In directory subversions:/tmp/cvs-serv20243/justweb

Modified Files:
      Tag: Version-0_9_14-branch
        navbar.inc.php 
Log Message:
fixed the additional about icon in the navbar


Index: navbar.inc.php
===================================================================
RCS file: 
/cvsroot/phpgroupware/phpgwapi/templates/justweb/Attic/navbar.inc.php,v
retrieving revision 1.20.2.3
retrieving revision 1.20.2.4
diff -C2 -r1.20.2.3 -r1.20.2.4
*** navbar.inc.php      22 Mar 2003 12:07:51 -0000      1.20.2.3
--- navbar.inc.php      1 Jul 2003 22:02:52 -0000       1.20.2.4
***************
*** 30,44 ****
                }
  
!               while ($app = each($GLOBALS['phpgw_info']['navbar']))
                {
!                       if ($app[1]['title'] != "Home" && $app[1]['title'] != 
'preferences' && ! ereg('About',$app[1]['title']) && $app[1]['title'] != 
'Logout')
                        {
!                               $title = '<img src="' . $app[1]['icon'] . '" 
alt="' . $app[1]['title'] . '" title="'
!                                       . $app[1]['title'] . '" border="0">';
                                if 
($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format'] == 
'icons_and_text')
                                {
!                                       $title .= '<br>' . $app[1]['title'];
                                }
!                               $applications .= '<br><a href="' . 
$app[1]['url'] . '"' . $target . '>' . $title . '</a>';
                        }
                }
--- 30,44 ----
                }
  
!               foreach($GLOBALS['phpgw_info']['navbar'] as $app => $app_data)
                {
!                       if ($app != 'home' && $app != 'preferences' && $app != 
'about' && $app != 'logout')
                        {
!                               $title = '<img src="' . $app_data['icon'] . '" 
alt="' . $app_data['title'] . '" title="'
!                                       . $app_data['title'] . '" border="0">';
                                if 
($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format'] == 
'icons_and_text')
                                {
!                                       $title .= '<br>' . $app_data['title'];
                                }
!                               $applications .= '<br><a href="' . 
$app_data['url'] . '"' . $target . '>' . $title . '</a>';
                        }
                }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]