Browse Source

string extraction

pull/1/head
Friendika 10 years ago
parent
commit
2d80c601df
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      mod/profiles.php
  2. +1
    -1
      view/profile_entry.tpl

+ 1
- 0
mod/profiles.php View File

@ -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']
));
}


+ 1
- 1
view/profile_entry.tpl View File

@ -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>


Loading…
Cancel
Save