Xaraya / Postnuke CVS Notices - Message

Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites

View Statistics - Next Notice - Previous Notice

Directory filter : [ all ] / postnuke_official / html / modules / ns-addstory [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
25 Jul 2002 02:16:12postnuke_official/html/modules/ns-addstoryadmin.php,1.46.2.7,1.46.2.8John Robeson
 fix for line breaks doubling after return to main submit page from preview

Update of /home/cvsroot/postnuke_official/html/modules/ns-addstory
In directory ns7.hostnuke.net:/tmp/cvs-serv15860/html/modules/ns-addstory

Modified Files:
      Tag: PostNuke_71
	admin.php 
Log Message:
fix for      line breaks doubling after return to main submit page from preview

credits for the fix go to [aXe]


Index: admin.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/ns-addstory/Attic/admin.php,v
retrieving revision 1.46.2.7
retrieving revision 1.46.2.8
diff -C2 -d -r1.46.2.7 -r1.46.2.8
*** admin.php	19 Jul 2002 16:39:17 -0000	1.46.2.7
--- admin.php	25 Jul 2002 02:16:10 -0000	1.46.2.8
***************
*** 1669,1673 ****
  
  function unnltobr($text) {
!     return (preg_replace('/(<br[ \/]*?>)/i', "\n", $text));
  }
  
--- 1669,1673 ----
  
  function unnltobr($text) {
!     return (preg_replace('/(<br[ \/]*?>)/i', "", $text));
  }
  


Directory filter : [ all ] / postnuke_official / html / modules / ns-addstory [ view in CVS ]

View Statistics - Next Notice - Previous Notice


Visit Developer Site - Browse CVS Repository Syndicate via backend.rss
(max. once per hour please)
Powered by CVSNotice 0.1.3