summaryrefslogtreecommitdiff
path: root/themes/marvin/marvin.theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/marvin/marvin.theme')
-rw-r--r--themes/marvin/marvin.theme27
1 files changed, 2 insertions, 25 deletions
diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme
index ab76f8fe1..108f4acfc 100644
--- a/themes/marvin/marvin.theme
+++ b/themes/marvin/marvin.theme
@@ -13,7 +13,7 @@
class Theme extends BaseTheme {
var $link = "#666699";
- // General colorset that can be used for this theme
+ // General colorset that can be used for this theme
var $foreground = "#000000";
var $background = "#EAEAEA";
@@ -48,29 +48,6 @@
<?php
}
- function story($story, $main = 0) {
- print "\n<!-- story: \"$story->title\" -->\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>". check_output($story->title) ."</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>". strtr(t("Submitted by %a on %b"), array("%a" => format_username($story->userid), "%b" => format_date($story->timestamp, "large"))); ?><?php print "</SMALL></FONT></TD><TD ALIGN=\"right\" VALIGN=\"top\" NOWRAP><SMALL>". category_name($story->cid) ." / ". topic_name($story->tid) ."</SMALL>\n";
- print " </TD>\n";
- print " </TR>\n";
- print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";
- print " <TR>\n";
- print " <TD COLSPAN=\"2\">\n";
- if ($story->abstract) print "<P>". check_output($story->abstract, 1) ."</P>\n";
- if (!$main && $story->body) print " <P>". check_output($story->body, 1) ."</P>\n";
- print " </TD>\n";
- print " </TR>\n";
- print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";
- if ($main || $links) print " <TR><TD COLSPAN=\"2\">". $this->links($links, $main, $node) ."</TD></TR>\n";
- print "</TABLE>\n";
- print "<BR><BR>\n\n";
- }
-
function node($node, $main = 0, $links = 0) {
print "\n<!-- node: \"$node->title\" -->\n";
print "<TABLE BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"2\" WIDTH=\"100%\">\n";
@@ -78,7 +55,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>". strtr(t("Submitted by %a on %b"), array("%a" => format_username($node->userid), "%b" => format_date($node->timestamp, "large"))); ?><?php print "</SMALL></FONT></TD><TD ALIGN=\"right\" VALIGN=\"top\" NOWRAP><SMALL>". category_name($node->cid) ." / ". topic_name($node->tid) ."</SMALL>\n";
+ print " <FONT COLOR=\"#7C7C7C\"><SMALL>". strtr(t("Submitted by %a on %b"), array("%a" => format_username($node->userid), "%b" => format_date($node->timestamp, "large"))); ?><?php print "</SMALL></FONT></TD><TD ALIGN=\"right\" VALIGN=\"top\" NOWRAP><SMALL>". node_index($node->attribute) ."</SMALL>\n";
print " </TD>\n";
print " </TR>\n";
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";