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

Last change on this file since 860 was 860, checked in by plg, 19 years ago

(not in ChangeLog)

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