Update of /cvsroot/phpwebsite-comm/modules/article/class
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1920/class
Modified Files:
AM_Actions.php
Log Message:
Demo articles now display properly when USE_BREAKER is off
Index: AM_Actions.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/article/class/AM_Actions.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** AM_Actions.php 19 Jan 2009 16:44:02 -0000 1.16
--- AM_Actions.php 2 Feb 2009 04:42:36 -0000 1.17
***************
*** 264,267 ****
--- 264,273 ----
$autodetect = false;
}
+
+ /* If USE_BREAKER is off, convert text */
+ if (!USE_BREAKER)
+ foreach($article->pages AS $pagenum => $page)
+ foreach($page['section'] AS $sectnum => $section)
+ $article->pages[$pagenum]['section'][$sectnum]['text'] = PHPWS_Text::breaker($section['text']);
/* If requested, convert links */
|