forked from friendica/friendica-addons
remove dash template vars from forumdirectory
This commit is contained in:
parent
f23480686d
commit
431c402719
Binary file not shown.
|
@ -168,12 +168,12 @@ function forumdirectory_content(&$a) {
|
|||
|
||||
$entry = replace_macros($tpl,array(
|
||||
'$id' => $rr['id'],
|
||||
'$profile-link' => $profile_link,
|
||||
'$profile_link' => $profile_link,
|
||||
'$photo' => $a->get_cached_avatar_image($rr[$photo]),
|
||||
'$alt-text' => $rr['name'],
|
||||
'$alt_text' => $rr['name'],
|
||||
'$name' => $rr['name'],
|
||||
'$details' => $pdesc . $details,
|
||||
'$page-type' => $page_type,
|
||||
'$page_type' => $page_type,
|
||||
'$profile' => $profile,
|
||||
'$location' => template_escape($location),
|
||||
'$gender' => $gender,
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
<div class="forumdirectory-item" id="forumdirectory-item-$id" >
|
||||
<div class="forumdirectory-photo-wrapper" id="forumdirectory-photo-wrapper-$id" >
|
||||
<div class="forumdirectory-photo" id="forumdirectory-photo-$id" >
|
||||
<a href="$profile-link" class="forumdirectory-profile-link" id="forumdirectory-profile-link-$id" >
|
||||
<img class="forumdirectory-photo-img photo" src="$photo" alt="$alt-text" title="$alt-text" />
|
||||
<a href="$profile_link" class="forumdirectory-profile-link" id="forumdirectory-profile-link-$id" >
|
||||
<img class="forumdirectory-photo-img photo" src="$photo" alt="$alt_text" title="$alt_text" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="forumdirectory-profile-wrapper" id="forumdirectory-profile-wrapper-$id" >
|
||||
<div class="contact-name" id="forumdirectory-name-$id">$name</div>
|
||||
<div class="page-type">$page-type</div>
|
||||
<div class="page-type">$page_type</div>
|
||||
{{ if $pdesc }}<div class="forumdirectory-profile-title">$profile.pdesc</div>{{ endif }}
|
||||
<div class="forumdirectory-detailcolumns-wrapper" id="forumdirectory-detailcolumns-wrapper-$id">
|
||||
<div class="forumdirectory-detailscolumn-wrapper" id="forumdirectory-detailscolumn1-wrapper-$id">
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
<div class="forumdirectory-item" id="forumdirectory-item-{{$id}}" >
|
||||
<div class="forumdirectory-photo-wrapper" id="forumdirectory-photo-wrapper-{{$id}}" >
|
||||
<div class="forumdirectory-photo" id="forumdirectory-photo-{{$id}}" >
|
||||
<a href="{{$profile}}-link" class="forumdirectory-profile-link" id="forumdirectory-profile-link-{{$id}}" >
|
||||
<img class="forumdirectory-photo-img photo" src="{{$photo}}" alt="{{$alt}}-text" title="{{$alt}}-text" />
|
||||
<a href="{{$profile_link}}" class="forumdirectory-profile-link" id="forumdirectory-profile-link-{{$id}}" >
|
||||
<img class="forumdirectory-photo-img photo" src="{{$photo}}" alt="{{$alt_text}}" title="{{$alt_text}}" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="forumdirectory-profile-wrapper" id="forumdirectory-profile-wrapper-{{$id}}" >
|
||||
<div class="contact-name" id="forumdirectory-name-{{$id}}">{{$name}}</div>
|
||||
<div class="page-type">{{$page}}-type</div>
|
||||
<div class="page-type">{{$page_type}}</div>
|
||||
{{if $pdesc}}<div class="forumdirectory-profile-title">{{$profile.pdesc}}</div>{{/if}}
|
||||
<div class="forumdirectory-detailcolumns-wrapper" id="forumdirectory-detailcolumns-wrapper-{{$id}}">
|
||||
<div class="forumdirectory-detailscolumn-wrapper" id="forumdirectory-detailscolumn1-wrapper-{{$id}}">
|
||||
|
|
Loading…
Reference in a new issue