blob: 90efa94ba67f62af4add1c76c23a7ff8249fc6ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{strip}
<ul>
{if $gBitUser->hasPermission( 'p_blogs_view' )}
{if $gBitSystem->isFeatureActive( 'blog_home' )}
<li><a class="item" href="{$smarty.const.BLOGS_PKG_URL}index.php">{biticon iname="go-home" iexplain="Home Blog" ilocation=menu}</a></li>
{/if}
<li><a class="item" href="{$smarty.const.BLOGS_PKG_URL}recent_posts.php">{biticon iname="view-refresh" iexplain="Recent Posts" ilocation=menu}</a></li>
<li><a class="item" href="{$smarty.const.BLOGS_PKG_URL}list_blogs.php?sort_mode=last_modified_desc">{biticon iname="format-justify-fill" iexplain="List Blogs" ilocation=menu}</a></li>
{/if}
{if $gBitUser->hasPermission( 'p_blogs_create' )}
<li><a class="item" href="{$smarty.const.BLOGS_PKG_URL}edit.php">{biticon iname="folder-new" iexplain="Create a Blog" ilocation=menu}</a></li>
{/if}
{if $gBitUser->hasPermission( 'p_blogs_post' )}
<li><a class="item" href="{$smarty.const.BLOGS_PKG_URL}post.php">{biticon iname="document-new" iexplain="Write Blog Post" ilocation=menu}</a></li>
{/if}
{if $gBitSystem->isFeatureActive( 'blog_rankings' ) and $gBitUser->hasPermission( 'p_blogs_view' )}
<li><a class="item" href="{$smarty.const.BLOGS_PKG_URL}rankings.php">{biticon iname="view-sort-ascending" iexplain="Blog Post Rankings" ilocation=menu}</a></li>
{/if}
</ul>
{/strip}
|