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.boadmin.inc.php,1.10,1.11 c


From: Dave Hall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: news_admin/inc class.boadmin.inc.php,1.10,1.11 class.soadmin.inc.php,1.8,1.9 class.uiadmin.inc.php,1.17,1.18
Date: Wed, 19 Mar 2003 16:29:25 -0500

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

Modified Files:
        class.boadmin.inc.php class.soadmin.inc.php 
        class.uiadmin.inc.php 
Log Message:
Fix for Bug #1715 and forgetting cats in edit, delete not working

Index: class.boadmin.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/inc/class.boadmin.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** class.boadmin.inc.php       30 Apr 2002 01:16:27 -0000      1.10
--- class.boadmin.inc.php       19 Mar 2003 21:29:23 -0000      1.11
***************
*** 17,20 ****
--- 17,21 ----
        class boadmin
        {
+               var $public_functions = array('delete'  => True);
                function boadmin()
                {

Index: class.soadmin.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/inc/class.soadmin.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** class.soadmin.inc.php       31 Jan 2002 01:00:51 -0000      1.8
--- class.soadmin.inc.php       19 Mar 2003 21:29:23 -0000      1.9
***************
*** 60,70 ****
  
                        $items = array(
!                               'id'          => $this->db->f('news_id'),
!                               'date'        => $this->db->f('news_date'),
!                               'subject'     => $this->db->f('news_subject'),
!                               'submittedby' => 
$this->db->f('news_submittedby'),
!                               'content'     => $this->db->f('news_content'),
!                               'status'      => $this->db->f('news_status'),
!                               'cat'         => $this->db->f('news_cat')
                        );
                        return $items;
--- 60,70 ----
  
                        $items = array(
!                               'id'            => $this->db->f('news_id'),
!                               'date'          => $this->db->f('news_date'),
!                               'subject'       => $this->db->f('news_subject'),
!                               'submittedby'   => 
$this->db->f('news_submittedby'),
!                               'content'       => $this->db->f('news_content'),
!                               'status'        => $this->db->f('news_status'),
!                               'category'      => $this->db->f('news_cat')
                        );
                        return $items;

Index: class.uiadmin.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/inc/class.uiadmin.inc.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** class.uiadmin.inc.php       3 Oct 2002 23:15:12 -0000       1.17
--- class.uiadmin.inc.php       19 Mar 2003 21:29:23 -0000      1.18
***************
*** 150,154 ****
  
                        
$GLOBALS['phpgw']->template->set_var('label_category',lang('Category') . ':');
!                       
$GLOBALS['phpgw']->template->set_var('value_category','<select 
name="news[category]"><option value="0">' . lang('Main') . '</option>' . 
$this->cats->formated_list('select','mains',$news['category']) . '</select>');
  
                        
$GLOBALS['phpgw']->template->set_var('label_status',lang('Status') . ':');
--- 150,154 ----
  
                        
$GLOBALS['phpgw']->template->set_var('label_category',lang('Category') . ':');
!                       
$GLOBALS['phpgw']->template->set_var('value_category','<select 
name="news[category]"><option value="0">' . lang('Main') . '</option>' . 
$this->cats->formated_list('select','mains',$news['category'], True) . 
'</select>');
  
                        
$GLOBALS['phpgw']->template->set_var('label_status',lang('Status') . ':');
***************
*** 225,229 ****
  
                        
$GLOBALS['phpgw']->template->set_var('label_category',lang('Category') . ':');
!                       
$GLOBALS['phpgw']->template->set_var('value_category','<select 
name="news[category]"><option value="0">' . lang('Main') . '</option>' . 
$this->cats->formated_list('select','mains',$news['category']) . '</select>');
  
                        
$GLOBALS['phpgw']->template->set_var('label_status',lang('Status') . ':');
--- 225,229 ----
  
                        
$GLOBALS['phpgw']->template->set_var('label_category',lang('Category') . ':');
!                       
$GLOBALS['phpgw']->template->set_var('value_category','<select 
name="news[category]"><option value="0">' . lang('Main') . '</option>' . 
$this->cats->formated_list('select','mains',$news['category'], True) . 
'</select>');
  
                        
$GLOBALS['phpgw']->template->set_var('label_status',lang('Status') . ':');
***************
*** 299,303 ****
  
                        
$GLOBALS['phpgw']->template->set_var('form_action',$GLOBALS['phpgw']->link('/index.php','menuaction=news_admin.uiadmin.news_list'));
!                       
$GLOBALS['phpgw']->template->set_var('input_category',$this->cats->formated_list('select','mains',$cat_id));
  
                        
$GLOBALS['phpgw']->template->set_var('header_date',$GLOBALS['phpgw']->nextmatchs->show_sort_order($sort,'news_date',$order,'/index.php',lang('Date'),'&menuaction=news_admin.uiadmin.news_list'));
--- 299,303 ----
  
                        
$GLOBALS['phpgw']->template->set_var('form_action',$GLOBALS['phpgw']->link('/index.php','menuaction=news_admin.uiadmin.news_list'));
!                       
$GLOBALS['phpgw']->template->set_var('input_category',$this->cats->formated_list('select','mains',$cat_id,
 True));
  
                        
$GLOBALS['phpgw']->template->set_var('header_date',$GLOBALS['phpgw']->nextmatchs->show_sort_order($sort,'news_date',$order,'/index.php',lang('Date'),'&menuaction=news_admin.uiadmin.news_list'));





reply via email to

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