From 8ebedbaa2bc099bd3295a11eebb5e37ebc5f59f4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 6 Mar 2004 11:07:16 +0000 Subject: - Patch #6260 by TDobes: fixed incorrect alt-attribute for avatar images in the Xtemplate theme. --- themes/xtemplate/xtemplate.theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes') diff --git a/themes/xtemplate/xtemplate.theme b/themes/xtemplate/xtemplate.theme index fec06ff50..ac3e43a14 100644 --- a/themes/xtemplate/xtemplate.theme +++ b/themes/xtemplate/xtemplate.theme @@ -78,7 +78,7 @@ function xtemplate_node($node, $main = 0, $page = 0) { $avatar = file_create_url($avatar); } if ($avatar) { - $avatar = "\"" $comment->name ? $comment->name : t(variable_get("anonymous", "Anonymous")))) . "\" />"; + $avatar = "\"" $node->name ? $node->name : t(variable_get("anonymous", "Anonymous")))) . "\" />"; if ($node->uid) { $avatar = l($avatar, "user/view/$node->uid", array("title" => t("View user profile."))); } -- cgit v1.2.3