source: branches/branch-1_6/template/yoga/admin/cat_list.tpl @ 1347

Last change on this file since 1347 was 1347, checked in by plg, 18 years ago

bug 402 fixed: invalid empty HTML list when no categories to list.

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