diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-01-23 09:24:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-01-23 09:24:20 +0000 |
commit | 637004c5391eb48b473a80df1de425aaae8edc25 (patch) | |
tree | 97c9b38f58fe0d6f3280a022d89740a1cadd92db /modules/profile.module | |
parent | 4dac201e7c447a1f7e09d7972a14f517bbbf3edc (diff) | |
download | brdo-637004c5391eb48b473a80df1de425aaae8edc25.tar.gz brdo-637004c5391eb48b473a80df1de425aaae8edc25.tar.bz2 |
- Tidied up XHTML. Patch by Ulf.
- Added missing t() function. Patch by Stefan.
Diffstat (limited to 'modules/profile.module')
-rw-r--r-- | modules/profile.module | 4 |
1 files changed, 2 insertions, 2 deletions
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 .= "<img src=\"$file\"><br />"; + $output .= "<img src=\"$file\" alt=\"\" /><br />"; } } $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"), "<img src=\"$file\" />"); + $output .= form_item(t("Avatar"), "<img src=\"$file\" alt=\"\" />"); } } |