From 2d80c601df1e2f80033194e44d90380c26e42346 Mon Sep 17 00:00:00 2001 From: Friendika <info@friendika.com> Date: Wed, 12 Jan 2011 12:44:22 -0800 Subject: [PATCH] string extraction --- mod/profiles.php | 1 + view/profile_entry.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/profiles.php b/mod/profiles.php index 1c75dc0eb1..3488c8687e 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -401,6 +401,7 @@ function profiles_content(&$a) { $o .= replace_macros($template, array( '$photo' => $rr['thumb'], '$id' => $rr['id'], + '$alt' => t('Profile Image'), '$profile_name' => $rr['profile-name'] )); } diff --git a/view/profile_entry.tpl b/view/profile_entry.tpl index 5c6952af60..c5b782660a 100644 --- a/view/profile_entry.tpl +++ b/view/profile_entry.tpl @@ -1,7 +1,7 @@ <div class="profile-listing" > <div class="profile-listing-photo-wrapper" > -<a href="profiles/$id" class="profile-listing-edit-link"><img class="profile-listing-photo" id="profile-listing-photo-$id" src="$photo" alt="Profile Image" /></a> +<a href="profiles/$id" class="profile-listing-edit-link"><img class="profile-listing-photo" id="profile-listing-photo-$id" src="$photo" alt="$alt" /></a> </div> <div class="profile-listing-photo-end"></div> <div class="profile-listing-name" id="profile-listing-name-$id"><a href="profiles/$id" class="profile-listing-edit-link" >$profile_name</a></div> -- 2.39.5