diff options
Diffstat (limited to 'themes/goofy')
-rw-r--r-- | themes/goofy/goofy.theme | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/themes/goofy/goofy.theme b/themes/goofy/goofy.theme index c51d438a7..56c28dd78 100644 --- a/themes/goofy/goofy.theme +++ b/themes/goofy/goofy.theme @@ -12,7 +12,7 @@ *********************************************************************/ class Theme extends BaseTheme { - // General colorset that can be used for this theme + // General colorset that can be used for this theme var $foreground = "#000000"; var $background = "#FFFFFF"; @@ -103,13 +103,12 @@ function c(subject,mod,author,date,body) {document.writeln("<table border=\"0\" echo "\n<!-- node: \"$node->title\" -->\n"; $title = check_output($node->title); $subleft = strtr(t("Submitted by %a on %b"), array("%a" => format_username($node->userid), "%b" => format_date($node->timestamp, "large"))); - $subright = category_name($node->cid) ." / ". topic_name($node->tid); + $subright = node_index($node->attribute); $body = check_output($node->body, 1) . ($main || $links ? "<hr color=\"#404040\" size=\"1\"><div align=\"right\">" . $this->links($links, $main, $node) . "</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"; } // close node function - function comment($comment, $link = "") { echo "<A NAME=\"$comment->cid\"></A>\n"; @@ -125,7 +124,6 @@ function c(subject,mod,author,date,body) {document.writeln("<table border=\"0\" } // close comment function - function stripbreaks($a) { // helper function for generating the javascripted boxes return str_replace("\n","\\n",str_replace("\r","\\r",$a)); } // close stripbreaks function @@ -136,9 +134,6 @@ function c(subject,mod,author,date,body) {document.writeln("<table border=\"0\" } // close box function - - - function footer() { ?> </td> |