[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: admin index.php,1.26.2.1,1.26.2.1.2.1
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: admin index.php,1.26.2.1,1.26.2.1.2.1 |
Date: |
Thu, 27 Mar 2003 06:06:04 -0500 |
Update of /cvsroot/phpgroupware/admin
In directory subversions:/tmp/cvs-serv3539
Modified Files:
Tag: Version-0_9_16-branch
index.php
Log Message:
changed to use title generated by applications-class,
changed 3-param to display_section to be compatible with new-style-apps
Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/index.php,v
retrieving revision 1.26.2.1
retrieving revision 1.26.2.1.2.1
diff -C2 -r1.26.2.1 -r1.26.2.1.2.1
*** index.php 29 Jun 2002 15:58:37 -0000 1.26.2.1
--- index.php 27 Mar 2003 11:06:02 -0000 1.26.2.1.2.1
***************
*** 35,43 ****
// This func called by the includes to dump a row header
! function section_start($name='',$icon='',$appname='')
{
$GLOBALS['admin_tpl']->set_var('icon_backcolor',$GLOBALS['phpgw_info']['theme']['row_off']);
$GLOBALS['admin_tpl']->set_var('link_backcolor',$GLOBALS['phpgw_info']['theme']['row_off']);
! $GLOBALS['admin_tpl']->set_var('app_name',lang($name));
$GLOBALS['admin_tpl']->set_var('a_name',$appname);
$GLOBALS['admin_tpl']->set_var('app_icon',$icon);
--- 35,43 ----
// This func called by the includes to dump a row header
! function section_start($appname='',$icon='')
{
$GLOBALS['admin_tpl']->set_var('icon_backcolor',$GLOBALS['phpgw_info']['theme']['row_off']);
$GLOBALS['admin_tpl']->set_var('link_backcolor',$GLOBALS['phpgw_info']['theme']['row_off']);
!
$GLOBALS['admin_tpl']->set_var('app_name',$GLOBALS['phpgw_info']['apps'][$appname]['title']);
$GLOBALS['admin_tpl']->set_var('a_name',$appname);
$GLOBALS['admin_tpl']->set_var('app_icon',$icon);
***************
*** 64,72 ****
}
! function display_section($appname,$title,$file)
{
if(is_array($file))
{
! section_start($title,
$GLOBALS['phpgw']->common->image(
$appname,
--- 64,76 ----
}
! function display_section($appname,$file,$file2)
{
+ if ($file2)
+ {
+ $file = $file2;
+ }
if(is_array($file))
{
! section_start($appname,
$GLOBALS['phpgw']->common->image(
$appname,
***************
*** 76,81 ****
'nonav'
)
! ),
! $appname
);
--- 80,84 ----
'nonav'
)
! )
);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: admin index.php,1.26.2.1,1.26.2.1.2.1,
Ralf Becker <address@hidden> <=