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.theme12
1 files changed, 5 insertions, 7 deletions
diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme
index c24cb68f3..583011daf 100644
--- a/themes/marvin/marvin.theme
+++ b/themes/marvin/marvin.theme
@@ -1,4 +1,4 @@
-<?php
+<?
/*********************************************************************
@@ -41,7 +41,7 @@
<tr>
<td align="right" colspan="2">
<?php
- print "<small>". theme_link() ."</small>\n";
+ print "<small>". $this->links(link_page()) ."</small>\n";
?>
</td>
</tr>
@@ -50,7 +50,7 @@
<?php
}
- function node($node, $main = 0, $links = 0) {
+ function node($node, $main = 0) {
print "\n<!-- node: \"$node->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($node->title) ."</b></td></tr>\n";
@@ -59,9 +59,7 @@
print " <tr><td colspan=\"2\">&nbsp;</td></tr>\n";
print " <tr><td colspan=\"2\"><p>". check_output($node->body, 1) ."</p></td></tr>\n";
print " <tr><td colspan=\"2\">&nbsp;</tr></tr>\n";
- if (node_links($links, $node, $main)) {
- print " <tr><td colspan=\"2\">". $this->links($links, $main) ."</td></tr>\n";
- }
+ if ($main) print " <tr><td colspan=\"2\">". $this->links(link_node($node)) ."</td></tr>\n";
print "</table>\n";
print "<br /><br />\n\n";
}
@@ -145,7 +143,7 @@
<tr>
<td align="center" colspan="2">
<?php
- print "<p><small>[ ". theme_link() ." ]</small></p><p>". variable_get("site_footer", "") ."</p>\n";
+ print "<p><small>[ ". $this->links(link_page()) ." ]</small></p><p>". variable_get("site_footer", "") ."</p>\n";
?>
</td>
</tr>