blob: abacb65f2382bc06f8381db076b944d003df597b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{strip}
<ul>
{if $gBitUser->hasPermission( 'p_pigeonholes_edit' )}
<li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?action=create">{biticon ipackage="icons" iname="document-new" iexplain="Create Category" iforce="icon"} {tr}Create Category{/tr}</a></li>
{/if}
{if $gBitUser->hasPermission( 'p_pigeonholes_view' )}
<li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}list.php">{biticon ipackage="icons" iname="format-justify-fill" iexplain="List Categories" iforce="icon"} {tr}List Categories{/tr}</a></li>
{if $gContent->mStructureId and $gContent->mType.content_type_guid == $smarty.const.PIGEONHOLES_CONTENT_TYPE_GUID}
<li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}view.php?structure_id={$gContent->mStructureId}">{biticon ipackage=liberty iname=spacer iexplain="" iforce="icon"} {tr}View Category{/tr}</a></li>
{if $gBitUser->hasPermission( 'p_pigeonholes_edit' )}
<li><a class="head" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->mInfo.structure_id}&action=edit">{biticon ipackage="icons" iname="accessories-text-editor" iexplain="Edit Category" iforce="icon"} {tr}Edit Category{/tr}</a></li>
<li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->mInfo.root_structure_id}&action=create">{biticon ipackage="icons" iname="insert-object" iexplain="Insert Category" iforce="icon"} {tr}Insert Category{/tr}</a></li>
<li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_structure.php?structure_id={$gContent->mInfo.structure_id}">{biticon ipackage="icons" iname="view-refresh" iexplain="Change Structure" iforce="icon"} {tr}Change Structure{/tr}</a></li>
{/if}
{/if}
{/if}
{if $gBitUser->hasPermission( 'p_pigeonholes_edit' )}
<li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}assign_content.php">{biticon ipackage="icons" iname="mail-attachment" iexplain="Assign Content" iforce="icon"} {tr}Assign Content{/tr}</a></li>
{/if}
</ul>
{/strip}
|