[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: sitemgr/inc class.Pages_SO.inc.php,1.7,1.8
From: |
Patrick Walsh <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: sitemgr/inc class.Pages_SO.inc.php,1.7,1.8 |
Date: |
Sun, 15 Sep 2002 18:32:37 -0400 |
Update of /cvsroot/phpgroupware/sitemgr/inc
In directory subversions:/tmp/cvs-serv806/inc
Modified Files:
class.Pages_SO.inc.php
Log Message:
Quote proofing stuff. This is probably redundant with phpgw routines.
Index: class.Pages_SO.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Pages_SO.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** class.Pages_SO.inc.php 11 Sep 2002 22:39:28 -0000 1.7
--- class.Pages_SO.inc.php 15 Sep 2002 22:32:35 -0000 1.8
***************
*** 77,85 ****
$page->id = $this->db->f('page_id');
$page->cat_id = $this->db->f('cat_id');
! $page->name = $this->db->f('name');
! $page->title= $this->db->f('title');
! $page->subtitle = $this->db->f('subtitle');
$page->sort_order = (int)
$this->db->f('sort_order');
! $page->content = $this->db->f('content');
$page->hidden = $this->db->f('hide_page');
return $page;
--- 77,85 ----
$page->id = $this->db->f('page_id');
$page->cat_id = $this->db->f('cat_id');
! $page->name =
stripslashes($this->db->f('name'));
! $page->title=
stripslashes($this->db->f('title'));
! $page->subtitle =
stripslashes($this->db->f('subtitle'));
$page->sort_order = (int)
$this->db->f('sort_order');
! $page->content =
stripslashes($this->db->f('content'));
$page->hidden = $this->db->f('hide_page');
return $page;
***************
*** 101,108 ****
$page->cat_id = $this->db->f('cat_id');
$page->sort_order = (int)
$this->db->f('sort_order');
! $page->name = $this->db->f('name');
! $page->title= $this->db->f('title');
! $page->subtitle = $this->db->f('subtitle');
! $page->content = $this->db->f('content');
$page->hidden = $this->db->f('hide_page');
return $page;
--- 101,108 ----
$page->cat_id = $this->db->f('cat_id');
$page->sort_order = (int)
$this->db->f('sort_order');
! $page->name =
stripslashes($this->db->f('name'));
! $page->title=
stripslashes($this->db->f('title'));
! $page->subtitle =
stripslashes($this->db->f('subtitle'));
! $page->content =
stripslashes($this->db->f('content'));
$page->hidden = $this->db->f('hide_page');
return $page;
***************
*** 118,126 ****
$sql = 'UPDATE phpgw_sitemgr_pages SET ' .
'cat_id=\'' . $pageInfo->cat_id . '\',' .
! 'name=\'' . $pageInfo->name . '\',' .
'sort_order=\'' . (int) $pageInfo->sort_order .
'\',' .
! 'title=\'' . $pageInfo->title . '\',' .
! 'subtitle=\'' . $pageInfo->subtitle . '\',' .
! 'content=\'' . $pageInfo->content . '\', ' .
'hide_page=\'' . $pageInfo->hidden . '\' ' .
'WHERE page_id=\'' . $pageInfo->id . '\'';
--- 118,126 ----
$sql = 'UPDATE phpgw_sitemgr_pages SET ' .
'cat_id=\'' . $pageInfo->cat_id . '\',' .
! 'name=\'' . addslashes($pageInfo->name) . '\','
.
'sort_order=\'' . (int) $pageInfo->sort_order .
'\',' .
! 'title=\'' . addslashes($pageInfo->title) .
'\',' .
! 'subtitle=\'' . addslashes($pageInfo->subtitle)
. '\',' .
! 'content=\'' . addslashes($pageInfo->content) .
'\', ' .
'hide_page=\'' . $pageInfo->hidden . '\' ' .
'WHERE page_id=\'' . $pageInfo->id . '\'';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: sitemgr/inc class.Pages_SO.inc.php,1.7,1.8,
Patrick Walsh <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.sessions_db.inc.php,1.2.2.5,1.2.2.6 class.sessions_php4.inc.php,1.6.2.5,1.6.2.6
- Next by Date:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/templates/NukeNews main.tpl,1.2,1.3
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.sessions_db.inc.php,1.2.2.5,1.2.2.6 class.sessions_php4.inc.php,1.6.2.5,1.6.2.6
- Next by thread:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/templates/NukeNews main.tpl,1.2,1.3
- Index(es):