phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/templates/verdilak navbar.inc.php,1.27


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

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

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/verdilak/Attic/navbar.inc.php,v
retrieving revision 1.27.2.6
retrieving revision 1.27.2.7
diff -C2 -r1.27.2.6 -r1.27.2.7
*** navbar.inc.php      22 Mar 2003 12:07:51 -0000      1.27.2.6
--- navbar.inc.php      1 Jul 2003 22:02:52 -0000       1.27.2.7
***************
*** 26,44 ****
                $var['navbar_text'] = 
$GLOBALS['phpgw_info']['theme']['navbar_text'];
                $applications = '';
!               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')
                        {
                                if 
($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format'] != 
'text')
                                {
!                                       $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')
                                {
!                                       $title .= '<br>' . $app[1]['title'];
                                }
!                               $applications .= '<br><a href="' . 
$app[1]['url'] . '"';
                                if 
(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) &&
                                    
$GLOBALS['phpgw_info']['flags']['navbar_target'])
--- 26,44 ----
                $var['navbar_text'] = 
$GLOBALS['phpgw_info']['theme']['navbar_text'];
                $applications = '';
!               foreach($GLOBALS['phpgw_info']['navbar'] as $app => $app_data)
                {
!                       if ($app != 'home' && $app != 'preferences' && $app != 
'about' && $app != 'logout')
                        {
                                if 
($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format'] != 
'text')
                                {
!                                       $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')
                                {
!                                       $title .= '<br>' . $app_data['title'];
                                }
!                               $applications .= '<br><a href="' . 
$app_data['url'] . '"';
                                if 
(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) &&
                                    
$GLOBALS['phpgw_info']['flags']['navbar_target'])





reply via email to

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