mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
41cd10f903
- add backticks around column "desc" in sql query - fixed query for data passed to showEvent - showEvent was picking up on id from item instead of id from event - fixed references to author info in template
10 lines
566 B
Smarty
10 lines
566 B
Smarty
{{ for $events as $event }}
|
|
<div class="event">
|
|
|
|
{{ 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>{{ 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 }}
|
|
</div>
|
|
<div class="clear"></div>
|
|
{{ endfor }}
|