phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: news_admin/inc class.uiadmin.inc.php,1.12.2.4,1


From: Dave Hall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: news_admin/inc class.uiadmin.inc.php,1.12.2.4,1.12.2.5 class.uinews.inc.php,1.10.2.7,1.10.2.8
Date: Fri, 04 Jul 2003 09:10:36 -0400

Update of /cvsroot/phpgroupware/news_admin/inc
In directory subversions:/tmp/cvs-serv5662

Modified Files:
      Tag: Version-0_9_14-branch
        class.uiadmin.inc.php class.uinews.inc.php 
Log Message:
php3 compliance fix

Index: class.uiadmin.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/inc/Attic/class.uiadmin.inc.php,v
retrieving revision 1.12.2.4
retrieving revision 1.12.2.5
diff -C2 -r1.12.2.4 -r1.12.2.5
*** class.uiadmin.inc.php       19 Mar 2003 21:03:09 -0000      1.12.2.4
--- class.uiadmin.inc.php       4 Jul 2003 13:10:34 -0000       1.12.2.5
***************
*** 54,60 ****
  
                        
$GLOBALS['phpgw']->template->set_root($GLOBALS['phpgw']->common->get_tpl_dir('news_admin'));
!                       $GLOBALS['phpgw']->template->set_file(array(
!                               '_news' => 'news.tpl',
!                       ));
                        
$GLOBALS['phpgw']->template->set_block('_news','news_form');
                        $GLOBALS['phpgw']->template->set_block('_news','row');
--- 54,58 ----
  
                        
$GLOBALS['phpgw']->template->set_root($GLOBALS['phpgw']->common->get_tpl_dir('news_admin'));
!                       $GLOBALS['phpgw']->template->set_file('_news', 
'news.tpl');
                        
$GLOBALS['phpgw']->template->set_block('_news','news_form');
                        $GLOBALS['phpgw']->template->set_block('_news','row');
***************
*** 78,84 ****
  
                        $this->common_header();
!                       $GLOBALS['phpgw']->template->set_file(array(
!                               'form' => 'admin_delete.tpl'
!                       ));
                        
$GLOBALS['phpgw']->template->set_var('lang_message',lang('Are you sure you want 
to delete this entry ?'));
                        
$GLOBALS['phpgw']->template->set_var('lang_yes',lang('Yes'));
--- 76,80 ----
  
                        $this->common_header();
!                       
$GLOBALS['phpgw']->template->set_file('form','admin_delete.tpl');
                        
$GLOBALS['phpgw']->template->set_var('lang_message',lang('Are you sure you want 
to delete this entry ?'));
                        
$GLOBALS['phpgw']->template->set_var('lang_yes',lang('Yes'));
***************
*** 120,126 ****
                        $this->common_header();
  
!                       $GLOBALS['phpgw']->template->set_file(array(
!                               'form' => 'admin_form.tpl'
!                       ));
  
                        if (is_array($errors))
--- 116,120 ----
                        $this->common_header();
  
!                       $GLOBALS['phpgw']->template->set_file('form', 
'admin_form.tpl');
  
                        if (is_array($errors))
***************
*** 193,199 ****
                        $this->common_header();
  
!                       $GLOBALS['phpgw']->template->set_file(array(
!                               'form' => 'admin_form.tpl'
!                       ));
  
                        if(is_array($errors))
--- 187,191 ----
                        $this->common_header();
  
!                       $GLOBALS['phpgw']->template->set_file('form', 
'admin_form.tpl');
  
                        if(is_array($errors))
***************
*** 280,286 ****
                        $this->save_session_data();
  
!                       $GLOBALS['phpgw']->template->set_file(array(
!                               '_list' => 'admin_list.tpl'
!                       ));
                        $GLOBALS['phpgw']->template->set_block('_list','list');
                        $GLOBALS['phpgw']->template->set_block('_list','row');
--- 272,276 ----
                        $this->save_session_data();
  
!                       $GLOBALS['phpgw']->template->set_file('_list', 
'admin_list.tpl');
                        $GLOBALS['phpgw']->template->set_block('_list','list');
                        $GLOBALS['phpgw']->template->set_block('_list','row');

Index: class.uinews.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/inc/Attic/class.uinews.inc.php,v
retrieving revision 1.10.2.7
retrieving revision 1.10.2.8
diff -C2 -r1.10.2.7 -r1.10.2.8
*** class.uinews.inc.php        4 Jul 2003 12:14:20 -0000       1.10.2.7
--- class.uinews.inc.php        4 Jul 2003 13:10:34 -0000       1.10.2.8
***************
*** 68,74 ****
                        if($total)
                        {
!                       $this->template->set_file(array(
!                               '_news' => 'news.tpl'
!                       ));
                        $this->template->set_block('_news','news_form');
                        $this->template->set_block('_news','row');
--- 68,72 ----
                        if($total)
                        {
!                       $this->template->set_file('_news', 'news.tpl');
                        $this->template->set_block('_news','news_form');
                        $this->template->set_block('_news','row');
***************
*** 194,200 ****
                        }
  
!                       $this->template->set_file(array(
!                               '_news' => 'news_' . $section . '.tpl'
!                       ));
                        $this->template->set_block('_news','news_form');
                        $this->template->set_block('_news','row');
--- 192,196 ----
                        }
  
!                       $this->template->set_file('_news', ('news_' . $section 
. '.tpl'));
                        $this->template->set_block('_news','news_form');
                        $this->template->set_block('_news','row');





reply via email to

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