summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-07-01 17:39:00 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-07-01 17:39:00 +0000
commit26219ef8296cba8ca17372d663034ad0522400bb (patch)
treed531f376e54ebb8126e8d822e13f178b4bda6b28
parentb3de8e4d9b2b999293e13d42bd2c477aeb0ba7f7 (diff)
downloadpigeonholes-26219ef8296cba8ca17372d663034ad0522400bb.tar.gz
pigeonholes-26219ef8296cba8ca17372d663034ad0522400bb.tar.bz2
pigeonholes-26219ef8296cba8ca17372d663034ad0522400bb.zip
standardise all menus by using new ilocation=menu and add missing icons
-rw-r--r--templates/menu_pigeonholes.tpl14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/menu_pigeonholes.tpl b/templates/menu_pigeonholes.tpl
index 2d52bf4..c4afbe7 100644
--- a/templates/menu_pigeonholes.tpl
+++ b/templates/menu_pigeonholes.tpl
@@ -1,23 +1,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>
+ <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?action=create">{biticon iname="document-new" iexplain="Create Category" ilocation=menu}</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>
+ <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}list.php">{biticon iname="format-justify-fill" iexplain="List Categories" ilocation=menu}</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}{if $gBitSystem->isFeatureActive('pretty_urls_extended')}view/structure/{else}view.php?structure_id={/if}{$gContent->mStructureId}">{biticon ipackage=liberty iname=spacer iexplain="" iforce="icon"} {tr}View Category{/tr}</a></li>
+ <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}{if $gBitSystem->isFeatureActive('pretty_urls_extended')}view/structure/{else}view.php?structure_id={/if}{$gContent->mStructureId}">{biticon iname=edit-find iexplain="View Category" ilocation=menu}</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}&amp;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}&amp;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>
+ <li><a class="head" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->getField('structure_id')}&amp;action=edit">{biticon iname="accessories-text-editor" iexplain="Edit Category" ilocation=menu}</a></li>
+ <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->getField('root_structure_id')}&amp;action=create">{biticon iname="insert-object" iexplain="Insert Sub-Category" ilocation=menu}</a></li>
+ <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_structure.php?structure_id={$gContent->getField('structure_id')}">{biticon iname="view-refresh" iexplain="Change Structure" ilocation=menu}</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>
+ <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}assign_content.php">{biticon iname="mail-attachment" iexplain="Assign Content" ilocation=menu}</a></li>
{/if}
</ul>
{/strip}