aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/admin/cat_list.tpl
blob: d78eb6eb1bbe2baba249e970a06c56b545cce434 (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
71
72
73
74
75
<!-- BEGIN errors -->
<div class="errors">
<ul>
  <!-- BEGIN error -->
  <li>{errors.error.ERROR}</li>
  <!-- END error -->
</ul>
</div>
<!-- END errors -->
<!-- BEGIN infos -->
<div class="info">
  <!-- BEGIN info -->
  <li>{infos.info.INFO}</li>
  <!-- END info -->
</div>
<!-- END infos -->
<div class="admin">{CATEGORIES_NAV}</div>
<table style="width:100%;">
<!-- BEGIN category -->
<tr>
  <td style="width:1px;padding:5px;"><img src="{category.CATEGORY_IMG_SRC}" alt="{category.CATEGORY_IMG_ALT}" title="{category.CATEGORY_IMG_TITLE}" /></td>
  <td style="width:40%;text-align:left;"><a class="titreImg" href="{category.U_CATEGORY}">{category.CATEGORY_NAME}</a>
    <br />
	<!-- BEGIN storage -->
    {L_STORAGE} : {category.CATEGORY_DIR} - 
    <!-- END storage -->
	{L_NB_IMG} : {category.CATEGORY_NB_IMG}
  </td>
  <td class="row1" style="width:10%;white-space:nowrap;text-align:center;">
    <a href="{category.U_MOVE_UP}">{L_MOVE_UP}</a><br />
	<a href="{category.U_MOVE_DOWN}">{L_MOVE_DOWN}</a>
  </td>
  <td class="row1" style="width:10%;white-space:nowrap;text-align:center;">
    <a href="{category.U_CAT_EDIT}">{L_EDIT}</a>
  </td>
  <td class="row1" style="width:10%;white-space:nowrap;text-align:center;">
    <!-- BEGIN image_info -->
    <a href="{category.U_INFO_IMG}">{L_INFO_IMG}</a>
    <!-- END image_info -->
    <!-- BEGIN no_image_info -->
    <span style="color:darkgray;">{L_INFO_IMG}</span>
    <!-- END no_image_info -->
  </td>
  <td class="row1" style="width:10%;white-space:nowrap;text-align:center;">
    <!-- BEGIN update -->
    <a href="{category.U_CAT_UPDATE}">{L_UPDATE}</a>
    <!-- END update -->
    <!-- BEGIN no_update -->
    <span style="color:darkgray;">{L_UPDATE}</span>
    <!-- END no_update -->
  </td>
  <td class="row1" style="width:10%;white-space:nowrap;text-align:center;">
    <!-- BEGIN metadata -->
    <a href="{category.U_CAT_METADATA}">{L_UPDATE_METADATA}</a>
    <!-- END metadata -->
    <!-- BEGIN no_metadata -->
    <span style="color:darkgray;">{L_UPDATE_METADATA}</span>
    <!-- END no_metadata -->
  </td>
  <td class="row1" style="width:10%;white-space:nowrap;text-align:center;">
    <!-- BEGIN virtual -->
    <a href="{category.U_CAT_DELETE}">{L_DELETE}</a>
    <!-- END virtual -->
    <!-- BEGIN storage -->
    <span style="color:darkgray;">{L_DELETE}</span>
    <!-- END storage -->
  </td>
<tr>
<!-- END category -->
</table>
<form action="" method="post">
  {L_ADD_VIRTUAL} : <input type="text" name="virtual_name" />
  <input type="hidden" name="rank" value="{NEXT_RANK}"/>
  <input type="submit" value="{L_SUBMIT}" class="bouton" name="submit" />
</form>