diff options
Diffstat (limited to 'view/tpl/event.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/event.tpl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/view/tpl/event.tpl b/view/tpl/event.tpl index 80c1dfc55..e0977e262 100644..100755 --- a/view/tpl/event.tpl +++ b/view/tpl/event.tpl @@ -1,10 +1,10 @@ -{{ for $events as $event }} +{{foreach $events as $event}} <div class="event"> - {{ if $event.item.author-name }}<a href="$event.item.author-link" ><img src="$event.item.author-avatar" height="32" width="32" />$event.item.author-name</a>{{ endif }} - $event.html - {{ if $event.item.plink }}<a href="$event.plink.0" title="$event.plink.1" class="plink-event-link icon s22 remote-link"></a>{{ endif }} - {{ if $event.edit }}<a href="$event.edit.0" title="$event.edit.1" class="edit-event-link icon s22 pencil"></a>{{ endif }} + {{if $event.item.author.xchan_name}}<a href="{{$event.item.author.xchan_url}}" ><img src="{{$event.item.author.xchan_photo_s}}" height="32" width="32" />{{$event.item.author.xchan_name}}</a>{{/if}} + {{$event.html}} + {{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" class="plink-event-link"><i class="icon-external-link" ></i></a>{{/if}} + {{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link"><i class="icon-pencil"></i></a>{{/if}} </div> <div class="clear"></div> -{{ endfor }} +{{/foreach}} |