[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: news_admin/inc class.boadmin.inc.php,1.9,1.10 cl
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: news_admin/inc class.boadmin.inc.php,1.9,1.10 class.uiadmin.inc.php,1.15,1.16 class.uinews.inc.php,1.13,1.14 |
Date: |
Mon, 29 Apr 2002 21:16:29 -0400 |
Update of /cvsroot/phpgroupware/news_admin/inc
In directory subversions:/tmp/cvs-serv17237/inc
Modified Files:
class.boadmin.inc.php class.uiadmin.inc.php
class.uinews.inc.php
Log Message:
Converting to get_var() for all HTTP_*_VARS.
Index: class.boadmin.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/inc/class.boadmin.inc.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** class.boadmin.inc.php 30 Jan 2002 04:29:16 -0000 1.9
--- class.boadmin.inc.php 30 Apr 2002 01:16:27 -0000 1.10
***************
*** 24,28 ****
function delete()
{
! $news_id = $GLOBALS['HTTP_POST_VARS']['news_id'] ?
$GLOBALS['HTTP_POST_VARS']['news_id'] : $GLOBALS['HTTP_GET_VARS']['news_id'];
$this->so->delete($news_id);
--- 24,28 ----
function delete()
{
! $news_id = get_var('news_id',Array('GET','POST'));
$this->so->delete($news_id);
Index: class.uiadmin.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/inc/class.uiadmin.inc.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** class.uiadmin.inc.php 30 Jan 2002 04:29:16 -0000 1.15
--- class.uiadmin.inc.php 30 Apr 2002 01:16:27 -0000 1.16
***************
*** 49,53 ****
function view()
{
! $news_id = $GLOBALS['HTTP_POST_VARS']['news_id'] ?
$GLOBALS['HTTP_POST_VARS']['news_id'] : $GLOBALS['HTTP_GET_VARS']['news_id'];
$this->common_header();
--- 49,53 ----
function view()
{
! $news_id = get_var('news_id',Array('GET','POST'));
$this->common_header();
***************
*** 74,79 ****
function delete()
{
! $news_id = $GLOBALS['HTTP_POST_VARS']['news_id'] ?
$GLOBALS['HTTP_POST_VARS']['news_id'] : $GLOBALS['HTTP_GET_VARS']['news_id'];
! $cat_id = $GLOBALS['HTTP_POST_VARS']['cat_id'] ?
$GLOBALS['HTTP_POST_VARS']['cat_id'] : $GLOBALS['HTTP_GET_VARS']['cat_id'];
$this->common_header();
--- 74,79 ----
function delete()
{
! $news_id = get_var('news_id',Array('GET','POST'));
! $cat_id = get_var('cat_id',Array('GET','POST'));
$this->common_header();
***************
*** 93,100 ****
function add($errors = '')
{
! $news = $GLOBALS['HTTP_POST_VARS']['news'];
! $submit = $GLOBALS['HTTP_POST_VARS']['submit'];
! if($GLOBALS['HTTP_POST_VARS']['cancel'])
{
Header('Location: ' .
$GLOBALS['phpgw']->link('/index.php','menuaction=news_admin.uiadmin.news_list'));
--- 93,100 ----
function add($errors = '')
{
! $news = get_var('news',Array('POST'));
! $submit = get_var('submit',Array('POST'));
! if(get_var('cancel',Array('POST')))
{
Header('Location: ' .
$GLOBALS['phpgw']->link('/index.php','menuaction=news_admin.uiadmin.news_list'));
***************
*** 162,169 ****
function edit($errors = '')
{
! $news = $GLOBALS['HTTP_POST_VARS']['news'];
! $news_id = $GLOBALS['HTTP_GET_VARS']['news_id'];
! if($GLOBALS['HTTP_POST_VARS']['cancel'])
{
Header('Location: ' .
$GLOBALS['phpgw']->link('/index.php','menuaction=news_admin.uiadmin.news_list'));
--- 162,169 ----
function edit($errors = '')
{
! $news = get_var('news',Array('POST'));
! $news_id = get_var('news_id',Array('GET'));
! if(get_var('cancel',Array('POST')))
{
Header('Location: ' .
$GLOBALS['phpgw']->link('/index.php','menuaction=news_admin.uiadmin.news_list'));
***************
*** 237,243 ****
function news_list($message = '')
{
! $news_id = $GLOBALS['HTTP_POST_VARS']['news_id'] ?
$GLOBALS['HTTP_POST_VARS']['news_id'] : $GLOBALS['HTTP_GET_VARS']['news_id'];
! $sort = $GLOBALS['HTTP_POST_VARS']['sort'] ?
$GLOBALS['HTTP_POST_VARS']['sort'] : $GLOBALS['HTTP_GET_VARS']['sort'];
! $cat_id = $GLOBALS['HTTP_POST_VARS']['cat_id'] ?
$GLOBALS['HTTP_POST_VARS']['cat_id'] : $GLOBALS['HTTP_GET_VARS']['cat_id'];
$this->common_header();
--- 237,243 ----
function news_list($message = '')
{
! $news_id = get_var('news_id',Array('GET','POST'));
! $sort = get_var('sort',Array('GET','POST'));
! $cat_id = get_var('cat_id',Array('GET','POST'));
$this->common_header();
Index: class.uinews.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/inc/class.uinews.inc.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** class.uinews.inc.php 11 Feb 2002 03:25:59 -0000 1.13
--- class.uinews.inc.php 30 Apr 2002 01:16:27 -0000 1.14
***************
*** 35,39 ****
global $cat_id, $start, $category_list, $oldnews;
! $news_id = $GLOBALS['HTTP_GET_VARS']['news_id'];
if($news_id)
--- 35,39 ----
global $cat_id, $start, $category_list, $oldnews;
! $news_id = get_var('news_id',Array('GET'));
if($news_id)
***************
*** 176,180 ****
global $cat_id, $start, $oldnews;
! $news_id = $GLOBALS['HTTP_GET_VARS']['news_id'];
if($news_id)
--- 176,180 ----
global $cat_id, $start, $oldnews;
! $news_id = get_var('news_id',Array('GET'));
if($news_id)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: news_admin/inc class.boadmin.inc.php,1.9,1.10 class.uiadmin.inc.php,1.15,1.16 class.uinews.inc.php,1.13,1.14,
Mark A Peters <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: notes/inc hook_deleteaccount.inc.php,1.1,1.2
- Next by Date:
[Phpgroupware-cvs] CVS: headlines/inc hook_website_left.inc.php,1.2,1.3 hook_website_right.inc.php,1.4,1.5
- Previous by thread:
[Phpgroupware-cvs] CVS: notes/inc hook_deleteaccount.inc.php,1.1,1.2
- Next by thread:
[Phpgroupware-cvs] CVS: headlines/inc hook_website_left.inc.php,1.2,1.3 hook_website_right.inc.php,1.4,1.5
- Index(es):