source: branches/release-1_3/template/default/admin/cat_list.vtp @ 247

Last change on this file since 247 was 247, checked in by z0rglub, 20 years ago
  • possibility to display only a text field for a parent category
  • the bullet to the left of each category now represent a button to collapse or expand the category
  • for up,first,down,last, we don't show #id in url anymore
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.2 KB
Line 
1<!--VTP_errors-->
2<div class="errors">
3  <div class="errors_title">{#errors_title}</div>
4  <ul>
5    <!--VTP_li-->
6    <li>{#content}</li>
7    <!--/VTP_li-->
8  </ul>
9</div>
10<!--/VTP_errors-->
11<div style="text-align:center;padding-top:10px;padding-bottom:5px;">
12  <form action="" method="post">
13    {#cat_add} <input type="text" name="virtual_name" />
14    {#cat_parent}
15    <!--VTP_associate_LOV-->
16    <select name="associate">
17      <!--VTP_associate_cat-->
18      <option value="{#value}">{#content}</option>
19      <!--/VTP_associate_cat-->
20    </select>
21    <!--/VTP_associate_LOV-->
22    <!--VTP_associate_text-->
23      <input type="text" name="associate" />
24    <!--/VTP_associate_text-->
25   <input type="submit" value="{#submit}" name="submit" />
26  </form>
27</div>
28<table style="width:100%;">
29<!--VTP_cat-->
30<tr>
31  <{#td} style="width:50%;text-align:left;">
32    <a name="{#id}"></a>
33    {#indent}
34    <!--VTP_bullet_collapsed--><a href="{#link}"><img src="../template/{#user_template}/admin/images/collapsed.gif" style="border:none;" alt="&gt;" /></a><!--/VTP_bullet_collapsed-->
35    <!--VTP_bullet_expanded--><a href="{#link}"><img src="../template/{#user_template}/admin/images/expanded.gif" style="border:none;" alt="&gt;" /></a><!--/VTP_bullet_expanded-->
36    <!--VTP_bullet_wo_link--><img src="../template/{#user_template}/admin/images/collapsed.gif" style="border:none;" alt="&gt;" /><!--/VTP_bullet_wo_link-->
37    &nbsp;{#name} [
38    <!--VTP_storage-->
39    dir : {#dir}
40    <!--/VTP_storage-->
41    <!--VTP_virtual-->
42    <span style="color:blue;">{#cat_virtual}</span>
43    <!--/VTP_virtual-->
44    ]
45    <span style="color:red;font-weight:normal;"> {#invisible} <span style="font-weight:bold;">{#private}</span></span>
46  </{#td}>
47  <{#td} class="{#class}"
48         style="width:1px;white-space:nowrap;text-align:center;">
49    <!--VTP_up-->
50    <a href="{#up_url}"><img src="../template/{#user_template}/admin/images/arrow_up.gif" alt="{#cat_up}" title="{#cat_up}" style="border:none;" /></a>
51    <!--/VTP_up-->
52    <!--VTP_no_up-->
53    <a href="{#last_url}"><img src="../template/{#user_template}/admin/images/arrow_last.gif" alt="{#cat_last}" title="{#cat_last}" style="border:none;" /></a>
54    <!--/VTP_no_up-->
55  </{#td}>
56  <{#td} class="{#class}"
57         style="width:1px;white-space:nowrap;text-align:center;">
58    <!--VTP_down-->
59    <a href="{#down_url}"><img src="../template/{#user_template}/admin/images/arrow_down.gif" alt="{#cat_down}" title="{#cat_down}" style="border:none;" /></a>
60    <!--/VTP_down-->
61    <!--VTP_no_down-->
62    <a href="{#first_url}"><img src="../template/{#user_template}/admin/images/arrow_first.gif" alt="{#cat_first}" title="{#cat_first}" style="border:none;" /></a>
63    <!--/VTP_no_down-->
64  </{#td}>
65  <{#td} class="{#class}" style="width:1px;text-align:center;">
66    <div style="margin-left:3px;margin-right:3px;">{#nb_picture}</div>
67  </{#td}>
68  <{#td} class="{#class}"
69         style="width:10%;white-space:nowrap;text-align:center;">
70    <a href="{#edit_url}">{#cat_edit}</a>
71  </{#td}>
72  <{#td} class="{#class}"
73         style="width:10%;white-space:nowrap;text-align:center;">
74    <!--VTP_image_info-->
75    <a href="{#image_info_url}">{#cat_image_info}</a>
76    <!--/VTP_image_info-->
77    <!--VTP_no_image_info-->
78    <span style="color:darkgray;">{#cat_image_info}</span>
79    <!--/VTP_no_image_info-->
80  </{#td}>
81  <{#td} class="{#class}"
82         style="width:10%;white-space:nowrap;text-align:center;">
83    <!--VTP_permission-->
84    <a href="{#url}">{#cat_permission}</a>
85    <!--/VTP_permission-->
86    <!--VTP_no_permission-->
87    <span style="color:darkgray;">{#cat_permission}</span>
88    <!--/VTP_no_permission-->
89  </{#td}>
90  <{#td} class="{#class}"
91         style="width:10%;white-space:nowrap;text-align:center;">
92    <!--VTP_update-->
93    <a href="{#update_url}">{#cat_update}</a>
94    <!--/VTP_update-->
95    <!--VTP_no_update-->
96    <span style="color:darkgray;">{#cat_update}</span>
97    <!--/VTP_no_update-->
98  </{#td}>
99  <{#td} class="{#class}"
100         style="width:10%;white-space:nowrap;text-align:center;">
101    <!--VTP_delete-->
102    <a href="{#delete_url}">{#delete}</a>
103    <!--/VTP_delete-->
104    <!--VTP_no_delete-->
105    <span style="color:darkgray;">{#delete}</span>
106    <!--/VTP_no_delete-->
107  </{#td}>
108<tr>
109<!--/VTP_cat-->
110</table>
Note: See TracBrowser for help on using the repository browser.