summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2007-03-15 20:55:10 +0000
committerwjames5 <will@tekimaki.com>2007-03-15 20:55:10 +0000
commitdc620bc01ff580db8c9f69498a9723a5eb2fb647 (patch)
treea862cfb9d1a047366f40edb37e0b7bde11bf91b0 /templates
parent6cd16f5e8e595db013647daa391f1526aeac4237 (diff)
downloadtags-dc620bc01ff580db8c9f69498a9723a5eb2fb647.tar.gz
tags-dc620bc01ff580db8c9f69498a9723a5eb2fb647.tar.bz2
tags-dc620bc01ff580db8c9f69498a9723a5eb2fb647.zip
add menu parts
Diffstat (limited to 'templates')
-rw-r--r--templates/admin_tags.tpl11
-rw-r--r--templates/menu_tags.tpl10
-rw-r--r--templates/menu_tags_admin.tpl1
3 files changed, 22 insertions, 0 deletions
diff --git a/templates/admin_tags.tpl b/templates/admin_tags.tpl
new file mode 100644
index 0000000..5545731
--- /dev/null
+++ b/templates/admin_tags.tpl
@@ -0,0 +1,11 @@
+{strip}
+{form}
+ {jstabs}
+ {jstab title="Tags Options"}
+ {legend legend="Tags Options"}
+ Currently there are no admin options
+ {/legend}
+ {/jstab}
+ {/jstabs}
+{/form}
+{/strip}
diff --git a/templates/menu_tags.tpl b/templates/menu_tags.tpl
new file mode 100644
index 0000000..00a9463
--- /dev/null
+++ b/templates/menu_tags.tpl
@@ -0,0 +1,10 @@
+{strip}
+<ul>
+ {if $gBitUser->hasPermission( 'bit_tags_view' )}
+ <li><a class="item" href="{$smarty.const.TAGS_PKG_URL}index.php">{biticon ipackage="icons" iname="applications-internet" iexplain="Shows a tag cloud" iforce="icon"} {tr}Tags{/tr}</a></li>
+ {/if}
+ {if $gBitUser->hasPermission( 'bit_tags_edit' )}
+ <li><a class="item" href="{$smarty.const.TAGS_PKG_URL}edit.php">{biticon ipackage="icons" iname="document-new" iexplain="Edit tags" iforce="icon"} {tr}Edit tags{/tr}</a></li>
+ {/if}
+</ul>
+{/strip}
diff --git a/templates/menu_tags_admin.tpl b/templates/menu_tags_admin.tpl
new file mode 100644
index 0000000..0c7ba46
--- /dev/null
+++ b/templates/menu_tags_admin.tpl
@@ -0,0 +1 @@
+<ul><li><a class="item" href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=tags">{tr}Tags Settings{/tr}</a></li></ul> \ No newline at end of file