phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: news_admin admin_edit.php,1.2,1.2.2.1


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: news_admin admin_edit.php,1.2,1.2.2.1
Date: Sun, 20 Jan 2002 17:43:01 -0500

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

Modified Files:
      Tag: Version-0_9_14-branch
        admin_edit.php 
Log Message:
update table name



Index: admin_edit.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/admin_edit.php,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -r1.2 -r1.2.2.1
*** admin_edit.php      29 Dec 2001 12:48:10 -0000      1.2
--- admin_edit.php      20 Jan 2002 22:42:59 -0000      1.2.2.1
***************
*** 37,41 ****
                }
                $date = 
mktime($date_hour,$date_min,$date_sec,$date_month,$date_day,$date_year);
!               $GLOBALS['phpgw']->db->query("update webpage_news set 
news_subject='" . addslashes($subject) . "',"
                        . "news_content='" . addslashes($content) . 
"',news_status='$status',news_date='$date' "
                        . "where news_id='$news_id'",__LINE__,__FILE__);
--- 37,41 ----
                }
                $date = 
mktime($date_hour,$date_min,$date_sec,$date_month,$date_day,$date_year);
!               $GLOBALS['phpgw']->db->query("update phpgw_news set 
news_subject='" . addslashes($subject) . "',"
                        . "news_content='" . addslashes($content) . 
"',news_status='$status',news_date='$date' "
                        . "where news_id='$news_id'",__LINE__,__FILE__);
***************
*** 49,53 ****
        ));
  
!       $GLOBALS['phpgw']->db->query("select * from webpage_news where 
news_id='$news_id'",__LINE__,__FILE__);
        $GLOBALS['phpgw']->db->next_record();
  
--- 49,53 ----
        ));
  
!       $GLOBALS['phpgw']->db->query("select * from phpgw_news where 
news_id='$news_id'",__LINE__,__FILE__);
        $GLOBALS['phpgw']->db->next_record();
  




reply via email to

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