aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-12 12:44:22 -0800
committerFriendika <info@friendika.com>2011-01-12 12:44:22 -0800
commit2d80c601df1e2f80033194e44d90380c26e42346 (patch)
tree94fd7b9bca39502f1dd14016bc8831ab23708d64
parentb11963f9ac3551ff850ddfd4c8c58fe0c87dee1a (diff)
downloadvolse-hubzilla-2d80c601df1e2f80033194e44d90380c26e42346.tar.gz
volse-hubzilla-2d80c601df1e2f80033194e44d90380c26e42346.tar.bz2
volse-hubzilla-2d80c601df1e2f80033194e44d90380c26e42346.zip
string extraction
-rw-r--r--mod/profiles.php1
-rw-r--r--view/profile_entry.tpl2
2 files changed, 2 insertions, 1 deletions
diff --git a/mod/profiles.php b/mod/profiles.php
index 1c75dc0eb..3488c8687 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 5c6952af6..c5b782660 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>