[geeklog-cvs] geeklog-1.3/system lib-story.php,1.7,1.8

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Sat Sep 4 15:29:21 EDT 2004


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

Modified Files:
	lib-story.php 
Log Message:
Introduced {story_text_no_br} variable for when you want the full story text without the <br><br> between the intro and the body text.


Index: lib-story.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/system/lib-story.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** lib-story.php	27 Aug 2004 12:36:49 -0000	1.7
--- lib-story.php	4 Sep 2004 19:29:18 -0000	1.8
***************
*** 178,183 ****
          else
          {
              $article->set_var( 'story_introtext', $introtext . '<br><br>'
!                                . stripslashes( $A['bodytext'] ));
          }
      }
--- 178,185 ----
          else
          {
+             $bodytext = stripslashes( $A['bodytext'] );
              $article->set_var( 'story_introtext', $introtext . '<br><br>'
!                                . $bodytext );
!             $article->set_var( 'story_text_no_br', $introtext . $bodytext );
          }
      }




More information about the geeklog-cvs mailing list