aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin/cat_list.tpl
blob: 3d06db7df3652c69c5a4acc874888c24a36239c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!-- $Id$ -->
<h2>{lang:title_categories}</h2>

<h3>{CATEGORIES_NAV}</h3>

<form id="addVirtual" action="{F_ACTION}" method="post">
  <p>
    {L_ADD_VIRTUAL} : <input type="text" name="virtual_name" />
    <input class="submit" type="submit" value="{L_SUBMIT}" name="submitAdd" {TAG_INPUT_ENABLED} />
    <!-- BEGIN eop_link -->
    <a href="#EoP" class="button"><img src="{themeconf:icon_dir}/page_end.png" class="button" alt="{lang:page_end}" /></a>
    <!-- END eop_link --> 
  </p>
</form>

<!-- BEGIN categories -->
<form id="categoryOrdering" action="{F_ACTION}" method="post">
  <p>
    <input class="submit" name="submitOrder" type="submit" value="{lang:Save order}" {TAG_INPUT_ENABLED} />
    <input class="submit" name="submitOrderAlphaNum" type="submit" value="{lang:Order alphanumerically}" {TAG_INPUT_ENABLED} />
  </p>
  <ul class="categoryUl">

    <!-- BEGIN category -->
    <li class="categoryLi
          <!-- BEGIN virtual -->
          {categories.category.virtual.CLASS}
          <!-- END virtual -->
    "> <!-- 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 category}" /></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>
      <!-- BEGIN virtual -->
      <img src="{themeconf:icon_dir}/virt_category.png" class="button" alt="{lang:virtual_category}" />
      <!-- END virtual -->
      </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 class="submit" name="submitOrder" type="submit" value="{lang:Save order}" {TAG_INPUT_ENABLED} />
    <input class="submit" name="submitOrderAlphaNum" type="submit" value="{lang:Order alphanumerically}" {TAG_INPUT_ENABLED} />
  </p>

</form>
<!-- END categories -->