source: trunk/template/default/admin/cat_modify.tpl @ 693

Last change on this file since 693 was 668, checked in by plg, 20 years ago
  • bug fixed on setting commentable property for a single category (bug in template and in query generation)
  • bug on determining whether an element is commentable or not depending on categories it belongs to
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
1<!-- BEGIN confirmation -->
2<div style="color:red;text-align:center;">
3  {L_EDIT_CONFIRM} <a href="{U_PERMISSIONS}">{L_HERE}</a></div>
4<!-- END confirmation -->
5<div class="admin">{CATEGORIES_NAV}</div>
6<form action="{F_ACTION}" method="POST">
7<table style="width:100%;">
8    <!-- BEGIN representant -->
9    <tr>
10      <td style="width:50%;" align="center">
11        <a href="{representant.URL}"><img src="{representant.SRC}" alt="" class="miniature" /></a>
12      </td>
13      <td class="row1"><input type="submit" name="set_random_representant" value="{L_SET_RANDOM_REPRESENTANT}" class="bouton" /></td>
14    </tr>
15    <!-- END representant -->
16  </table>
17</form>
18<form action="{F_ACTION}" method="POST">
19<table style="width:100%;">
20    <!-- BEGIN server -->
21    <tr>
22      <td style="width:50%;"><strong>{L_REMOTE_SITE}</strong></td>
23      <td class="row1">{server.SITE_URL}</td>
24    </tr>
25    <!-- END server -->
26    <tr>
27      <td style="width:50%;"><strong>{L_EDIT_NAME}</strong></td>
28      <td class="row1">
29        <input type="text" name="name" value="{CAT_NAME}" maxlength="60"/>
30      </td>
31    </tr>
32        <!-- BEGIN storage -->
33        <tr>
34      <td><strong>{L_STORAGE}</strong></td>
35      <td class="row1">{storage.CATEGORY_DIR}</td>
36    </tr>
37        <!-- END storage -->
38    <tr>
39      <td><strong>{L_EDIT_COMMENT}</strong></td>
40      <td class="row1">
41        <textarea name="comment" rows="3" cols="50" >{CAT_COMMENT}</textarea>
42      </td>
43    </tr>
44        <tr class="admin">
45          <th colspan="2">{L_EDIT_CAT_OPTIONS}</th>
46        </tr>
47    <tr>
48      <td><strong>{L_EDIT_STATUS}&nbsp;:</strong><br /><span class="small">{L_EDIT_STATUS_INFO}</span></td>
49      <td class="row1">
50          <input type="radio" class="radio" name="status" value="public" {STATUS_PUBLIC} />{L_STATUS_PUBLIC}&nbsp;&nbsp;
51          <input type="radio" class="radio" name="status" value="private" {STATUS_PRIVATE} />{L_STATUS_PRIVATE}
52      </td>
53    </tr>
54    <tr>
55      <td><strong>{L_EDIT_LOCK}&nbsp;:</strong><br /><span class="small">{L_EDIT_LOCK_INFO}</span></td>
56      <td class="row1">
57          <input type="radio" class="radio" name="visible" value="false" {LOCKED} />{L_YES}&nbsp;&nbsp;
58          <input type="radio" class="radio" name="visible" value="true" {UNLOCKED} />{L_NO}
59      </td>
60    </tr>
61    <tr>
62      <td><strong>{L_EDIT_COMMENTABLE}&nbsp;:</strong><br /><span class="small">{L_EDIT_COMMENTABLE_INFO}</span></td>
63      <td class="row1">
64          <input type="radio" class="radio" name="commentable" value="true" {COMMENTABLE_TRUE} />{L_YES}&nbsp;&nbsp;
65          <input type="radio" class="radio" name="commentable" value="false" {COMMENTABLE_FALSE} />{L_NO}
66      </td>
67    </tr>
68    <!-- BEGIN upload -->
69    <tr>
70      <td><strong>{L_EDIT_UPLOADABLE}&nbsp;:</strong><br /><span class="small">{L_EDIT_UPLOADABLE_INFO}</span></td>
71      <td class="row1">
72          <input type="radio" class="radio" name="uploadable" value="true" {UPLOADABLE_TRUE} />{L_YES}&nbsp;&nbsp;
73          <input type="radio" class="radio" name="uploadable" value="false" {UPLOADABLE_FALSE} />{L_NO}
74      </td>
75    </tr>
76    <!-- END upload -->
77    <tr>
78      <td colspan="2">&nbsp;</td>
79    </tr>
80    <tr>
81      <td colspan="2" align="center">
82        <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />
83      </td>
84    </tr>
85  </table>
86</form>
Note: See TracBrowser for help on using the repository browser.