From 2d1e9126cb10f52e7711ce121f8bdaa5bdc71aa4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 16 Sep 2001 11:33:14 +0000 Subject: - Added the new user module! --- themes/example/example.theme | 4 ++-- themes/goofy/goofy.theme | 6 +++--- themes/jeroen/jeroen.theme | 4 ++-- themes/marvin/marvin.theme | 4 ++-- themes/unconed/images/logo.gif | Bin 8339 -> 12648 bytes themes/unconed/unconed.theme | 8 +++++--- themes/yaroon/yaroon.theme | 4 ++-- 7 files changed, 16 insertions(+), 14 deletions(-) (limited to 'themes') diff --git a/themes/example/example.theme b/themes/example/example.theme index 8c2b4e9db..9c918e4c3 100644 --- a/themes/example/example.theme +++ b/themes/example/example.theme @@ -63,7 +63,7 @@ format_name($node->name), "%b" => format_date($node->timestamp, "small"))); + echo strtr(t("by %a on %b"), array("%a" => format_name($node), "%b" => format_date($node->timestamp, "small"))); ?> @@ -120,7 +120,7 @@ echo t("Author") .":"; echo " "; echo " "; - echo format_name($comment->name) ." on ". format_date($comment->timestamp); + echo format_name($comment) ." on ". format_date($comment->timestamp); echo " "; echo " "; diff --git a/themes/goofy/goofy.theme b/themes/goofy/goofy.theme index 8277b38f6..4f32b5496 100644 --- a/themes/goofy/goofy.theme +++ b/themes/goofy/goofy.theme @@ -65,7 +65,7 @@ function c(subject,mod,author,date,body) {document.writeln("
- @@ -102,7 +102,7 @@ function c(subject,mod,author,date,body) {document.writeln("

+
Powered by Drupal
linksbar(); ?>
title\" -->\n"; $title = check_output($node->title); - $subleft = strtr(t("Submitted by %a on %b"), array("%a" => format_name($node->name), "%b" => format_date($node->timestamp, "large"))); + $subleft = strtr(t("Submitted by %a on %b"), array("%a" => format_name($node), "%b" => format_date($node->timestamp, "large"))); $subright = node_index($node); $body = check_output($node->body, 1) . ($main ? "
[ " . $this->links(link_node($node)) . " ]
" : ""); print "\n"; @@ -112,7 +112,7 @@ function c(subject,mod,author,date,body) {document.writeln("
cid\">\n"; - $author = "" . format_name($comment->name) . ""; + $author = "" . format_name($comment) . ""; if ($comment->name) { if ($comment->fake_email) $info[] = format_email($comment->fake_email); if (eregi("http://",$comment->url)) $info[] = format_url($comment->url); diff --git a/themes/jeroen/jeroen.theme b/themes/jeroen/jeroen.theme index 55717c8db..61aa3ac45 100644 --- a/themes/jeroen/jeroen.theme +++ b/themes/jeroen/jeroen.theme @@ -117,7 +117,7 @@ case 12: $how = "Forged"; break; default: $how = "Sneaked through"; } - echo "". strtr(t("$how by %a on %b"), array("%a" => format_name($node->name), "%b" => format_date($node->timestamp), "large")) .""; + echo "". strtr(t("$how by %a on %b"), array("%a" => format_name($node), "%b" => format_date($node->timestamp), "large")) .""; ?> @@ -192,7 +192,7 @@ // Author: echo " "; - echo "
". t("Author") .":". format_name($comment->name) ." "; + echo " ". t("Author") .":". format_name($comment) ." "; if ($comment->name) { // Display extra information line: if ($comment->fake_email) $info .= format_email($comment->fake_email); diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme index e4d9e7c95..9c589e81f 100644 --- a/themes/marvin/marvin.theme +++ b/themes/marvin/marvin.theme @@ -56,7 +56,7 @@ print "\n"; print " \n"; print " \n"; - print " \n"; + print " \n"; print " \n"; print " \n"; print " \n"; @@ -90,7 +90,7 @@ // Author: print " \n"; - print " \n"; + print " \n"; print " \n"; // Date diff --git a/themes/unconed/images/logo.gif b/themes/unconed/images/logo.gif index 6ac649096..637455468 100644 Binary files a/themes/unconed/images/logo.gif and b/themes/unconed/images/logo.gif differ diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme index 688b00998..2f46ab7c9 100644 --- a/themes/unconed/unconed.theme +++ b/themes/unconed/unconed.theme @@ -60,7 +60,9 @@
\"\"   ". check_output($node->title) ."
\"\"
". strtr(t("Submitted by %a on %b"), array("%a" => format_name($node->name), "%b" => format_date($node->timestamp, "large"))); ?>". node_index($node) ."
". strtr(t("Submitted by %a on %b"), array("%a" => format_name($node), "%b" => format_date($node->timestamp, "large"))); ?>". node_index($node) ."
 

". check_output($node->body, 1) ."

 
". t("Author") .":". format_name($comment->name) ."". t("Author") .":". format_name($comment) ."
- + bgcolor2\">" . strtr(t("Submitted by %a on %b"), array("%a" => format_name($node->name), "%b" => format_date($node->timestamp, "large"))) . " @@ -139,7 +141,7 @@ // Author: echo " "; - echo " @@ -172,7 +172,7 @@ -- cgit v1.2.3
logo +
logo
+
@@ -90,7 +92,7 @@
title) .""; ?>
bgcolor2\" ALIGN=\"center\" NOWRAP>". node_index($node) .""; + print "bgcolor2\">" . strtr(t("Submitted by %a on %b"), array("%a" => format_name($node), "%b" => format_date($node->timestamp, "large"))) . "bgcolor2\" ALIGN=\"center\" NOWRAP>". node_index($node) .""; ?>
" . t("Author") . ":" . format_name($comment->name) . " "; + echo " " . t("Author") . ":" . format_name($node) . " "; if ($comment->name) { // Display extra information line: if ($comment->fake_email) $info .= format_email($comment->fake_email); diff --git a/themes/yaroon/yaroon.theme b/themes/yaroon/yaroon.theme index d964638f0..7ef49edbc 100644 --- a/themes/yaroon/yaroon.theme +++ b/themes/yaroon/yaroon.theme @@ -134,7 +134,7 @@
 title); ?> - format_name($node->name), "%b" => format_date($node->timestamp), "small")); ?> + format_name($node), "%b" => format_date($node->timestamp), "small")); ?>
 subject); ?> - format_name($comment->name), "%b" => format_date($comment->timestamp), "small")); ?> + format_name($comment), "%b" => format_date($comment->timestamp), "small")); ?>