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.26,1.27


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: admin index.php,1.26,1.27
Date: Sat, 29 Jun 2002 11:59:39 -0400

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

Modified Files:
        index.php 
Log Message:
GNU Patch #379.

Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/index.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** index.php   12 Jan 2002 01:32:13 -0000      1.26
--- index.php   29 Jun 2002 15:59:37 -0000      1.27
***************
*** 20,26 ****
  
        $GLOBALS['admin_tpl'] = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
!       $GLOBALS['admin_tpl']->set_file(array(
!               'admin' => 'index.tpl'
!       ));
  
        $GLOBALS['admin_tpl']->set_block('admin','list');
--- 20,28 ----
  
        $GLOBALS['admin_tpl'] = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
!       $GLOBALS['admin_tpl']->set_file(
!               Array(
!                       'admin' => 'index.tpl'
!               )
!       );
  
        $GLOBALS['admin_tpl']->set_block('admin','list');
***************
*** 47,51 ****
                {
                        
$GLOBALS['admin_tpl']->parse('rows','app_row_noicon',True);
!               } 
        }
  
--- 49,53 ----
                {
                        
$GLOBALS['admin_tpl']->parse('rows','app_row_noicon',True);
!               }
        }
  
***************
*** 55,59 ****
                $GLOBALS['admin_tpl']->set_var('pref_text',$pref_text);
                $GLOBALS['admin_tpl']->parse('rows','link_row',True);
!       } 
  
        function section_end()
--- 57,61 ----
                $GLOBALS['admin_tpl']->set_var('pref_text',$pref_text);
                $GLOBALS['admin_tpl']->parse('rows','link_row',True);
!       }
  
        function section_end()
***************
*** 64,77 ****
        function display_section($appname,$title,$file)
        {
!               section_start($title,$GLOBALS['phpgw']->common->image($appname,
!                               Array('navbar',$appname,'nonav')
!                       ),$appname
!               );
! 
!               while(list($text,$url) = each($file))
                {
!                       section_item($url,lang($text));
                }
-               section_end(); 
        }
  
--- 66,89 ----
        function display_section($appname,$title,$file)
        {
!               if(is_array($file))
                {
!                       section_start($title,
!                               $GLOBALS['phpgw']->common->image(
!                                       $appname,
!                                       Array(
!                                               'navbar',
!                                               $appname,
!                                               'nonav'
!                                       )
!                               ),
!                               $appname
!                       );
! 
!                       while(list($text,$url) = each($file))
!                       {
!                               section_item($url,lang($text));
!                       }
!                       section_end();
                }
        }
  




reply via email to

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