diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/marvin/marvin.theme | 4 | ||||
-rw-r--r-- | themes/unconed/unconed.theme | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme index 87dbe9f8b..91aea2c27 100644 --- a/themes/marvin/marvin.theme +++ b/themes/marvin/marvin.theme @@ -69,8 +69,8 @@ print " <tr><td colspan=\"2\"> </td></tr>\n"; - if ($main) { - print " <tr><td colspan=\"2\">". $this->links(link_node($node)) ."</td></tr>\n"; + if ($links = link_node($node, $main)) { + print " <tr><td colspan=\"2\">". $this->links($links) ."</td></tr>\n"; } print "</table>\n"; diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme index 95c36244f..e0eae11c2 100644 --- a/themes/unconed/unconed.theme +++ b/themes/unconed/unconed.theme @@ -110,8 +110,8 @@ </TD> </TR> <?php - if ($main) { - echo "<TR BGCOLOR=\"". $this->bgcolor3 ."\"><TD BGCOLOR=\"". $this->bgcolor3 ."\" ALIGN=\"right\" COLSPAN=\"2\">[ ". $this->links(link_node($node)) ." ]</TD></TR>"; + if ($links = link_node($node, $main)) { + echo "<TR BGCOLOR=\"". $this->bgcolor3 ."\"><TD BGCOLOR=\"". $this->bgcolor3 ."\" ALIGN=\"right\" COLSPAN=\"2\">[ ". $this->links($links) ." ]</TD></TR>"; } ?> </TABLE></TD></TR></TABLE><BR> |