summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-06-11 17:42:51 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-06-11 17:42:51 +0000
commit8f7eddbed6ae6e9b244b601686bcdc2e31a40edc (patch)
tree999a5da54beb61c8caefb6fd93db9b06d9f8adbf /themes
parentd397bbe93587f015cd8db0dbf16ef6d1c1aef78b (diff)
downloadbrdo-8f7eddbed6ae6e9b244b601686bcdc2e31a40edc.tar.gz
brdo-8f7eddbed6ae6e9b244b601686bcdc2e31a40edc.tar.bz2
Changes
- fixed the trailing | in some cases. - removed theme_morelinks(). - added node_links(). - simplified BaseTheme->links(). - updated themes. Notes - the new links system is taking form, but concider it beta. There might still be some major changes ahead so I suggest waiting a little longer before modifying your theme to take advantage of it.
Diffstat (limited to 'themes')
-rw-r--r--themes/example/example.theme2
-rw-r--r--themes/marvin/marvin.theme2
-rw-r--r--themes/unconed/unconed.theme4
3 files changed, 4 insertions, 4 deletions
diff --git a/themes/example/example.theme b/themes/example/example.theme
index caa3c9518..dae6300a0 100644
--- a/themes/example/example.theme
+++ b/themes/example/example.theme
@@ -83,7 +83,7 @@
<TR>
<TD COLSPAN="2">
<?php
- if ($main || $links) echo $this->links($links, $main, $node);
+ if (node_links($links, $node, $main)) echo $this->links($links, $main);
?>
</TD>
diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme
index 108f4acfc..15d11eb62 100644
--- a/themes/marvin/marvin.theme
+++ b/themes/marvin/marvin.theme
@@ -63,7 +63,7 @@
print " <TD COLSPAN=\"2\"><P>". check_output($node->body, 1) ."</P></TD>\n";
print " </TR>\n";
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";
- if ($main || $links) print " <TR><TD COLSPAN=\"2\">". $this->links($links, $main, $node) ."</TD></TR>\n";
+ if (node_links($links, $node, $main)) print " <TR><TD COLSPAN=\"2\">". $this->links($links, $main) ."</TD></TR>\n";
print "</TABLE>\n";
print "<BR><BR>\n\n";
}
diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme
index cd20fe3ab..a2b95a4db 100644
--- a/themes/unconed/unconed.theme
+++ b/themes/unconed/unconed.theme
@@ -101,8 +101,8 @@
</TD>
</TR>
<?php
- if ($main || $links)
- echo "<TR BGCOLOR=\"". $this->bgcolor3 ."\"><TD BGCOLOR=\"". $this->bgcolor3 ."\" ALIGN=\"right\" COLSPAN=\"2\">". $this->links($links, $main, $node) ."</TD></TR>";
+ if (node_links($links, $node, $main))
+ echo "<TR BGCOLOR=\"". $this->bgcolor3 ."\"><TD BGCOLOR=\"". $this->bgcolor3 ."\" ALIGN=\"right\" COLSPAN=\"2\">". $this->links($links, $main) ."</TD></TR>";
?>
</TABLE></TD></TR></TABLE><BR>
<?php