aboutsummaryrefslogtreecommitdiffstats
path: root/template/cclear/admin/cat_modify.tpl
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2005-08-19 21:22:34 +0000
committerchrisaga <chrisaga@piwigo.org>2005-08-19 21:22:34 +0000
commitfc5e8e27c7a7bb9335bb8d1cca32bd5f7431ce7d (patch)
tree9a098eb0465c27b0d2a9a7f83a49a6b03ca937dd /template/cclear/admin/cat_modify.tpl
parentdded962ded654bbb73eb144d77bea681aad95868 (diff)
cclear template almost working good for BSF
git-svn-id: http://piwigo.org/svn/trunk@837 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/cclear/admin/cat_modify.tpl')
-rw-r--r--template/cclear/admin/cat_modify.tpl190
1 files changed, 125 insertions, 65 deletions
diff --git a/template/cclear/admin/cat_modify.tpl b/template/cclear/admin/cat_modify.tpl
index 3083e8be2..678bef349 100644
--- a/template/cclear/admin/cat_modify.tpl
+++ b/template/cclear/admin/cat_modify.tpl
@@ -1,73 +1,133 @@
-<!-- BEGIN confirmation -->
-<div style="color:red;text-align:center;">
- {L_EDIT_CONFIRM} <a href="{U_PERMISSIONS}">{L_HERE}</a></div>
-<!-- END confirmation -->
+<!-- $Id$ -->
+<h2>{lang:title_edit_cat}</h2>
+
<h3>{CATEGORIES_NAV}</h3>
-<form action="{F_ACTION}" method="POST" id="cat_representant">
-<table style="width:100%;">
- <!-- BEGIN representant -->
+
+<ul class="categoryActions">
+ <li><a href="{U_JUMPTO}" title="{lang:jump to category}"><img src="./template/default/theme/category_jump-to.png" alt="{lang:jump to}" /></a></li>
+ <!-- BEGIN elements -->
+ <li><a href="{elements.URL}" title="{lang:manage category elements}"><img src="./template/default/theme/category_elements.png" alt="{lang:elements}" /></a></li>
+ <!-- END elements -->
+ <li><a href="{U_CHILDREN}" title="{lang:manage sub-categories}"><img src="./template/default/theme/category_children.png" alt="{lang:sub-categories}" /></a></li>
+ <!-- BEGIN permissions -->
+ <li><a href="{permissions.URL}" title="{lang:edit category permissions}" ><img src="./template/default/theme/category_permissions.png" alt="{lang:permissions}" /></a></li>
+ <!-- END permissions -->
+ <!-- BEGIN delete -->
+ <li><a href="{delete.URL}" title="{lang:delete category}"><img src="./template/default/theme/category_delete.png" alt="{lang:delete}" /></a></li>
+ <!-- END delete -->
+</ul>
+
+<form action="{F_ACTION}" method="POST" id="cat_modify">
+
+<fieldset>
+ <legend>{lang:Informations}</legend>
+ <table>
+ <!-- BEGIN server -->
+ <tr>
+ <td><strong>{L_REMOTE_SITE}</strong></td>
+ <td>{server.SITE_URL}</td>
+ </tr>
+ <!-- END server -->
+ <!-- BEGIN storage -->
+ <tr>
+ <td><strong>{L_STORAGE}</strong></td>
+ <td class="row1">{storage.CATEGORY_DIR}</td>
+ </tr>
+ <!-- END storage -->
+ <tr>
+ <td><strong>{L_EDIT_NAME}</strong></td>
+ <td>
+ <input type="text" name="name" value="{CAT_NAME}" maxlength="60"/>
+ </td>
+ </tr>
<tr>
- <td style="width:50%;" align="center">
- <a href="{representant.URL}"><img src="{representant.SRC}" alt="" class="miniature" /></a>
+ <td><strong>{L_EDIT_COMMENT}</strong></td>
+ <td>
+ <textarea name="comment" class="description">{CAT_COMMENT}</textarea>
</td>
- <td class="row1"><input type="submit" name="set_random_representant" value="{L_SET_RANDOM_REPRESENTANT}" class="bouton" /></td>
</tr>
- <!-- END representant -->
</table>
-</form>
-<form action="{F_ACTION}" method="POST" id="cat_modify">
- <!-- BEGIN server -->
- <ul>
- <dt><strong>{L_REMOTE_SITE}</strong></dt>
- <dd>{server.SITE_URL}</dd>
- </ul>
- <!-- END server -->
- <ul>
- <dt><strong>{L_EDIT_NAME}</strong></dt>
- <dd> <input type="text" name="name" value="{CAT_NAME}" maxlength="60"/> </dd>
- </ul>
- <!-- BEGIN storage -->
- <ul>
- <dt><strong>{L_STORAGE}</strong></dt>
- <dd>{storage.CATEGORY_DIR}</dd>
- </ul>
- <!-- END storage -->
- <ul>
- <dt><strong>{L_EDIT_COMMENT}</strong></dt>
- <dd> <textarea name="comment" rows="3" cols="50" >{CAT_COMMENT}</textarea> </dd>
- </ul>
- <h3>{L_EDIT_CAT_OPTIONS}</h3>
- <ul>
- <dt class="biglabel"><strong>{L_EDIT_STATUS}&nbsp;:</strong><br /><span class="small">{L_EDIT_STATUS_INFO}</span></dt>
- <dd>
- <input type="radio" class="radio" name="status" value="public" {STATUS_PUBLIC} />{L_STATUS_PUBLIC}&nbsp;&nbsp;
- <input type="radio" class="radio" name="status" value="private" {STATUS_PRIVATE} />{L_STATUS_PRIVATE}
- </dd>
- </ul>
- <ul>
- <dt class="biglabel"><strong>{L_EDIT_LOCK}&nbsp;:</strong><br /><span class="small">{L_EDIT_LOCK_INFO}</span></dt>
- <dd>
- <input type="radio" class="radio" name="visible" value="false" {LOCKED} />{L_YES}&nbsp;&nbsp;
- <input type="radio" class="radio" name="visible" value="true" {UNLOCKED} />{L_NO}
- </dd>
- </ul>
- <ul>
- <dt class="biglabel"><strong>{L_EDIT_COMMENTABLE}&nbsp;:</strong><br /><span class="small">{L_EDIT_COMMENTABLE_INFO}</span></dt>
- <dd>
- <input type="radio" class="radio" name="commentable" value="true" {COMMENTABLE_TRUE} />{L_YES}&nbsp;&nbsp;
- <input type="radio" class="radio" name="commentable" value="false" {COMMENTABLE_FALSE} />{L_NO}
- </dd>
- </ul>
+</fieldset>
+
+<!-- BEGIN move -->
+<fieldset>
+ <legend>{lang:Move}</legend>
+ {lang:Parent category}
+ <select name="parent">
+ <!-- BEGIN parent_option -->
+ <option class="{move.parent_option.CLASS}" {move.parent_option.SELECTED} value="{move.parent_option.VALUE}">{move.parent_option.OPTION}</option>
+ <!-- END parent_option -->
+ </select>
+</fieldset>
+<!-- END move -->
+
+<fieldset>
+ <legend>{lang:Options}</legend>
+ <table>
+ <tr>
+ <td><strong>{L_EDIT_STATUS}</strong><br /><span class="small">{L_EDIT_STATUS_INFO}</span></td>
+ <td>
+ <input type="radio" name="status" value="public" {STATUS_PUBLIC} />{L_STATUS_PUBLIC}
+ <input type="radio" name="status" value="private" {STATUS_PRIVATE} />{L_STATUS_PRIVATE}
+ </td>
+ </tr>
+ <tr>
+ <td><strong>{L_EDIT_LOCK}</strong><br /><span class="small">{L_EDIT_LOCK_INFO}</span></td>
+ <td>
+ <input type="radio" name="visible" value="false" {LOCKED} />{L_YES}
+ <input type="radio" name="visible" value="true" {UNLOCKED} />{L_NO}
+ </td>
+ </tr>
+ <tr>
+ <td><strong>{L_EDIT_COMMENTABLE}</strong><br /><span class="small">{L_EDIT_COMMENTABLE_INFO}</span></td>
+ <td>
+ <input type="radio" name="commentable" value="true" {COMMENTABLE_TRUE} />{L_YES}
+ <input type="radio" name="commentable" value="false" {COMMENTABLE_FALSE} />{L_NO}
+ </td>
+ </tr>
<!-- BEGIN upload -->
- <ul>
- <dt class="biglabel"><strong>{L_EDIT_UPLOADABLE}&nbsp;:</strong><br /><span class="small">{L_EDIT_UPLOADABLE_INFO}</span></dt>
- <dd>
- <input type="radio" class="radio" name="uploadable" value="true" {UPLOADABLE_TRUE} />{L_YES}&nbsp;&nbsp;
- <input type="radio" class="radio" name="uploadable" value="false" {UPLOADABLE_FALSE} />{L_NO}
- </dd>
- </ul>
+ <tr>
+ <td><strong>{L_EDIT_UPLOADABLE}</strong><br /><span class="small">{L_EDIT_UPLOADABLE_INFO}</span></td>
+ <td>
+ <input type="radio" name="uploadable" value="true" {UPLOADABLE_TRUE} />{L_YES}
+ <input type="radio" name="uploadable" value="false" {UPLOADABLE_FALSE} />{L_NO}
+ </td>
+ </tr>
<!-- END upload -->
- <p>
- <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />
- <p>
+ </table>
+</fieldset>
+
+<p style="text-align:center;">
+ <input type="submit" value="{L_SUBMIT}" name="submit" />
+ <input type="reset" value="{lang:Reset}" name="reset" />
+</p>
+
+<!-- BEGIN representant -->
+<fieldset>
+ <legend>{lang:Representant}</legend>
+ <table>
+ <tr>
+ <td align="center">
+ <!-- BEGIN picture -->
+ <a href="{representant.picture.URL}"><img src="{representant.picture.SRC}" alt="" class="miniature" /></a>
+ <!-- END picture -->
+
+ <!-- BEGIN random -->
+ <img src="./template/default/theme/category_representant_random.png" alt="{lang:Random picture}" class="miniature" />
+ <!-- END random -->
+ </td>
+ <td>
+ <!-- BEGIN set_random -->
+ <p><input type="submit" name="set_random_representant" value="{L_SET_RANDOM_REPRESENTANT}" /></p>
+ <!-- END set_random -->
+
+ <!-- BEGIN delete_representant -->
+ <p><input type="submit" name="delete_representant" value="{lang:Delete Representant}" /></p>
+ <!-- END delete_representant -->
+ </td>
+ </tr>
+ </table>
+</fieldset>
+<!-- END representant -->
+
</form>