Update of /cvsroot/phpwebsite-comm/modules/article/class
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv16409/class
Modified Files:
AM_EditForms.php Section.php
Log Message:
AM uses breakpost now
Index: Section.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/article/class/Section.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** Section.php 21 Nov 2008 06:13:14 -0000 1.28
--- Section.php 25 Jan 2009 16:27:05 -0000 1.29
***************
*** 126,131 ****
if (isset($data['title']))
$this->title = PHPWS_Text::parseInput($data['title']);
! if (isset($data['text']))
! $this->text = PHPWS_Text::parseInput($data['text']);
if (isset($data['template']))
$this->template = $data['template'];
--- 126,133 ----
if (isset($data['title']))
$this->title = PHPWS_Text::parseInput($data['title']);
! if (isset($data['text']))
! if (PHPWS_Text::breakPost('SECTION_'.$this->id.'_text'))
! $data['text'] = PHPWS_Text::breaker($data['text']);
! $this->text = PHPWS_Text::parseInput($data['text']);
if (isset($data['template']))
$this->template = $data['template'];
Index: AM_EditForms.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/article/class/AM_EditForms.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** AM_EditForms.php 22 Nov 2008 06:41:54 -0000 1.11
--- AM_EditForms.php 25 Jan 2009 16:27:05 -0000 1.12
***************
*** 22,26 ****
function edit_article (& $object, $req_page = 1)
{
! $form = & new PHPWS_Form('Edit_Article');
/* Get Article Title */
--- 22,27 ----
function edit_article (& $object, $req_page = 1)
{
! $form = & new PHPWS_Form('Edit_Article');
! $form->useBreaker();
/* Get Article Title */
***************
*** 294,298 ****
function edit_section (& $object, $section_position, $total_sections)
{
! $form = & new PHPWS_Form('SECTION_edit'.$object->id);
$tags['ID'] = $object->id;
--- 295,300 ----
function edit_section (& $object, $section_position, $total_sections)
{
! $form = & new PHPWS_Form('SECTION_edit'.$object->id);
! $form->useBreaker();
$tags['ID'] = $object->id;
|