mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 19:03:17 +00:00
remove dash template vars from forumdirectory
This commit is contained in:
parent
f23480686d
commit
431c402719
4 changed files with 9 additions and 9 deletions
Binary file not shown.
|
@ -168,12 +168,12 @@ function forumdirectory_content(&$a) {
|
||||||
|
|
||||||
$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'],
|
||||||
'$name' => $rr['name'],
|
'$name' => $rr['name'],
|
||||||
'$details' => $pdesc . $details,
|
'$details' => $pdesc . $details,
|
||||||
'$page-type' => $page_type,
|
'$page_type' => $page_type,
|
||||||
'$profile' => $profile,
|
'$profile' => $profile,
|
||||||
'$location' => template_escape($location),
|
'$location' => template_escape($location),
|
||||||
'$gender' => $gender,
|
'$gender' => $gender,
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
<div class="forumdirectory-item" id="forumdirectory-item-$id" >
|
<div class="forumdirectory-item" id="forumdirectory-item-$id" >
|
||||||
<div class="forumdirectory-photo-wrapper" id="forumdirectory-photo-wrapper-$id" >
|
<div class="forumdirectory-photo-wrapper" id="forumdirectory-photo-wrapper-$id" >
|
||||||
<div class="forumdirectory-photo" id="forumdirectory-photo-$id" >
|
<div class="forumdirectory-photo" id="forumdirectory-photo-$id" >
|
||||||
<a href="$profile-link" class="forumdirectory-profile-link" id="forumdirectory-profile-link-$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" />
|
<img class="forumdirectory-photo-img photo" src="$photo" alt="$alt_text" title="$alt_text" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="forumdirectory-profile-wrapper" id="forumdirectory-profile-wrapper-$id" >
|
<div class="forumdirectory-profile-wrapper" id="forumdirectory-profile-wrapper-$id" >
|
||||||
<div class="contact-name" id="forumdirectory-name-$id">$name</div>
|
<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 }}
|
{{ if $pdesc }}<div class="forumdirectory-profile-title">$profile.pdesc</div>{{ endif }}
|
||||||
<div class="forumdirectory-detailcolumns-wrapper" id="forumdirectory-detailcolumns-wrapper-$id">
|
<div class="forumdirectory-detailcolumns-wrapper" id="forumdirectory-detailcolumns-wrapper-$id">
|
||||||
<div class="forumdirectory-detailscolumn-wrapper" id="forumdirectory-detailscolumn1-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-item" id="forumdirectory-item-{{$id}}" >
|
||||||
<div class="forumdirectory-photo-wrapper" id="forumdirectory-photo-wrapper-{{$id}}" >
|
<div class="forumdirectory-photo-wrapper" id="forumdirectory-photo-wrapper-{{$id}}" >
|
||||||
<div class="forumdirectory-photo" id="forumdirectory-photo-{{$id}}" >
|
<div class="forumdirectory-photo" id="forumdirectory-photo-{{$id}}" >
|
||||||
<a href="{{$profile}}-link" class="forumdirectory-profile-link" id="forumdirectory-profile-link-{{$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" />
|
<img class="forumdirectory-photo-img photo" src="{{$photo}}" alt="{{$alt_text}}" title="{{$alt_text}}" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="forumdirectory-profile-wrapper" id="forumdirectory-profile-wrapper-{{$id}}" >
|
<div class="forumdirectory-profile-wrapper" id="forumdirectory-profile-wrapper-{{$id}}" >
|
||||||
<div class="contact-name" id="forumdirectory-name-{{$id}}">{{$name}}</div>
|
<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}}
|
{{if $pdesc}}<div class="forumdirectory-profile-title">{{$profile.pdesc}}</div>{{/if}}
|
||||||
<div class="forumdirectory-detailcolumns-wrapper" id="forumdirectory-detailcolumns-wrapper-{{$id}}">
|
<div class="forumdirectory-detailcolumns-wrapper" id="forumdirectory-detailcolumns-wrapper-{{$id}}">
|
||||||
<div class="forumdirectory-detailscolumn-wrapper" id="forumdirectory-detailscolumn1-wrapper-{{$id}}">
|
<div class="forumdirectory-detailscolumn-wrapper" id="forumdirectory-detailscolumn1-wrapper-{{$id}}">
|
||||||
|
|
Loading…
Reference in a new issue