sforkowany z mirror/friendica
68 wiersze
2.3 KiB
Smarty
68 wiersze
2.3 KiB
Smarty
{{if $mode == display}}
|
|
{{ else }}
|
|
{{if $item.comment_firstcollapsed}}
|
|
<div class="hide-comments-outer">
|
|
<span id="hide-comments-total-$item.id"
|
|
class="hide-comments-total">$item.num_comments</span>
|
|
<span id="hide-comments-$item.id"
|
|
class="hide-comments fakelink"
|
|
onclick="showHideComments($item.id);">$item.hide_text</span>
|
|
{{ if $item.thread_level==3 }} -
|
|
<span id="hide-thread-$item-id"
|
|
class="fakelink"
|
|
onclick="showThread($item.id);">expand</span> /
|
|
<span id="hide-thread-$item-id"
|
|
class="fakelink"
|
|
onclick="hideThread($item.id);">collapse</span> thread{{ endif }}
|
|
</div>
|
|
<div id="collapsed-comments-$item.id" class="collapsed-comments" style="display: none;">
|
|
{{endif}}
|
|
{{ endif }}
|
|
|
|
{{ if $item.thread_level!=1 }}<div class="children">{{ endif }}
|
|
|
|
|
|
<div class="wall-item-container item-tag $item.indent $item.shiny">
|
|
<div class="wall-item-item">
|
|
<div class="wall-item-info">
|
|
<div class="contact-photo-wrapper">
|
|
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="contact-photo-link" id="wall-item-photo-link-$item.id">
|
|
<img src="$item.thumb" class="contact-photo$item.sparkle" id="wall-item-photo-$item.id" alt="$item.name" />
|
|
</a>
|
|
<ul class="contact-menu menu-popup" id="wall-item-photo-menu-$item.id">
|
|
$item.item_photo_menu
|
|
</ul>
|
|
|
|
</div>
|
|
<div class="wall-item-location">$item.location</div>
|
|
</div>
|
|
<div class="wall-item-content">
|
|
$item.ago $item.body
|
|
</div>
|
|
<div class="wall-item-tools">
|
|
{{ if $item.drop.pagedrop }}
|
|
<input type="checkbox" title="$item.drop.select" name="itemselected[]" class="item-select" value="$item.id" />
|
|
{{ endif }}
|
|
{{ if $item.drop.dropping }}
|
|
<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon delete s16" title="$item.drop.delete">$item.drop.delete</a>
|
|
{{ endif }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{ if $item.thread_level!=1 }}</div>{{ endif }}
|
|
|
|
{{if $mode == display}}
|
|
{{ else }}
|
|
{{if $item.comment_lastcollapsed}}</div>{{endif}}
|
|
{{ endif }}
|
|
|
|
{# top thread comment box #}
|
|
{{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
|
|
<div class="wall-item-comment-wrapper" >$item.comment</div>
|
|
{{ endif }}{{ endif }}{{ endif }}
|
|
|
|
{{ if $item.flatten }}
|
|
<div class="wall-item-comment-wrapper" >$item.comment</div>
|
|
{{ endif }}
|