summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/goofy/goofy.theme4
-rw-r--r--themes/trillian/trillian.theme11
2 files changed, 12 insertions, 3 deletions
diff --git a/themes/goofy/goofy.theme b/themes/goofy/goofy.theme
index c2ac85a82..a0f23d66e 100644
--- a/themes/goofy/goofy.theme
+++ b/themes/goofy/goofy.theme
@@ -117,8 +117,8 @@ function c(subject,mod,author,date,body) {document.writeln("<table border=\"0\"
$body = check_output($node->body, 1);
}
- if ($main) {
- $body .= "<hr color=\"#404040\" size=\"1\"><div align=\"right\">[ " . $this->links(link_node($node)) . " ]</div>";
+ if ($links = link_node($node, $main)) {
+ $body .= "<hr color=\"#404040\" size=\"1\"><div align=\"right\">[ " . $this->links($links) . " ]</div>";
}
print "<script language=\"JavaScript\"><!--\ns(\"". $this->stripbreaks(addslashes($title)) ."\",\"". $this->stripbreaks(addslashes($subleft)) ."\",\"". $this->stripbreaks(addslashes($subright)) ."\",\"". $this->stripbreaks(addslashes($body)) ."\"); // -->\n</script>\n";
diff --git a/themes/trillian/trillian.theme b/themes/trillian/trillian.theme
index 210b52950..8cd4ee3b1 100644
--- a/themes/trillian/trillian.theme
+++ b/themes/trillian/trillian.theme
@@ -1,4 +1,5 @@
<?php
+// $Id$
class Theme extends BaseTheme {
// General colorset that can be used for this theme
@@ -55,7 +56,7 @@
<div style="margin-left: 25px;"><?php echo check_output($node->body, 1); ?></div>
<div style="margin-left: 20px; padding-top: 5px; padding-bottom: 12px; color: #7c7c7c;">&gt;&gt;&gt;
<?php
- $links = link_node($node);
+ $links = link_node($node, $main);
array_unshift($links, t("posted by") ." ". format_name($node));
echo $this->links($links);
?>
@@ -67,6 +68,14 @@
<div style="text-transform: capitalize; font-size: 120%; font-weight: bold;"><?php echo check_output($node->title); ?></div>
<div style="padding-left: 20px; padding-top: 10px; padding-bottom: 10px;"><?php echo sprintf(t("by %s on %s"), format_name($node), format_date($node->created)); ?></div>
<div style="margin-left: 10px;"><?php echo check_output($node->body, 1); ?></div>
+ <div style="margin-left: 20px; padding-top: 5px; padding-bottom: 12px; color: #7c7c7c;">&gt;&gt;&gt;
+ <?php
+ if ($links = link_node($node, $main)) {
+ //array_unshift($links, t("posted by") ." ". format_name($node));
+ echo $this->links($links);
+ }
+ ?>
+ </div>
<?php
}
}