[geeklog-cvs] geeklog-1.3/system lib-story.php,1.10,1.11

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Sun Nov 14 09:06:14 EST 2004


Update of /var/cvs/geeklog-1.3/system
In directory www:/tmp/cvs-serv11840/system

Modified Files:
	lib-story.php 
Log Message:
Make links in plain text stories "clickable" when the story is saved. Also fixes bug #308 (messing up image URLs).


Index: lib-story.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/system/lib-story.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** lib-story.php	8 Sep 2004 02:30:45 -0000	1.10
--- lib-story.php	14 Nov 2004 14:06:12 -0000	1.11
***************
*** 64,69 ****
      if( $A['postmode'] == 'plaintext' )
      {
!         $A['introtext'] = nl2br( COM_makeClickableLinks( $A['introtext'] ));
!         $A['bodytext'] = nl2br( COM_makeClickableLinks( $A['bodytext'] ));
      }
  
--- 64,69 ----
      if( $A['postmode'] == 'plaintext' )
      {
!         $A['introtext'] = nl2br( $A['introtext'] );
!         $A['bodytext'] = nl2br( $A['bodytext'] );
      }
  




More information about the geeklog-cvs mailing list