[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: preferences index.php,1.23.2.1,1.23.2.1.2.1
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: preferences index.php,1.23.2.1,1.23.2.1.2.1 |
Date: |
Thu, 27 Mar 2003 05:57:45 -0500 |
Update of /cvsroot/phpgroupware/preferences
In directory subversions:/tmp/cvs-serv2401
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/preferences/index.php,v
retrieving revision 1.23.2.1
retrieving revision 1.23.2.1.2.1
diff -C2 -r1.23.2.1 -r1.23.2.1.2.1
*** index.php 22 Mar 2002 01:38:16 -0000 1.23.2.1
--- index.php 27 Mar 2003 10:57:43 -0000 1.23.2.1.2.1
***************
*** 76,80 ****
// This func called by the includes to dump a row header
! function section_start($name='',$icon='',$appname='')
{
global $pref_tpl;
--- 76,80 ----
// This func called by the includes to dump a row header
! function section_start($appname='',$icon='')
{
global $pref_tpl;
***************
*** 83,87 ****
//
$pref_tpl->set_var('link_backcolor',$GLOBALS['phpgw_info']['theme']['row_off']);
$pref_tpl->set_var('a_name',$appname);
! $pref_tpl->set_var('app_name',lang($name));
$pref_tpl->set_var('app_icon',$icon);
if ($icon)
--- 83,87 ----
//
$pref_tpl->set_var('link_backcolor',$GLOBALS['phpgw_info']['theme']['row_off']);
$pref_tpl->set_var('a_name',$appname);
!
$pref_tpl->set_var('app_name',$GLOBALS['phpgw_info']['apps'][$appname]['title']);
$pref_tpl->set_var('app_icon',$icon);
if ($icon)
***************
*** 120,126 ****
}
! function display_section($appname,$title,$file)
{
!
section_start($title,$GLOBALS['phpgw']->common->image($appname,Array('navbar',$appname)),$appname);
while(list($text,$url) = each($file))
--- 120,130 ----
}
! function display_section($appname,$file,$file2=False)
{
! if ($file2)
! {
! $file = $file2;
! }
!
section_start($appname,$GLOBALS['phpgw']->common->image($appname,Array('navbar',$appname)));
while(list($text,$url) = each($file))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: preferences index.php,1.23.2.1,1.23.2.1.2.1,
Ralf Becker <address@hidden> <=