From 47c6fce5ce33e510fb3a4e51ce7c34db082590c4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 7 Oct 2001 12:27:58 +0000 Subject: - added a comment() function to the base theme: you don't have to overload it in your custom themes - moved 'theme_account()' to the base theme as '$theme->user()' so that it can be themed. --- themes/example/example.theme | 2 +- themes/goofy/goofy.theme | 2 +- themes/marvin/marvin.theme | 2 +- themes/trillian/trillian.theme | 3 +-- themes/unconed/unconed.theme | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) (limited to 'themes') diff --git a/themes/example/example.theme b/themes/example/example.theme index 9c918e4c3..d1c512b7e 100644 --- a/themes/example/example.theme +++ b/themes/example/example.theme @@ -169,7 +169,7 @@ global $PHP_SELF; - theme_account("right", $this); + $this->user("right", $this); theme_blocks("right", $this); ?> diff --git a/themes/goofy/goofy.theme b/themes/goofy/goofy.theme index 4f32b5496..28737d19d 100644 --- a/themes/goofy/goofy.theme +++ b/themes/goofy/goofy.theme @@ -139,7 +139,7 @@ function c(subject,mod,author,date,body) {document.writeln(" diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme index a80851851..592c9fdcd 100644 --- a/themes/marvin/marvin.theme +++ b/themes/marvin/marvin.theme @@ -140,7 +140,7 @@ diff --git a/themes/trillian/trillian.theme b/themes/trillian/trillian.theme index 57a1642b0..7f1e112ea 100644 --- a/themes/trillian/trillian.theme +++ b/themes/trillian/trillian.theme @@ -43,10 +43,9 @@ if ($date != date("dny", $node->timestamp)) { $date = date("dny", $node->timestamp); - print "
"; print "
user("all", $this); theme_blocks("all", $this); ?> user("all", $this); theme_blocks("all", $this); ?>
"; print ""; - print " \n"; + print " \n"; print "
 
". format_date($node->timestamp, "custom", "l, F d, Y") ."
\"\"
"; print "
"; } diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme index 5be0ea02d..59dbec98b 100644 --- a/themes/unconed/unconed.theme +++ b/themes/unconed/unconed.theme @@ -190,7 +190,7 @@ user("all", $this); theme_blocks("all", $this); ?> -- cgit v1.2.3