aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-03-16 22:58:16 +0000
committerrub <rub@piwigo.org>2006-03-16 22:58:16 +0000
commit9b521760af7639310742d7817c4fb91b88471c5c (patch)
tree9260a834a927131ba184de330d4f8ecdfaafdcef /template/yoga/admin
parent5980db248ab4cc05e8596e07d7efc31048bcb8e8 (diff)
Step 7 improvement issue 0000301:
o can attribute status <= current user o define mode adviser => buttons disabled (gray on IE, not on FF) => truncated actions => display info mode adviser git-svn-id: http://piwigo.org/svn/trunk@1085 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/admin/cat_list.tpl6
-rw-r--r--template/yoga/admin/cat_modify.tpl14
-rw-r--r--template/yoga/admin/cat_move.tpl2
-rw-r--r--template/yoga/admin/cat_perm.tpl8
-rw-r--r--template/yoga/admin/comments.tpl2
-rw-r--r--template/yoga/admin/configuration.tpl2
-rw-r--r--template/yoga/admin/double_select.tpl4
-rw-r--r--template/yoga/admin/element_set_global.tpl4
-rw-r--r--template/yoga/admin/element_set_unit.tpl2
-rw-r--r--template/yoga/admin/group_list.tpl4
-rw-r--r--template/yoga/admin/maintenance.tpl10
-rw-r--r--template/yoga/admin/picture_modify.tpl12
-rw-r--r--template/yoga/admin/rating.tpl2
-rw-r--r--template/yoga/admin/site_manager.tpl2
-rw-r--r--template/yoga/admin/site_update.tpl2
-rw-r--r--template/yoga/admin/thumbnail.tpl2
-rw-r--r--template/yoga/admin/user_list.tpl18
-rw-r--r--template/yoga/admin/waiting.tpl6
18 files changed, 56 insertions, 46 deletions
diff --git a/template/yoga/admin/cat_list.tpl b/template/yoga/admin/cat_list.tpl
index 1124b1157..599270b6c 100644
--- a/template/yoga/admin/cat_list.tpl
+++ b/template/yoga/admin/cat_list.tpl
@@ -39,8 +39,8 @@
</ul>
<p>
- <input name="submitOrder" type="submit" value="{lang:Save order}" />
- <input name="submitOrderAlphaNum" type="submit" value="{lang:Order alphanumerically}" />
+ <input name="submitOrder" type="submit" value="{lang:Save order}" {TAG_INPUT_ENABLED} />
+ <input name="submitOrderAlphaNum" type="submit" value="{lang:Order alphanumerically}" {TAG_INPUT_ENABLED} />
</p>
</form>
@@ -48,6 +48,6 @@
<form id="addVirtual" action="{F_ACTION}" method="post">
<p>
{L_ADD_VIRTUAL} : <input type="text" name="virtual_name" />
- <input type="submit" value="{L_SUBMIT}" name="submitAdd" />
+ <input type="submit" value="{L_SUBMIT}" name="submitAdd" {TAG_INPUT_ENABLED} />
</p>
</form>
diff --git a/template/yoga/admin/cat_modify.tpl b/template/yoga/admin/cat_modify.tpl
index 8e08baafd..8101e7ffa 100644
--- a/template/yoga/admin/cat_modify.tpl
+++ b/template/yoga/admin/cat_modify.tpl
@@ -103,7 +103,7 @@
</fieldset>
<p style="text-align:center;">
- <input type="submit" value="{L_SUBMIT}" name="submit" />
+ <input type="submit" value="{L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/>
<input type="reset" value="{lang:Reset}" name="reset" />
</p>
@@ -123,7 +123,7 @@
</td>
<td>
<!-- BEGIN set_random -->
- <p><input type="submit" name="set_random_representant" value="{L_SET_RANDOM_REPRESENTANT}" /></p>
+ <p><input type="submit" name="set_random_representant" value="{L_SET_RANDOM_REPRESENTANT}" {TAG_INPUT_ENABLED}/></p>
<!-- END set_random -->
<!-- BEGIN delete_representant -->
@@ -161,7 +161,7 @@
</table>
<p style="text-align:center;">
- <input type="submit" value="{lang:Submit}" name="submitAdd" />
+ <input type="submit" value="{lang:Submit}" name="submitAdd" {TAG_INPUT_ENABLED}/>
<input type="reset" value="{lang:Reset}" name="reset" />
</p>
@@ -179,7 +179,7 @@
<option {destination_option_true.SELECTED} value="{destination_option_true.VALUE}">{destination_option_true.OPTION}</option>
<!-- END destination_option_true -->
</select>
- <p><input type="submit" value="&raquo;" name="destination_falsify" style="font-size:15px;"/></p>
+ <p><input type="submit" value="&raquo;" name="destination_falsify" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
</td>
<td>
@@ -189,7 +189,7 @@
<option {destination_option_false.SELECTED} value="{destination_option_false.VALUE}">{destination_option_false.OPTION}</option>
<!-- END destination_option_false -->
</select>
- <p><input type="submit" value="&laquo;" name="destination_trueify" style="font-size:15px;" /></p>
+ <p><input type="submit" value="&laquo;" name="destination_trueify" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
</td>
</tr>
</table>
@@ -203,7 +203,7 @@
<option {source_option_true.SELECTED} value="{source_option_true.VALUE}">{source_option_true.OPTION}</option>
<!-- END source_option_true -->
</select>
- <p><input type="submit" value="&raquo;" name="source_falsify" style="font-size:15px;"/></p>
+ <p><input type="submit" value="&raquo;" name="source_falsify" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
</td>
<td>
@@ -213,7 +213,7 @@
<option {source_option_false.SELECTED} value="{source_option_false.VALUE}">{source_option_false.OPTION}</option>
<!-- END source_option_false -->
</select>
- <p><input type="submit" value="&laquo;" name="source_trueify" style="font-size:15px;" /></p>
+ <p><input type="submit" value="&laquo;" name="source_trueify" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
</td>
</tr>
</table>
diff --git a/template/yoga/admin/cat_move.tpl b/template/yoga/admin/cat_move.tpl
index c0c3fa215..5d5247f2f 100644
--- a/template/yoga/admin/cat_move.tpl
+++ b/template/yoga/admin/cat_move.tpl
@@ -33,7 +33,7 @@
</fieldset>
<p>
- <input type="submit" name="submit" value="{lang:Submit}">
+ <input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}>
<input type="reset" name="reset" value="{lang:Reset}">
</p>
diff --git a/template/yoga/admin/cat_perm.tpl b/template/yoga/admin/cat_perm.tpl
index 1676ef57a..9c8fafa69 100644
--- a/template/yoga/admin/cat_perm.tpl
+++ b/template/yoga/admin/cat_perm.tpl
@@ -18,7 +18,7 @@
<li><label><input type="checkbox" name="deny_groups[]" value="{group_granted.ID}" /> {group_granted.NAME}</label></li>
<!-- END group_granted -->
</ul>
- <input type="submit" name="deny_groups_submit" value="{lang:Deny selected groups}" />
+ <input type="submit" name="deny_groups_submit" value="{lang:Deny selected groups}" {TAG_INPUT_ENABLED}/>
</fieldset>
<fieldset>
@@ -28,7 +28,7 @@
<li><label><input type="checkbox" name="grant_groups[]" value="{group_denied.ID}"> {group_denied.NAME}</label></li>
<!-- END group_denied -->
</ul>
- <input type="submit" name="grant_groups_submit" value="{lang:Grant selected groups}" />
+ <input type="submit" name="grant_groups_submit" value="{lang:Grant selected groups}" {TAG_INPUT_ENABLED}/>
</fieldset>
<h4>{lang:Users}</h4>
@@ -40,7 +40,7 @@
<li><label><input type="checkbox" name="deny_users[]" value="{user_granted.ID}" /> {user_granted.NAME}</label></li>
<!-- END user_granted -->
</ul>
- <input type="submit" name="deny_users_submit" value="{lang:Deny selected users}" />
+ <input type="submit" name="deny_users_submit" value="{lang:Deny selected users}" {TAG_INPUT_ENABLED}/>
</fieldset>
<fieldset>
@@ -59,7 +59,7 @@
<li><label><input type="checkbox" name="grant_users[]" value="{user_denied.ID}"> {user_denied.NAME}</label></li>
<!-- END user_denied -->
</ul>
- <input type="submit" name="grant_users_submit" value="{lang:Grant selected users}" />
+ <input type="submit" name="grant_users_submit" value="{lang:Grant selected users}" {TAG_INPUT_ENABLED}/>
</fieldset>
</form>
diff --git a/template/yoga/admin/comments.tpl b/template/yoga/admin/comments.tpl
index d903c332a..d7053200d 100644
--- a/template/yoga/admin/comments.tpl
+++ b/template/yoga/admin/comments.tpl
@@ -17,7 +17,7 @@
<!-- END comment -->
<p class="bottomButtons">
- <input type="submit" name="submit" value="{lang:Submit}" />
+ <input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}/>
<input type="submit" name="validate-all" value="{lang:Validate All}" />
<input type="submit" name="reject-all" value="{lang:Reject All}" />
<input type="reset" value="{lang:Reset}" />
diff --git a/template/yoga/admin/configuration.tpl b/template/yoga/admin/configuration.tpl
index 0c7c1817d..fb9b0f590 100644
--- a/template/yoga/admin/configuration.tpl
+++ b/template/yoga/admin/configuration.tpl
@@ -141,7 +141,7 @@
</fieldset>
<p>
- <input type="submit" name="submit" value="{lang:Submit}">
+ <input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}>
<input type="reset" name="reset" value="{lang:Reset}">
</p>
</form>
diff --git a/template/yoga/admin/double_select.tpl b/template/yoga/admin/double_select.tpl
index 1745c52d3..2bfa28072 100644
--- a/template/yoga/admin/double_select.tpl
+++ b/template/yoga/admin/double_select.tpl
@@ -7,7 +7,7 @@
<option {category_option_true.SELECTED} value="{category_option_true.VALUE}">{category_option_true.OPTION}</option>
<!-- END category_option_true -->
</select>
- <p><input type="submit" value="&raquo;" name="falsify" style="font-size:15px;"/></p>
+ <p><input type="submit" value="&raquo;" name="falsify" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
</td>
<td>
@@ -17,7 +17,7 @@
<option {category_option_false.SELECTED} value="{category_option_false.VALUE}">{category_option_false.OPTION}</option>
<!-- END category_option_false -->
</select>
- <p><input type="submit" value="&laquo;" name="trueify" style="font-size:15px;" /></p>
+ <p><input type="submit" value="&laquo;" name="trueify" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
</td>
</tr>
</table>
diff --git a/template/yoga/admin/element_set_global.tpl b/template/yoga/admin/element_set_global.tpl
index de15c637b..53c956d40 100644
--- a/template/yoga/admin/element_set_global.tpl
+++ b/template/yoga/admin/element_set_global.tpl
@@ -27,7 +27,7 @@
</ul>
- <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit_caddie" /></p>
+ <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit_caddie" {TAG_INPUT_ENABLED}/></p>
</fieldset>
@@ -152,7 +152,7 @@
</p>
- <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit" /></p>
+ <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/></p>
</fieldset>
diff --git a/template/yoga/admin/element_set_unit.tpl b/template/yoga/admin/element_set_unit.tpl
index 7dba4a2bf..a5e718012 100644
--- a/template/yoga/admin/element_set_unit.tpl
+++ b/template/yoga/admin/element_set_unit.tpl
@@ -84,7 +84,7 @@
<!-- END element -->
<p>
- <input type="submit" value="{L_SUBMIT}" name="submit" />
+ <input type="submit" value="{L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/>
<input type="reset" value="{lang:Reset}" />
</p>
diff --git a/template/yoga/admin/group_list.tpl b/template/yoga/admin/group_list.tpl
index bafa87a71..389bc1071 100644
--- a/template/yoga/admin/group_list.tpl
+++ b/template/yoga/admin/group_list.tpl
@@ -5,7 +5,7 @@
<fieldset>
<legend>{lang:Add group}</legend>
<label>{lang:Group name}</label><input type="text" name="groupname" maxlength="50" size="20" />
- <p><input type="submit" name="submit_add" value="{lang:Add}" /></p>
+ <p><input type="submit" name="submit_add" value="{lang:Add}" {TAG_INPUT_ENABLED}/></p>
</fieldset>
</form>
@@ -21,7 +21,7 @@
<td><a href="{group.U_MEMBERS}">{group.MEMBERS}</a></td>
<td style="text-align:center;">
<a href="{group.U_PERM}"><img src="{themeconf:icon_dir}/permissions.png" class="button" style="border:none" alt="permissions" title="{lang:permissions}" /></a>
- <a href="{group.U_DELETE}" onclick="return confirm('{lang:Are you sure?}');"><img src="{themeconf:icon_dir}/delete.png" class="button" style="border:none" alt="delete" title="{lang:delete}" /></a>
+ <a href="{group.U_DELETE}" onclick="return confirm('{lang:Are you sure?}');"><img src="{themeconf:icon_dir}/delete.png" class="button" style="border:none" alt="delete" title="{lang:delete}" {TAG_INPUT_ENABLED}/></a>
</td>
</tr>
<!-- END group -->
diff --git a/template/yoga/admin/maintenance.tpl b/template/yoga/admin/maintenance.tpl
index 0728d3ba3..63ba549c9 100644
--- a/template/yoga/admin/maintenance.tpl
+++ b/template/yoga/admin/maintenance.tpl
@@ -7,9 +7,9 @@
</div>
<ul>
- <li><a href="{U_MAINT_CATEGORIES}">{lang:update categories informations}</a></li>
- <li><a href="{U_MAINT_IMAGES}">{lang:update images informations}</a></li>
- <li><a href="{U_MAINT_HISTORY}">{lang:purge history}</a></li>
- <li><a href="{U_MAINT_SESSIONS}">{lang:purge sessions}</a></li>
- <li><a href="{U_MAINT_FEEDS}">{lang:purge never used notification feeds}</a></li>
+ <li><a href="{U_MAINT_CATEGORIES}" {TAG_INPUT_ENABLED}>{lang:update categories informations}</a></li>
+ <li><a href="{U_MAINT_IMAGES}" {TAG_INPUT_ENABLED}>{lang:update images informations}</a></li>
+ <li><a href="{U_MAINT_HISTORY}" {TAG_INPUT_ENABLED}>{lang:purge history}</a></li>
+ <li><a href="{U_MAINT_SESSIONS}" {TAG_INPUT_ENABLED}>{lang:purge sessions}</a></li>
+ <li><a href="{U_MAINT_FEEDS}" {TAG_INPUT_ENABLED}>{lang:purge never used notification feeds}</a></li>
</ul>
diff --git a/template/yoga/admin/picture_modify.tpl b/template/yoga/admin/picture_modify.tpl
index 54cab455d..2be4547dd 100644
--- a/template/yoga/admin/picture_modify.tpl
+++ b/template/yoga/admin/picture_modify.tpl
@@ -7,7 +7,7 @@
<!-- BEGIN jumpto -->
<li><a href="{jumpto.URL}" title="{lang:jump to image}"><img src="{themeconf:icon_dir}/category_jump-to.png" class="button" alt="{lang:jump to}" /></a></li>
<!-- END jumpto -->
- <li><a href="{U_SYNC}" title="{lang:synchronize metadata}"><img src="{themeconf:icon_dir}/sync_metadata.png" class="button" alt="{lang:synchronize}" /></a></li>
+ <li><a href="{U_SYNC}" title="{lang:synchronize metadata}" {TAG_INPUT_ENABLED}><img src="{themeconf:icon_dir}/sync_metadata.png" class="button" alt="{lang:synchronize}" /></a></li>
</ul>
<form action="{F_ACTION}" method="post" id="properties">
@@ -111,7 +111,7 @@
</table>
<p style="text-align:center;">
- <input type="submit" value="{lang:Submit}" name="submit" />
+ <input type="submit" value="{lang:Submit}" name="submit" {TAG_INPUT_ENABLED}/>
<input type="reset" value="{lang:Reset}" name="reset" />
</p>
@@ -132,7 +132,7 @@
<option {associated_option.SELECTED} value="{associated_option.VALUE}">{associated_option.OPTION}</option>
<!-- END associated_option -->
</select>
- <p><input type="submit" value="&raquo;" name="dissociate" style="font-size:15px;"/></p>
+ <p><input type="submit" value="&raquo;" name="dissociate" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
</td>
<td>
@@ -142,7 +142,7 @@
<option {dissociated_option.SELECTED} value="{dissociated_option.VALUE}">{dissociated_option.OPTION}</option>
<!-- END dissociated_option -->
</select>
- <p><input type="submit" value="&laquo;" name="associate" style="font-size:15px;" /></p>
+ <p><input type="submit" value="&laquo;" name="associate" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
</td>
</tr>
</table>
@@ -163,7 +163,7 @@
<option {elected_option.SELECTED} value="{elected_option.VALUE}">{elected_option.OPTION}</option>
<!-- END elected_option -->
</select>
- <p><input type="submit" value="&raquo;" name="dismiss" style="font-size:15px;"/></p>
+ <p><input type="submit" value="&raquo;" name="dismiss" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
</td>
<td>
@@ -173,7 +173,7 @@
<option {dismissed_option.SELECTED} value="{dismissed_option.VALUE}">{dismissed_option.OPTION}</option>
<!-- END dismissed_option -->
</select>
- <p><input type="submit" value="&laquo;" name="elect" style="font-size:15px;" /></p>
+ <p><input type="submit" value="&laquo;" name="elect" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
</td>
</tr>
</table>
diff --git a/template/yoga/admin/rating.tpl b/template/yoga/admin/rating.tpl
index 37cf6e1c4..139723b4d 100644
--- a/template/yoga/admin/rating.tpl
+++ b/template/yoga/admin/rating.tpl
@@ -36,7 +36,7 @@
</fieldset>
<p class="bottomButtons">
-<input type="submit" value="{lang:Submit}" />
+<input type="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}/>
</p>
</form>
<div class="navigationBar">{NAVBAR}</div>
diff --git a/template/yoga/admin/site_manager.tpl b/template/yoga/admin/site_manager.tpl
index 9ceb369aa..924a910aa 100644
--- a/template/yoga/admin/site_manager.tpl
+++ b/template/yoga/admin/site_manager.tpl
@@ -44,6 +44,6 @@
<input type="text" name="galleries_url" id="galleries_url" />
</p>
<p>
- <input type="submit" name="submit" value="{lang:submit}" />
+ <input type="submit" name="submit" value="{lang:submit}" {TAG_INPUT_ENABLED} />
</p>
</form>
diff --git a/template/yoga/admin/site_update.tpl b/template/yoga/admin/site_update.tpl
index 518975360..7aa60212b 100644
--- a/template/yoga/admin/site_update.tpl
+++ b/template/yoga/admin/site_update.tpl
@@ -80,7 +80,7 @@
<fieldset>
<legend></legend>
- <ul><li><label><input type="checkbox" name="simulate" value="1" checked="checked" /> {lang:update_simulate}</label></li></ul>
+ <ul><li><label><input type="checkbox" name="simulate" value="1" checked="checked" {TAG_INPUT_ENABLED} /> {lang:update_simulate}</label></li></ul>
</fieldset>
<fieldset>
diff --git a/template/yoga/admin/thumbnail.tpl b/template/yoga/admin/thumbnail.tpl
index 9fae9f9fd..25bb76b9d 100644
--- a/template/yoga/admin/thumbnail.tpl
+++ b/template/yoga/admin/thumbnail.tpl
@@ -90,7 +90,7 @@
</ul>
</fieldset>
- <p><input type="submit" name="submit" value="{L_SUBMIT}"/></p>
+ <p><input type="submit" name="submit" value="{L_SUBMIT}" {TAG_INPUT_ENABLED}/></p>
</form>
<!-- END params -->
diff --git a/template/yoga/admin/user_list.tpl b/template/yoga/admin/user_list.tpl
index d4a45aa63..81365b63b 100644
--- a/template/yoga/admin/user_list.tpl
+++ b/template/yoga/admin/user_list.tpl
@@ -10,7 +10,7 @@
<legend>{lang:Add a user}</legend>
<label>{lang:Username} <input type="text" name="login" maxlength="50" size="20" /></label>
<label>{L_PASSWORD} <input type="text" name="password" /></label>
- <input type="submit" name="submit_add" value="{L_SUBMIT}" />
+ <input type="submit" name="submit_add" value="{L_SUBMIT}" {TAG_INPUT_ENABLED} />
</fieldset>
</form>
@@ -65,7 +65,7 @@
</select>
</label>
- <input type="submit" name="submit_filter" value="{L_SUBMIT}" />
+ <input type="submit" name="submit_filter" value="{L_SUBMIT}" {TAG_INPUT_ENABLED}/>
</fieldset>
@@ -104,7 +104,7 @@
<fieldset>
<legend>{lang:Deletions}</legend>
<label><input type="checkbox" name="confirm_deletion" value="1" /> {lang:confirm}</label>
- <input type="submit" value="{lang:Delete selected users}" name="delete" />
+ <input type="submit" value="{lang:Delete selected users}" name="delete" {TAG_INPUT_ENABLED}/>
</fieldset>
<fieldset>
@@ -123,6 +123,16 @@
</select>
</td>
</tr>
+
+ <tr>
+ <td>{lang:adviser}</td>
+ <td>
+ <label><input type="radio" name="adviser" value="leave" checked="checked" /> {lang:leave}</label>
+ / {lang:set to}
+ <label><input type="radio" name="adviser" value="true" {ADVISER_YES} />{L_YES}</label>
+ <label><input type="radio" name="adviser" value="false" {ADVISER_NO} />{L_NO}</label>
+ </td>
+ </tr>
</table>
</fieldset>
@@ -296,7 +306,7 @@
</p>
<p>
- <input type="submit" value="{L_SUBMIT}" name="pref_submit" />
+ <input type="submit" value="{L_SUBMIT}" name="pref_submit" {TAG_INPUT_ENABLED} />
<input type="reset" value="{L_RESET}" name="pref_reset" />
</p>
diff --git a/template/yoga/admin/waiting.tpl b/template/yoga/admin/waiting.tpl
index d011e9984..10e8e3ff7 100644
--- a/template/yoga/admin/waiting.tpl
+++ b/template/yoga/admin/waiting.tpl
@@ -38,9 +38,9 @@
</table>
<p class="bottomButtons">
- <input type="submit" name="submit" value="{lang:Submit}" />
- <input type="submit" name="validate-all" value="{lang:Validate All}" />
- <input type="submit" name="reject-all" value="{lang:Reject All}" />
+ <input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}/>
+ <input type="submit" name="validate-all" value="{lang:Validate All}" {TAG_INPUT_ENABLED}/>
+ <input type="submit" name="reject-all" value="{lang:Reject All}" {TAG_INPUT_ENABLED}/>
<input type="reset" value="{lang:Reset}" />
</p>