|
|
|
@ -1,28 +1,26 @@ |
|
|
|
{if="$page == 0"} |
|
|
|
<header> |
|
|
|
<ul class="tabs wide"> |
|
|
|
<li {if="$type == 'all'"}class="active"{/if}> |
|
|
|
<a href="#" onclick="Menu_ajaxGetAll(); Menu.setLoad(this);">{$c->__('menu.all')}</a> |
|
|
|
</li> |
|
|
|
<li {if="$type == 'news'"}class="active"{/if} > |
|
|
|
<a href="#communities" class="on_desktop" onclick="Menu_ajaxGetNews(); Menu.setLoad(this);" title="{$c->__('page.news')}"> |
|
|
|
{$c->__('page.communities')} |
|
|
|
</a> |
|
|
|
<a href="#communities" class="on_mobile" onclick="Menu_ajaxGetNews(); Menu.setLoad(this);" title="{$c->__('page.news')}"> |
|
|
|
<i class="material-icons">group_work</i> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
<li {if="$type == 'feed'"}class="active"{/if}> |
|
|
|
<a href="#contacts" class="on_desktop" onclick="Menu_ajaxGetFeed(); Menu.setLoad(this);" title="{$c->__('page.feed')}"> |
|
|
|
{$c->__('page.contacts')} |
|
|
|
</a> |
|
|
|
<a href="#contacts" class="on_mobile" onclick="Menu_ajaxGetFeed(); Menu.setLoad(this);" title="{$c->__('page.feed')}"> |
|
|
|
<i class="material-icons">people</i> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</header> |
|
|
|
{/if} |
|
|
|
<header> |
|
|
|
<ul class="tabs wide"> |
|
|
|
<li {if="$type == 'all'"}class="active"{/if}> |
|
|
|
<a href="#" onclick="Menu_ajaxGetAll(); Menu.setLoad(this);">{$c->__('menu.all')}</a> |
|
|
|
</li> |
|
|
|
<li {if="$type == 'news'"}class="active"{/if} > |
|
|
|
<a href="#communities" class="on_desktop" onclick="Menu_ajaxGetNews(); Menu.setLoad(this);" title="{$c->__('page.news')}"> |
|
|
|
{$c->__('page.communities')} |
|
|
|
</a> |
|
|
|
<a href="#communities" class="on_mobile" onclick="Menu_ajaxGetNews(); Menu.setLoad(this);" title="{$c->__('page.news')}"> |
|
|
|
<i class="material-icons">group_work</i> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
<li {if="$type == 'feed'"}class="active"{/if}> |
|
|
|
<a href="#contacts" class="on_desktop" onclick="Menu_ajaxGetFeed(); Menu.setLoad(this);" title="{$c->__('page.feed')}"> |
|
|
|
{$c->__('page.contacts')} |
|
|
|
</a> |
|
|
|
<a href="#contacts" class="on_mobile" onclick="Menu_ajaxGetFeed(); Menu.setLoad(this);" title="{$c->__('page.feed')}"> |
|
|
|
<i class="material-icons">people</i> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</header> |
|
|
|
|
|
|
|
{if="$type == 'me' && $c->getUser()->hasPubsub() && $page == 0"} |
|
|
|
<ul class="list active on_desktop flex"> |
|
|
|
@ -52,10 +50,8 @@ |
|
|
|
{/if} |
|
|
|
|
|
|
|
{if="$items->isNotEmpty()"} |
|
|
|
{if="$page == 0"} |
|
|
|
<div id="menu_refresh"></div> |
|
|
|
<div class="list card shadow" id="menu_wrapper"> |
|
|
|
{/if} |
|
|
|
<div id="menu_refresh"></div> |
|
|
|
<div class="list card shadow" id="menu_wrapper"> |
|
|
|
|
|
|
|
{loop="$items"} |
|
|
|
<div id="{$value->nodeid|cleanupId}" class="block large"> |
|
|
|
@ -64,18 +60,18 @@ |
|
|
|
{/loop} |
|
|
|
{if="count($items) == $paging"} |
|
|
|
<ul class="list active thick"> |
|
|
|
<li id="history" class="large" onclick="{$history} this.parentNode.removeChild(this);"> |
|
|
|
<span class="icon primary gray"> |
|
|
|
<i class="material-icons">history</i> |
|
|
|
</span> |
|
|
|
<p class="normal center line">{$c->__('post.older')}</p> |
|
|
|
</li> |
|
|
|
<a href="{$goback}"> |
|
|
|
<li id="history" class="large"> |
|
|
|
<span class="icon primary gray"> |
|
|
|
<i class="material-icons">history</i> |
|
|
|
</span> |
|
|
|
<p class="normal center line">{$c->__('post.older')}</p> |
|
|
|
</li> |
|
|
|
</a> |
|
|
|
</ul> |
|
|
|
{/if} |
|
|
|
|
|
|
|
{if="$page == 0"} |
|
|
|
</div> |
|
|
|
{/if} |
|
|
|
</div> |
|
|
|
{elseif="$page == 0"} |
|
|
|
<div id="menu_refresh"></div> |
|
|
|
<br/> |
|
|
|
|