phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: preferences index.php,1.30,1.31


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: preferences index.php,1.30,1.31
Date: Thu, 27 Mar 2003 05:54:57 -0500

Update of /cvsroot/phpgroupware/preferences
In directory subversions:/tmp/cvs-serv2029

Modified Files:
        index.php 
Log Message:
changed to use title generated by applications-class, 
added a 3-param to display_section to be compatible with old-style-apps


Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/preferences/index.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** index.php   15 Nov 2002 00:18:55 -0000      1.30
--- index.php   27 Mar 2003 10:54:55 -0000      1.31
***************
*** 76,80 ****
        {
                $GLOBALS['phpgw']->template->set_var('app_name',$appname);
!               
$GLOBALS['phpgw']->template->set_var('app_title',lang($appname));
                $GLOBALS['phpgw']->template->set_var('app_icon',$icon);
  
--- 76,80 ----
        {
                $GLOBALS['phpgw']->template->set_var('app_name',$appname);
!               
$GLOBALS['phpgw']->template->set_var('app_title',$GLOBALS['phpgw_info']['apps'][$appname]['title']);
                $GLOBALS['phpgw']->template->set_var('app_icon',$icon);
  
***************
*** 110,115 ****
        }
  
!       function display_section($appname,$file)
        {
                
section_start($appname,$GLOBALS['phpgw']->common->image($appname,'navbar','',True));
  
--- 110,119 ----
        }
  
!       function display_section($appname,$file,$file2=False)
        {
+               if ($file2)
+               {
+                       $file = $file2;
+               }
                
section_start($appname,$GLOBALS['phpgw']->common->image($appname,'navbar','',True));
  





reply via email to

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