[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/templates/idsociety navbar.inc.php,1.3
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/templates/idsociety navbar.inc.php,1.30.2.7,1.30.2.8 |
Date: |
Tue, 01 Jul 2003 18:02:54 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/templates/idsociety
In directory subversions:/tmp/cvs-serv20243/idsociety
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/idsociety/Attic/navbar.inc.php,v
retrieving revision 1.30.2.7
retrieving revision 1.30.2.8
diff -C2 -r1.30.2.7 -r1.30.2.8
*** navbar.inc.php 22 Mar 2003 12:07:51 -0000 1.30.2.7
--- navbar.inc.php 1 Jul 2003 22:02:51 -0000 1.30.2.8
***************
*** 53,66 ****
# echo '<pre>'; print_r($GLOBALS['phpgw_info']['navbar']);
echo '</pre>';
$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')
{
! $title = '<img src="' . $app[1]['icon'] . '"
alt="' . $app[1]['title'] . '" title="'
! . $app[1]['title'] . '" border="0"
name="' . str_replace('-','_',$app[0]) . '">';
! $img_src_over = $app[1]['icon_hover'];
! $img_src_out = $app[1]['icon'];
! $applications .= '<tr><td><a href="' .
$app[1]['url'] . '"';
if
(isset($GLOBALS['phpgw_info']['flags']['navbar_target']))
{
--- 53,66 ----
# echo '<pre>'; print_r($GLOBALS['phpgw_info']['navbar']);
echo '</pre>';
$applications = '';
! 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"
name="' . str_replace('-','_',$app) . '">';
! $img_src_over = $app_data['icon_hover'];
! $img_src_out = $app_data['icon'];
! $applications .= '<tr><td><a href="' .
$app_data['url'] . '"';
if
(isset($GLOBALS['phpgw_info']['flags']['navbar_target']))
{
***************
*** 70,78 ****
if($img_src_over != '')
{
! $applications .= ' onMouseOver="' .
str_replace('-','_',$app[0]) . ".src='" . $img_src_over . '\'"';
}
if($img_src_out != '')
{
! $applications .= ' onMouseOut="' .
str_replace('-','_',$app[0]) . ".src='" . $img_src_out . '\'"';
}
$applications .=
'>'.$title.'</a></td></tr>'."\r\n";
--- 70,78 ----
if($img_src_over != '')
{
! $applications .= ' onMouseOver="' .
str_replace('-','_',$app) . ".src='" . $img_src_over . '\'"';
}
if($img_src_out != '')
{
! $applications .= ' onMouseOut="' .
str_replace('-','_',$app) . ".src='" . $img_src_out . '\'"';
}
$applications .=
'>'.$title.'</a></td></tr>'."\r\n";
***************
*** 80,84 ****
else
{
! $img_src_over =
$GLOBALS['phpgw']->common->image_on($app[0],Array('navbar','nonav'),'-over');
}
if($img_src_over != '')
--- 80,84 ----
else
{
! $img_src_over =
$GLOBALS['phpgw']->common->image_on($app,Array('navbar','nonav'),'-over');
}
if($img_src_over != '')
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/templates/idsociety navbar.inc.php,1.30.2.7,1.30.2.8,
Ralf Becker <address@hidden> <=