From 637004c5391eb48b473a80df1de425aaae8edc25 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 23 Jan 2003 09:24:20 +0000 Subject: - Tidied up XHTML. Patch by Ulf. - Added missing t() function. Patch by Stefan. --- modules/profile.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/profile.module') diff --git a/modules/profile.module b/modules/profile.module index 83f5ea53a..c1c5b7810 100644 --- a/modules/profile.module +++ b/modules/profile.module @@ -125,7 +125,7 @@ function _profile_form($edit, $mode) { if ($edit["profile_avatar"] && $edit["uid"]) { $file = profile_avatar_path($edit["uid"], $edit["profile_avatar"]); if ($file) { - $output .= "
"; + $output .= "\"\"
"; } } $output .= form_file($profile_fields["avatar"][1], "profile_avatar", 64, $profile_fields["avatar"][2]); @@ -187,7 +187,7 @@ function _profile_user_view(&$user, $mode) { if ($t == "profile_avatar") { $file = profile_avatar_path($user->uid, $user->profile_avatar); if (file_exists($file)) { - $output .= form_item(t("Avatar"), ""); + $output .= form_item(t("Avatar"), "\"\""); } } -- cgit v1.2.3