From 716bc2016c585e96c157dac25ecca1006efa203f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 24 Oct 2000 15:07:29 +0000 Subject: added nl2br()'s where appropriate! UnConeD: will you add the nl2br()'s to your theme or do you want me to do so? Remark that it will look screwed up (too many
's) with the current stories but it won't with new entries ... --- themes/marvin/marvin.theme | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme index ed3abd18d..d60f0b7e4 100644 --- a/themes/marvin/marvin.theme +++ b/themes/marvin/marvin.theme @@ -68,8 +68,8 @@ print "  \n"; print " \n"; print " \n"; - if ($story->abstract) print "

$story->abstract

\n"; - if ($story->updates) print "

bgcolor2\">Editor's note: $story->updates

\n"; + if ($story->abstract) print "

". nl2br($story->abstract) ."

\n"; + if ($story->updates) print "

bgcolor2\">Editor's note: ". nl2br($story->updates) ."

\n"; print " \n"; print " \n"; print "  \n"; @@ -98,9 +98,9 @@ print "  \n"; print " \n"; print " \n"; - if ($story->abstract) print "

$story->abstract

\n"; - if ($story->updates) print "

bgcolor2\">Editor's note: $story->updates

\n"; - if ($story->article) print "

$story->article

\n"; + if ($story->abstract) print "

". nl2br($story->abstract) ."

\n"; + if ($story->updates) print "

bgcolor2\">Editor's note:". nl2br($story->updates) ."

\n"; + if ($story->article) print "

". nl2br($story->article) ."

\n"; print " \n"; print " \n"; print "  \n"; @@ -216,7 +216,7 @@ print " \n"; ### Print body of comment: - if ($comment) print " $comment\n"; + if ($comment) print " ". nl2br($comment) ."\n"; ### Print thread (if any): if ($thread) print " bgcolor1\">$thread\n"; @@ -248,9 +248,9 @@ print "  "; print " "; print " "; - if ($abstract) print "

$abstract

"; - if ($comments) print "

bgcolor2\">Editor's note: $comments

"; - if ($article) print "

$article

"; + if ($abstract) print "

". nl2br($abstract) ."

"; + if ($comments) print "

bgcolor2\">Editor's note: ". nl2br($comments) ."

"; + if ($article) print "

". nl2br($article) ."

"; print " "; print " "; print "  "; -- cgit v1.2.3