summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-10-24 15:07:29 +0000
committerDries Buytaert <dries@buytaert.net>2000-10-24 15:07:29 +0000
commit716bc2016c585e96c157dac25ecca1006efa203f (patch)
tree333e346a9a0100803fd8b4bc42a90e6d781d1dca /themes
parent6f6cc6401bc6a26962fff7fa2185b1b30f39bb88 (diff)
downloadbrdo-716bc2016c585e96c157dac25ecca1006efa203f.tar.gz
brdo-716bc2016c585e96c157dac25ecca1006efa203f.tar.bz2
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 <br>'s) with the current stories but it won't with new entries ...
Diffstat (limited to 'themes')
-rw-r--r--themes/marvin/marvin.theme18
1 files 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 " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";
print " <TR>\n";
print " <TD COLSPAN=\"2\">\n";
- if ($story->abstract) print " <P>$story->abstract</P>\n";
- if ($story->updates) print " <P><FONT COLOR=\"$this->bgcolor2\">Editor's note:</FONT> $story->updates</P>\n";
+ if ($story->abstract) print " <P>". nl2br($story->abstract) ."</P>\n";
+ if ($story->updates) print " <P><FONT COLOR=\"$this->bgcolor2\">Editor's note:</FONT> ". nl2br($story->updates) ."</P>\n";
print " </TD>\n";
print " </TR>\n";
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";
@@ -98,9 +98,9 @@
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";
print " <TR>\n";
print " <TD COLSPAN=\"2\">\n";
- if ($story->abstract) print " <P>$story->abstract</P>\n";
- if ($story->updates) print " <P><FONT COLOR=\"$this->bgcolor2\">Editor's note:</FONT> $story->updates</P>\n";
- if ($story->article) print " <P>$story->article</P>\n";
+ if ($story->abstract) print " <P>". nl2br($story->abstract) ."</P>\n";
+ if ($story->updates) print " <P><FONT COLOR=\"$this->bgcolor2\">Editor's note:</FONT>". nl2br($story->updates) ."</P>\n";
+ if ($story->article) print " <P>". nl2br($story->article) ."</P>\n";
print " </TD>\n";
print " </TR>\n";
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";
@@ -216,7 +216,7 @@
print " </TR>\n";
### Print body of comment:
- if ($comment) print " <TR><TD BGCOLOR=\"#FFFFFF\">$comment</TD></TR>\n";
+ if ($comment) print " <TR><TD BGCOLOR=\"#FFFFFF\">". nl2br($comment) ."</TD></TR>\n";
### Print thread (if any):
if ($thread) print " <TR><TD BGCOLOR=\"$this->bgcolor1\">$thread</TD></TR>\n";
@@ -248,9 +248,9 @@
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>";
print " <TR>";
print " <TD COLSPAN=\"2\">";
- if ($abstract) print "<P>$abstract</P>";
- if ($comments) print "<P><FONT COLOR=\"$this->bgcolor2\">Editor's note:</FONT> $comments</P>";
- if ($article) print "<P>$article</P>";
+ if ($abstract) print "<P>". nl2br($abstract) ."</P>";
+ if ($comments) print "<P><FONT COLOR=\"$this->bgcolor2\">Editor's note:</FONT> ". nl2br($comments) ."</P>";
+ if ($article) print "<P>". nl2br($article) ."</P>";
print " </TD>";
print " </TR>";
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>";