aboutsummaryrefslogtreecommitdiffstats
path: root/template/public/yoga/admin/cat_list.tpl
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2006-06-18 12:04:59 +0000
committernikrou <nikrou@piwigo.org>2006-06-18 12:04:59 +0000
commit57cf3ba758cadf56e35aa030edf525e61a56cfc6 (patch)
treee5d0e5709285107f49130233e6f73874bd71f99e /template/public/yoga/admin/cat_list.tpl
parent7457a64443e25650728bcbe47f4649e21c04f4e6 (diff)
Issue 426: first step; separation of admin and public into two templates
Need to simplify and delete files not needed git-svn-id: http://piwigo.org/svn/trunk@1363 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/public/yoga/admin/cat_list.tpl')
-rw-r--r--template/public/yoga/admin/cat_list.tpl55
1 files changed, 55 insertions, 0 deletions
diff --git a/template/public/yoga/admin/cat_list.tpl b/template/public/yoga/admin/cat_list.tpl
new file mode 100644
index 000000000..ec4b66d43
--- /dev/null
+++ b/template/public/yoga/admin/cat_list.tpl
@@ -0,0 +1,55 @@
+<!-- $Id$ -->
+<h2>{lang:title_categories}</h2>
+
+<h3>{CATEGORIES_NAV}</h3>
+
+<!-- BEGIN categories -->
+<form id="categoryOrdering" action="{F_ACTION}" method="post">
+
+ <ul class="categoryUl">
+
+ <!-- BEGIN category -->
+ <li class="categoryLi"> <!-- category {category.ID} -->
+
+ <ul class="categoryActions">
+ <li><a href="{categories.category.U_JUMPTO}" title="{lang:jump to category}"><img src="{themeconf:icon_dir}/category_jump-to.png" class="button" alt="{lang:jump to}" /></a></li>
+ <li><a href="{categories.category.U_EDIT}" title="{lang:edit category informations}"><img src="{themeconf:icon_dir}/category_edit.png" class="button" alt="{lang:edit}"/></a></li>
+ <!-- BEGIN elements -->
+ <li><a href="{categories.category.elements.URL}" title="{lang:manage category elements}"><img src="{themeconf:icon_dir}/category_elements.png" class="button" alt="{lang:elements}" /></a></li>
+ <!-- END elements -->
+ <li><a href="{categories.category.U_CHILDREN}" title="{lang:manage sub-categories}"><img src="{themeconf:icon_dir}/category_children.png" class="button" alt="{lang:sub-categories}" /></a></li>
+ <!-- BEGIN permissions -->
+ <li><a href="{categories.category.permissions.URL}" title="{lang:edit category permissions}" ><img src="{themeconf:icon_dir}/category_permissions.png" class="button" alt="{lang:permissions}" /></a></li>
+ <!-- END permissions -->
+ <!-- BEGIN delete -->
+ <li><a href="{categories.category.delete.URL}" title="{lang:delete category}" onclick="return confirm('{lang:Are you sure?}');"><img src="{themeconf:icon_dir}/category_delete.png" class="button" alt="{lang:delete}" /></a></li>
+ <!-- END delete -->
+ </ul>
+
+ <p><strong><a href="{categories.category.U_CHILDREN}" title="{lang:manage sub-categories}">{categories.category.NAME}</a></strong></p>
+
+ <p>
+ <label>
+ {lang:Position} :
+ <input type="text" size="4" name="catOrd[{categories.category.ID}]" maxlength="4" value="{categories.category.RANK}" />
+ </label>
+ </p>
+
+ </li>
+ <!-- END category -->
+
+ </ul>
+ <p>
+ <input name="submitOrder" type="submit" value="{lang:Save order}" {TAG_INPUT_ENABLED} />
+ <input name="submitOrderAlphaNum" type="submit" value="{lang:Order alphanumerically}" {TAG_INPUT_ENABLED} />
+ </p>
+
+</form>
+<!-- END categories -->
+
+<form id="addVirtual" action="{F_ACTION}" method="post">
+ <p>
+ {L_ADD_VIRTUAL} : <input type="text" name="virtual_name" />
+ <input type="submit" value="{L_SUBMIT}" name="submitAdd" {TAG_INPUT_ENABLED} />
+ </p>
+</form>