source: trunk/template/yoga/admin/cat_list.tpl @ 1124

Last change on this file since 1124 was 1124, checked in by plg, 19 years ago

improvement: in categories management, the category name is linked to
sub-categories management.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1<!-- $Id: cat_list.tpl 1124 2006-04-04 23:08:54Z plg $ -->
2<h2>{lang:title_categories}</h2>
3
4<h3>{CATEGORIES_NAV}</h3>
5
6<form id="categoryOrdering" action="{F_ACTION}" method="post">
7
8  <ul class="categoryUl">
9
10    <!-- BEGIN category -->
11    <li class="categoryLi"> <!-- category {category.ID} -->
12
13      <ul class="categoryActions">
14        <li><a href="{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>
15        <li><a href="{category.U_EDIT}" title="{lang:edit category informations}"><img src="{themeconf:icon_dir}/category_edit.png" class="button" alt="{lang:edit}"/></a></li>
16        <!-- BEGIN elements -->
17        <li><a href="{category.elements.URL}" title="{lang:manage category elements}"><img src="{themeconf:icon_dir}/category_elements.png" class="button" alt="{lang:elements}" /></a></li>
18        <!-- END elements -->
19        <li><a href="{category.U_CHILDREN}" title="{lang:manage sub-categories}"><img src="{themeconf:icon_dir}/category_children.png" class="button" alt="{lang:sub-categories}" /></a></li>
20        <!-- BEGIN permissions -->
21        <li><a href="{category.permissions.URL}" title="{lang:edit category permissions}" ><img src="{themeconf:icon_dir}/category_permissions.png" class="button" alt="{lang:permissions}" /></a></li>
22        <!-- END permissions -->
23        <!-- BEGIN delete -->
24        <li><a href="{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>
25        <!-- END delete -->
26      </ul>
27
28      <p><strong><a href="{category.U_CHILDREN}" title="{lang:manage sub-categories}">{category.NAME}</a></strong></p>
29
30      <p>
31        <label>
32          {lang:Position} :
33          <input type="text" size="4" name="catOrd[{category.ID}]" maxlength="4" value="{category.RANK}" />
34        </label>
35      </p>
36
37    </li>
38    <!-- END category -->
39
40  </ul>
41  <p>
42    <input name="submitOrder" type="submit" value="{lang:Save order}" {TAG_INPUT_ENABLED} />
43    <input name="submitOrderAlphaNum" type="submit" value="{lang:Order alphanumerically}" {TAG_INPUT_ENABLED} />
44  </p>
45
46</form>
47
48<form id="addVirtual" action="{F_ACTION}" method="post">
49  <p>
50    {L_ADD_VIRTUAL} : <input type="text" name="virtual_name" />
51    <input type="submit" value="{L_SUBMIT}" name="submitAdd" {TAG_INPUT_ENABLED} />
52  </p>
53</form>
Note: See TracBrowser for help on using the repository browser.