summaryrefslogtreecommitdiff
path: root/themes/example/example.theme
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-06-29 22:08:57 +0000
committerDries Buytaert <dries@buytaert.net>2001-06-29 22:08:57 +0000
commit9c43e8fc7a192dfe768c76a539373915bddaa0aa (patch)
tree32dfe7f04171c2600be4164ca529d7f42766ec32 /themes/example/example.theme
parent124694ee4dbcc1df5dfc2d419ed2393619883071 (diff)
downloadbrdo-9c43e8fc7a192dfe768c76a539373915bddaa0aa.tar.gz
brdo-9c43e8fc7a192dfe768c76a539373915bddaa0aa.tar.bz2
Extremely large commit:
- Fixed tiny quote problem in account.php. - Fixed tiny bug in comment.inc. - Fixed tiny bug in comment.module. - Fixed tiny bug in meta.module. - Simplified user_access() API. - Rewrote link system: still needs fine-tuning and testing so don't upgrade if you are running a production site. ;) Updated all modules and themes to reflect this change. All other themes and modules need updating too!
Diffstat (limited to 'themes/example/example.theme')
-rw-r--r--themes/example/example.theme8
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/example/example.theme b/themes/example/example.theme
index e53496b68..3f4889685 100644
--- a/themes/example/example.theme
+++ b/themes/example/example.theme
@@ -30,7 +30,7 @@
<TD ALIGN="right" COLSPAN="2">
<?php
- print theme_link();
+ print $this->links(link_page());
?>
</TD>
@@ -50,7 +50,7 @@
} // close header function
- function node($node, $main = 0, $links = 0) {
+ function node($node, $main = 0) {
?>
<TABLE BORDER="1" CELLSPACING="0" CELLPADDING="3" WIDTH="100%">
@@ -83,7 +83,7 @@
<TR>
<TD COLSPAN="2">
<?php
- if (node_links($links, $node, $main)) echo $this->links($links, $main);
+ if ($main) echo $this->links(link_node($node));
?>
</TD>
@@ -178,7 +178,7 @@
</TR>
<TR>
<TD ALIGN="center" COLSPAN="3">
- <P><?php print theme_link(" | "); ?></P>
+ <P><?php print $this->links(link_page()); ?></P>
<P><SMALL><?php print variable_get(site_footer, ""); ?></SMALL></P>
</TD>
</TR>