LuckyCoinkydink/templates/next/plugin_staticpage_sidebar.tpl
Matthias Mees 9290ee29da Move/rename 2k15 to next
The name has been changed to protect the innocent. (Meaning the
users. From confusion.)
2015-02-11 14:32:24 +01:00

22 lines
836 B
Smarty

{if !empty($staticpage_jsStr)}
<div class="staticpage_sbJsList">
{$staticpage_jsStr}
</div>
{/if}
{if !$staticpage_jsStr or empty($staticpage_jsStr)}
<ul class="plainList">
{if $frontpage_path}
<li><a href="{$frontpage_path}">{$CONST.PLUGIN_STATICPAGELIST_FRONTPAGE_LINKNAME}</a></li>
{/if}
{if is_array($staticpage_listContent) and !empty($staticpage_listContent)}
{foreach name="pageList" from=$staticpage_listContent item="pageList"}
{if !empty($pageList.permalink)}
<li class="depth_{$pageList.depth}"><a href="{$pageList.permalink}" title="{$pageList.pagetitle}">{$pageList.headline|truncate:20:"..."}</a></li>
{else}
<li class="depth_{$pageList.depth}">{$pageList.headline|truncate:20:"..."}</li>
{/if}
{/foreach}
{/if}
</ul>
{/if}