source: trunk/template/yoga/admin/cat_modify.tpl @ 980

Last change on this file since 980 was 980, checked in by chrisaga, 18 years ago

template : {themeconf:icon_dir}/*.png in admin/*.tpl

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.7 KB
Line 
1<!-- $Id: cat_modify.tpl 980 2005-12-10 15:24:53Z chrisaga $ -->
2<div class="titrePage">
3  <ul class="categoryActions">
4    <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>
5  </ul>
6  <h2>{lang:title_edit_cat}</h2>
7</div>
8
9<h3>{CATEGORIES_NAV}</h3>
10
11<ul class="categoryActions">
12  <li><a href="{U_JUMPTO}" title="{lang:jump to category}"><img src="{themeconf:icon_dir}/category_jump-to.png" class="button" alt="{lang:jump to}" /></a></li>
13  <!-- BEGIN elements -->
14  <li><a href="{elements.URL}" title="{lang:manage category elements}"><img src="{themeconf:icon_dir}/category_elements.png" class="button" alt="{lang:elements}" /></a></li>
15  <!-- END elements -->
16  <li><a href="{U_CHILDREN}" title="{lang:manage sub-categories}"><img src="{themeconf:icon_dir}/category_children.png" class="button" alt="{lang:sub-categories}" /></a></li>
17  <!-- BEGIN permissions -->
18  <li><a href="{permissions.URL}" title="{lang:edit category permissions}" ><img src="{themeconf:icon_dir}/category_permissions.png" class="button" alt="{lang:permissions}" /></a></li>
19  <!-- END permissions -->
20  <!-- BEGIN delete -->
21  <li><a href="{delete.URL}" title="{lang:delete category}"><img src="{themeconf:icon_dir}/category_delete.png" class="button" alt="{lang:delete}" /></a></li>
22  <!-- END delete -->
23</ul>
24
25<form action="{F_ACTION}" method="POST" id="cat_modify">
26
27<fieldset>
28  <legend>{lang:Informations}</legend>
29  <table>
30    <!-- BEGIN server -->
31    <tr>
32      <td><strong>{L_REMOTE_SITE}</strong></td>
33      <td>{server.SITE_URL}</td>
34    </tr>
35    <!-- END server -->
36    <!-- BEGIN storage -->
37    <tr>
38      <td><strong>{L_STORAGE}</strong></td>
39      <td class="row1">{storage.CATEGORY_DIR}</td>
40    </tr>
41    <!-- END storage -->
42    <tr>
43      <td><strong>{L_EDIT_NAME}</strong></td>
44      <td>
45        <input type="text" name="name" value="{CAT_NAME}" maxlength="60"/>
46      </td>
47    </tr>
48    <tr>
49      <td><strong>{L_EDIT_COMMENT}</strong></td>
50      <td>
51        <textarea name="comment" class="description">{CAT_COMMENT}</textarea>
52      </td>
53    </tr>
54  </table>
55</fieldset>
56
57<!-- BEGIN move -->
58<fieldset>
59  <legend>{lang:Move}</legend>
60  {lang:Parent category}
61  <select name="parent">
62    <!-- BEGIN parent_option -->
63    <option class="{move.parent_option.CLASS}" {move.parent_option.SELECTED} value="{move.parent_option.VALUE}">{move.parent_option.OPTION}</option>
64    <!-- END parent_option -->
65  </select> 
66</fieldset>
67<!-- END move -->
68
69<fieldset>
70  <legend>{lang:Options}</legend>
71  <table>
72    <tr>
73      <td><strong>{L_EDIT_STATUS}</strong>
74      <td>
75          <input type="radio" name="status" value="public" {STATUS_PUBLIC} />{L_STATUS_PUBLIC}
76          <input type="radio" name="status" value="private" {STATUS_PRIVATE} />{L_STATUS_PRIVATE}
77      </td>
78    </tr>
79    <tr>
80      <td><strong>{L_EDIT_LOCK}</strong>
81      <td>
82          <input type="radio" name="visible" value="false" {LOCKED} />{L_YES}
83          <input type="radio" name="visible" value="true" {UNLOCKED} />{L_NO}
84      </td>
85    </tr>
86    <tr>
87      <td><strong>{L_EDIT_COMMENTABLE}</strong>
88      <td>
89          <input type="radio" name="commentable" value="true" {COMMENTABLE_TRUE} />{L_YES}
90          <input type="radio"  name="commentable" value="false" {COMMENTABLE_FALSE} />{L_NO}
91      </td>
92    </tr>
93    <!-- BEGIN upload -->
94    <tr>
95      <td><strong>{L_EDIT_UPLOADABLE}</strong>
96      <td>
97          <input type="radio" name="uploadable" value="true" {UPLOADABLE_TRUE} />{L_YES}
98          <input type="radio" name="uploadable" value="false" {UPLOADABLE_FALSE} />{L_NO}
99      </td>
100    </tr>
101    <!-- END upload -->
102  </table>
103</fieldset>
104
105<p style="text-align:center;">
106  <input type="submit" value="{L_SUBMIT}" name="submit" />
107  <input type="reset" value="{lang:Reset}" name="reset" />
108</p>
109
110<!-- BEGIN representant -->
111<fieldset>
112  <legend>{lang:Representant}</legend>
113  <table>
114    <tr>
115      <td align="center">
116        <!-- BEGIN picture -->
117        <a href="{representant.picture.URL}"><img src="{representant.picture.SRC}" alt="" class="miniature" /></a>
118        <!-- END picture -->
119
120        <!-- BEGIN random -->
121        <img src="{themeconf:icon_dir}/category_representant_random.png" class="button" alt="{lang:Random picture}" class="miniature" />
122        <!-- END random -->
123      </td>
124      <td>
125        <!-- BEGIN set_random -->
126        <p><input type="submit" name="set_random_representant" value="{L_SET_RANDOM_REPRESENTANT}" /></p>
127        <!-- END set_random -->
128
129        <!-- BEGIN delete_representant -->
130        <p><input type="submit" name="delete_representant" value="{lang:Delete Representant}" /></p>
131        <!-- END delete_representant -->
132      </td>
133    </tr>
134  </table>
135</fieldset>
136<!-- END representant -->
137
138</form>
Note: See TracBrowser for help on using the repository browser.