mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.3 KiB
41 lines
1.3 KiB
<!--<div class="placeholder icon newspaper">
|
|
<h1>{$c->__('post.news_feed')}</h1>
|
|
<h4>{$c->__('post.placeholder')}</h4>
|
|
</div>-->
|
|
<br/>
|
|
<h2 class="padded">{$c->__('post.hot')}</h2>
|
|
|
|
<ul class="flex card thick active">
|
|
{loop="$posts"}
|
|
{if="!filter_var($value->origin, FILTER_VALIDATE_EMAIL)"}
|
|
<li
|
|
class="block condensed"
|
|
data-id="{$value->nodeid}"
|
|
data-server="{$value->origin}"
|
|
data-node="{$value->node}">
|
|
{if="current(explode('.', $value->origin)) == 'nsfw'"}
|
|
<span class="icon bubble color red tiny">
|
|
+18
|
|
</span>
|
|
{else}
|
|
<span class="icon bubble color {$value->node|stringToColor}">
|
|
{$value->node|firstLetterCapitalize}
|
|
</span>
|
|
{/if}
|
|
<span>
|
|
{if="isset($value->title)"}
|
|
{$value->title}
|
|
{else}
|
|
{$value->node}
|
|
{/if}
|
|
</span>
|
|
<!--<span class="info">{$value->published|strtotime|prepareDate}</span>-->
|
|
<p class="more">
|
|
{if="current(explode('.', $value->origin)) != 'nsfw'"}
|
|
{$value->contentcleaned|strip_tags:'<img><img/>'}
|
|
{/if}
|
|
</p>
|
|
</li>
|
|
{/if}
|
|
{/loop}
|
|
</ul>
|