16 changed files with 159 additions and 32 deletions
-
3app/models/contact/ContactDAO.php
-
22app/models/postn/PostnDAO.php
-
6app/widgets/Chat/_chat_message.tpl
-
2app/widgets/Hello/Hello.php
-
29app/widgets/Hello/hello.tpl
-
2app/widgets/Hello/locales.ini
-
2app/widgets/Menu/Menu.php
-
25app/widgets/Menu/_menu_list.tpl
-
3app/widgets/Menu/menu.js
-
7app/widgets/Post/Post.php
-
6app/widgets/Post/_post_embed.tpl
-
41app/widgets/Post/_post_empty.tpl
-
1app/widgets/Post/locales.ini
-
2system/Route.php
-
35themes/material/css/list.css
-
5themes/material/css/style.css
@ -1,2 +1,4 @@ |
|||
hello.chat = 'Go on the Chat page' |
|||
hello.news = 'Read all theses articles on the News page' |
|||
hello.blog_title= 'Visit your public blog' |
|||
hello.blog_text = 'See your public posts and share them with all your contacts' |
@ -1,4 +1,41 @@ |
|||
<div class="placeholder icon newspaper"> |
|||
<!--<div class="placeholder icon newspaper"> |
|||
<h1>{$c->__('post.news_feed')}</h1> |
|||
<h4>{$c->__('post.placeholder')}</h4> |
|||
</div> |
|||
</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> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue