[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: preferences index.php,1.27,1.28
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: preferences index.php,1.27,1.28 |
Date: |
Sun, 03 Nov 2002 19:50:20 -0500 |
Update of /cvsroot/phpgroupware/preferences
In directory subversions:/tmp/cvs-serv6387/preferences
Modified Files:
index.php
Log Message:
update prefs to use lang() instead
Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/preferences/index.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** index.php 26 Oct 2002 15:22:06 -0000 1.27
--- index.php 4 Nov 2002 00:50:18 -0000 1.28
***************
*** 3,8 ****
* phpGroupWare - preferences
*
* http://www.phpgroupware.org
*
! * Written by Joseph Engo <address@hidden> *
! * --------------------------------------------
*
* This program is free software; you can redistribute it and/or modify
it *
* under the terms of the GNU General Public License as published by
the *
--- 3,8 ----
* phpGroupWare - preferences
*
* http://www.phpgroupware.org
*
! * Written by phpGroupWare coreteam <address@hidden> *
! * ------------------------------------------------------------------
*
* This program is free software; you can redistribute it and/or modify
it *
* under the terms of the GNU General Public License as published by
the *
***************
*** 79,89 ****
// This func called by the includes to dump a row header
! function section_start($name='',$icon='',$appname='')
{
$GLOBALS['pref_tpl']->set_var('icon_backcolor',$GLOBALS['phpgw_info']['theme']['row_off']);
//
$GLOBALS['pref_tpl']->set_var('link_backcolor',$GLOBALS['phpgw_info']['theme']['row_off']);
! $GLOBALS['pref_tpl']->set_var('a_name',$appname);
! $GLOBALS['pref_tpl']->set_var('app_name',lang($name));
$GLOBALS['pref_tpl']->set_var('app_icon',$icon);
if ($icon)
{
--- 79,90 ----
// This func called by the includes to dump a row header
! function section_start($appname='',$icon='')
{
$GLOBALS['pref_tpl']->set_var('icon_backcolor',$GLOBALS['phpgw_info']['theme']['row_off']);
//
$GLOBALS['pref_tpl']->set_var('link_backcolor',$GLOBALS['phpgw_info']['theme']['row_off']);
! $GLOBALS['pref_tpl']->set_var('app_name',$appname);
! $GLOBALS['pref_tpl']->set_var('app_title',lang($appname));
$GLOBALS['pref_tpl']->set_var('app_icon',$icon);
+
if ($icon)
{
***************
*** 117,123 ****
}
! function display_section($appname,$title,$file)
{
!
section_start($title,$GLOBALS['phpgw']->common->image($appname,'navbar'),$appname);
while(list($text,$url) = each($file))
--- 118,124 ----
}
! function display_section($appname,$file)
{
!
section_start($appname,$GLOBALS['phpgw']->common->image($appname,'navbar','',True));
while(list($text,$url) = each($file))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: preferences index.php,1.27,1.28,
Bettina Gille <address@hidden> <=