summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-11-02 09:23:07 +0000
committerDries Buytaert <dries@buytaert.net>2000-11-02 09:23:07 +0000
commit8a866e6d51ba27eecc186e7001bfcc4af42e6dfe (patch)
tree736ae0a9b4169bd96fe7f1c94d11588a989549ea /themes
parent70520c7b0548bd70b30b1c553bda087c7321e1dc (diff)
downloadbrdo-8a866e6d51ba27eecc186e7001bfcc4af42e6dfe.tar.gz
brdo-8a866e6d51ba27eecc186e7001bfcc4af42e6dfe.tar.bz2
- Fixed quote bug in the comment tracker.
(suggestion UnConeD) - Added anchors to comment links to easy comment navigation. (suggestion UnConeD) - Fixed duplicate `you voted' after moderating a story. (suggestion UnConeD) - Fixed quote bug in administration center. - Expanded user administration with timezone information. - Improved the theme system by eliminating the "preview" function. Let's not make the system more complex then it ought to be. - Refined watchdog administration. - ...
Diffstat (limited to 'themes')
-rw-r--r--themes/marvin/marvin.theme37
1 files changed, 4 insertions, 33 deletions
diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme
index 3bd0d154c..5512ebe1b 100644
--- a/themes/marvin/marvin.theme
+++ b/themes/marvin/marvin.theme
@@ -38,7 +38,7 @@
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" ALINK="#CCCCCC" LINK="#665555" VLINK="#665555">
<TABLE BORDER="0" CELLPADDING="8" CELLSPACING="0">
<TR>
- <TD ROWSPAN="3" WIDTH="30">&nbsp;</TD>
+ <TD WIDTH="30" ROWSPAN="3">&nbsp;</TD>
<TD WIDTH="470"><A HREF=""><IMG SRC="themes/marvin/images/logo.gif" ALT="drop.org" BORDER="0"></A></TD>
<TD WIDTH="180">
<LI>Create an <A HREF="account.php?op=register">account</A> and <A HREF="submit.php">submit</A> new stories.</LI>
@@ -64,7 +64,7 @@
print " <TR VALIGN=\"bottom\"><TD COLSPAN=\"2\" BGCOLOR=\"#000000\" WIDTH=\"100%\"><IMG SRC=\"themes/marvin/images/pixel.gif\" WIDTH=\"1\" HEIGHT=\"0\" ALT=\"\"></TD></TR>\n";
print " <TR>\n";
print " <TD>\n";
- print " <FONT COLOR=\"#7C7C7C\"><SMALL>Posted by ". format_username($story->userid) ." on ". format_date($story->timestamp, "extra large"). ""; ?><? if ($story->department) print "<BR>from the $story->department dept."; ?><? print "</SMALL></FONT></TD><TD ALIGN=\"right\" VALIGN=\"top\" NOWRAP><SMALL><A HREF=\"search.php?category=". urlencode($story->category) ."\"><FONT COLOR=\"#83997A\">$story->category</FONT></A></SMALL>\n";
+ print " <FONT COLOR=\"#7C7C7C\"><SMALL>Submitted by ". format_username($story->userid) ." on ". format_date($story->timestamp, "extra large"). ""; ?><? if ($story->department) print "<BR>from the $story->department dept."; ?><? print "</SMALL></FONT></TD><TD ALIGN=\"right\" VALIGN=\"top\" NOWRAP><SMALL><A HREF=\"search.php?category=". urlencode($story->category) ."\"><FONT COLOR=\"#83997A\">$story->category</FONT></A></SMALL>\n";
print " </TD>\n";
print " </TR>\n";
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";
@@ -86,13 +86,13 @@
# comments). It's what you get when you followed for
# instance one of read-more links on the main page.
function article($story, $reply) {
- print "\n<!-- story: \"$story->subject\" -->\n";
+ print "\n<!-- story: \"$story->subject\" -->\n";
print "<TABLE BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"2\" WIDTH=\"100%\">\n";
print " <TR><TD COLSPAN=\"2\"><IMG SRC=\"themes/marvin/images/drop.gif\" ALT=\"\"> &nbsp; <B>$story->subject</B></TD></TR>\n";
print " <TR VALIGN=\"bottom\"><TD COLSPAN=\"2\" BGCOLOR=\"#000000\" WIDTH=\"100%\"><IMG SRC=\"themes/marvin/images/pixel.gif\" WIDTH=\"1\" HEIGHT=\"0\" ALT=\"\"></TD></TR>\n";
print " <TR>\n";
print " <TD>\n";
- print " <FONT COLOR=\"#7C7C7C\"><SMALL>Posted by ". format_username($story->userid) ." on ". format_date($story->timestamp, "extra large") .""; ?><? if ($story->department) print "<BR>from the $story->department dept."; ?><? print "</SMALL></FONT></TD><TD ALIGN=\"right\" VALIGN=\"top\" NOWRAP><SMALL><A HREF=\"search.php?category=". urlencode($story->category) ."\"><FONT COLOR=\"#83997A\">$story->category</FONT></A></SMALL>\n";
+ print " <FONT COLOR=\"#7C7C7C\"><SMALL>Submitted by ". format_username($story->userid) ." on ". format_date($story->timestamp, "extra large") .""; ?><? if ($story->department) print "<BR>from the $story->department dept."; ?><? print "</SMALL></FONT></TD><TD ALIGN=\"right\" VALIGN=\"top\" NOWRAP><SMALL><A HREF=\"search.php?category=". urlencode($story->category) ."\"><FONT COLOR=\"#83997A\">$story->category</FONT></A></SMALL>\n";
print " </TD>\n";
print " </TR>\n";
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";
@@ -231,35 +231,6 @@
}
######
- # Syntax.......: preview(...);
- # Description..: this function is used to preview a story and is used at
- # different parts of the homepage: when a visitors sumbits
- # news, when an editor wants to post news, when people
- # check the entries in the sumbission queue, etc.
- function preview($author, $subject, $abstract, $updates, $article, $timestamp, $category, $department) {
- print "<TABLE BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"2\" WIDTH=\"100%\">";
- print " <TR><TD COLSPAN=\"2\"><B>$subject</B></TD></TR>";
- print " <TR VALIGN=\"bottom\"><TD COLSPAN=\"2\" BGCOLOR=\"#000000\" WIDTH=\"100%\"><IMG SRC=\"themes/marvin/images/pixel.gif\" WIDTH=\"1\" HEIGHT=\"0\" ALT=\"\"></TD></TR>";
- print " <TR>";
- print " <TD>";
- print " <FONT COLOR=\"#7C7C7C\"><SMALL>Posted by ". format_username($author) ." on $timestamp"; ?><? if ($department) print "<BR>from the $department dept."; ?><? print "</SMALL></FONT></TD><TD ALIGN=\"right\" VALIGN=\"top\" NOWRAP><SMALL><A HREF=\"search.php?category=". urlencode($category) ."\"><FONT COLOR=\"#83997A\">$category</FONT></A></SMALL>\n";
- print " </TD>";
- print " </TR>";
- print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>";
- print " <TR>";
- print " <TD COLSPAN=\"2\">";
- if ($abstract) print "<P>". check_output($abstract, 1) ."</P>";
- if ($comments) print "<P><FONT COLOR=\"$this->bgcolor2\">Editor's note:</FONT> ". check_output($comments, 1) ."</P>";
- if ($article) print "<P>". check_output($article, 1) ."</P>";
- print " </TD>";
- print " </TR>";
- print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>";
- print " <TR><TD COLSPAN=\"2\">$link</TD></TR>";
- print "</TABLE>";
- print "<BR><BR>";
- }
-
- ######
# Syntax.......: box($subject, $body);
# Description..: a function to draw a box/block.
function box($subject, $content) {