phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: admin index.php,1.34,1.35


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: admin index.php,1.34,1.35
Date: Thu, 27 Mar 2003 06:06:35 -0500

Update of /cvsroot/phpgroupware/admin
In directory subversions:/tmp/cvs-serv3598

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/admin/index.php,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -r1.34 -r1.35
*** index.php   15 Nov 2002 00:18:38 -0000      1.34
--- index.php   27 Mar 2003 11:06:33 -0000      1.35
***************
*** 31,35 ****
        function section_start($appname='',$icon='')
        {
!               
$GLOBALS['phpgw']->template->set_var('app_title',lang($appname));
                $GLOBALS['phpgw']->template->set_var('app_name',$appname);
                $GLOBALS['phpgw']->template->set_var('app_icon',$icon);
--- 31,35 ----
        function section_start($appname='',$icon='')
        {
!               
$GLOBALS['phpgw']->template->set_var('app_title',$GLOBALS['phpgw_info']['apps'][$appname]['title']);
                $GLOBALS['phpgw']->template->set_var('app_name',$appname);
                $GLOBALS['phpgw']->template->set_var('app_icon',$icon);
***************
*** 56,61 ****
        }
  
!       function display_section($appname,$file)
        {
                if(is_array($file))
                {
--- 56,65 ----
        }
  
!       function display_section($appname,$file,$file2=False)
        {
+               if ($file2)
+               {
+                       $file = $file2;
+               }
                if(is_array($file))
                {





reply via email to

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