Merge pull request #571 from fermionic/20121230-diabook-template-dashes
replace dashes with underscores in diabook
This commit is contained in:
commit
c7d820dee5
|
@ -2,8 +2,8 @@
|
||||||
<div class="directory-item" id="directory-item-$id" >
|
<div class="directory-item" id="directory-item-$id" >
|
||||||
<div class="directory-photo-wrapper" id="directory-photo-wrapper-$id" >
|
<div class="directory-photo-wrapper" id="directory-photo-wrapper-$id" >
|
||||||
<div class="directory-photo" id="directory-photo-$id" >
|
<div class="directory-photo" id="directory-photo-$id" >
|
||||||
<a href="$profile-link" class="directory-profile-link" id="directory-profile-link-$id" >
|
<a href="$profile_link" class="directory-profile-link" id="directory-profile-link-$id" >
|
||||||
<img class="directory-photo-img" src="$photo" alt="$alt-text" title="$alt-text" />
|
<img class="directory-photo-img" src="$photo" alt="$alt_text" title="$alt_text" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -393,9 +393,9 @@ if ($color=="dark") $color_path = "/diabook-dark/";
|
||||||
$profile_link = $a->get_baseurl() . '/profile/' . ((strlen($rr['nickname'])) ? $rr['nickname'] : $rr['profile_uid']);
|
$profile_link = $a->get_baseurl() . '/profile/' . ((strlen($rr['nickname'])) ? $rr['nickname'] : $rr['profile_uid']);
|
||||||
$entry = replace_macros($tpl,array(
|
$entry = replace_macros($tpl,array(
|
||||||
'$id' => $rr['id'],
|
'$id' => $rr['id'],
|
||||||
'$profile-link' => zrl($rr['url']),
|
'$profile_link' => zrl($rr['url']),
|
||||||
'$photo' => $rr[$photo],
|
'$photo' => $rr[$photo],
|
||||||
'$alt-text' => $rr['name'],
|
'$alt_text' => $rr['name'],
|
||||||
));
|
));
|
||||||
$aside['$comunity_profiles_items'][] = $entry;
|
$aside['$comunity_profiles_items'][] = $entry;
|
||||||
}
|
}
|
||||||
|
@ -422,9 +422,9 @@ if ($color=="dark") $color_path = "/diabook-dark/";
|
||||||
$profile_link = $a->get_baseurl() . '/profile/' . ((strlen($rr['nickname'])) ? $rr['nickname'] : $rr['profile_uid']);
|
$profile_link = $a->get_baseurl() . '/profile/' . ((strlen($rr['nickname'])) ? $rr['nickname'] : $rr['profile_uid']);
|
||||||
$entry = replace_macros($tpl,array(
|
$entry = replace_macros($tpl,array(
|
||||||
'$id' => $rr['id'],
|
'$id' => $rr['id'],
|
||||||
'$profile-link' => $profile_link,
|
'$profile_link' => $profile_link,
|
||||||
'$photo' => $a->get_cached_avatar_image($rr[$photo]),
|
'$photo' => $a->get_cached_avatar_image($rr[$photo]),
|
||||||
'$alt-text' => $rr['name'],
|
'$alt_text' => $rr['name'],
|
||||||
));
|
));
|
||||||
$aside['$lastusers_items'][] = $entry;
|
$aside['$lastusers_items'][] = $entry;
|
||||||
}
|
}
|
||||||
|
@ -501,9 +501,9 @@ if ($color=="dark") $color_path = "/diabook-dark/";
|
||||||
|
|
||||||
$entry = replace_macros($tpl,array(
|
$entry = replace_macros($tpl,array(
|
||||||
'$id' => $rr['id'],
|
'$id' => $rr['id'],
|
||||||
'$profile-link' => $photo_page,
|
'$profile_link' => $photo_page,
|
||||||
'$photo' => $photo_url,
|
'$photo' => $photo_url,
|
||||||
'$alt-text' => $rr['username']." : ".$rr['desc'],
|
'$alt_text' => $rr['username']." : ".$rr['desc'],
|
||||||
));
|
));
|
||||||
|
|
||||||
$aside['$photos_items'][] = $entry;
|
$aside['$photos_items'][] = $entry;
|
||||||
|
|
Loading…
Reference in a new issue