summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-11-30 14:26:35 +0000
committerNick Palmer <nick@sluggardy.net>2007-11-30 14:26:35 +0000
commit4aa610cccd881394ff146d4ade52a4976f6a35be (patch)
treebbd2217ef63563ff7b0bb2f5b11e5fb0e313ed7e /templates
parent06a81d01af0b26fc6382e9096ea7e5247ee474b1 (diff)
downloadpigeonholes-4aa610cccd881394ff146d4ade52a4976f6a35be.tar.gz
pigeonholes-4aa610cccd881394ff146d4ade52a4976f6a35be.tar.bz2
pigeonholes-4aa610cccd881394ff146d4ade52a4976f6a35be.zip
Add delete menu item to allow deletion of a category.
Diffstat (limited to 'templates')
-rw-r--r--templates/menu_pigeonholes.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/menu_pigeonholes.tpl b/templates/menu_pigeonholes.tpl
index c4afbe7..e1687df 100644
--- a/templates/menu_pigeonholes.tpl
+++ b/templates/menu_pigeonholes.tpl
@@ -12,6 +12,7 @@
<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>
+ <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}edit_pigeonholes.php?structure_id={$gContent->getField('structure_id')}&amp;action=remove">{biticon iname="edit-delete" iexplain="Delete Category" ilocation=menu}</a></li>
{/if}
{/if}
{/if}