diff options
Diffstat (limited to 'themes/goofy')
-rw-r--r-- | themes/goofy/goofy.theme | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/goofy/goofy.theme b/themes/goofy/goofy.theme index 9cb913975..9444db289 100644 --- a/themes/goofy/goofy.theme +++ b/themes/goofy/goofy.theme @@ -86,7 +86,7 @@ function c(subject,mod,author,date,body) {document.writeln("<table border=\"0\" </tr> <tr> <td class="lgl"><img src="themes/goofy/images/null.gif" alt=""></td> - <td class="lgcnt" width="100%" valign="top"><div align="center"><big><?php print theme_link(); ?></big></div></td> + <td class="lgcnt" width="100%" valign="top"><div align="center"><big><?php print $this->links(link_page()); ?></big></div></td> <td class="lgr"><img src="themes/goofy/images/null.gif" alt=""></td> </tr> <tr> @@ -99,12 +99,12 @@ function c(subject,mod,author,date,body) {document.writeln("<table border=\"0\" } // close linksbar function - function node($node, $main = 0, $links = 0) { + function node($node, $main = 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 = node_index($node); - $body = check_output($node->body, 1) . (node_links($links, $node, $main) ? "<hr color=\"#404040\" size=\"1\"><div align=\"right\">[ " . $this->links($links, $main) . " ]</div>" : ""); + $body = check_output($node->body, 1) . ($main ? "<hr color=\"#404040\" size=\"1\"><div align=\"right\">[ " . $this->links(link_node($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 |