aboutsummaryrefslogtreecommitdiffstats
path: root/template/cclear/admin/user_list.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/cclear/admin/user_list.tpl')
-rw-r--r--template/cclear/admin/user_list.tpl123
1 files changed, 64 insertions, 59 deletions
diff --git a/template/cclear/admin/user_list.tpl b/template/cclear/admin/user_list.tpl
index a66c6f4ba..ad6b18678 100644
--- a/template/cclear/admin/user_list.tpl
+++ b/template/cclear/admin/user_list.tpl
@@ -1,11 +1,11 @@
-<h1>{lang:title_liste_users}</h1>
+<h2>{lang:title_liste_users}</h2>
<form class="filter" method="post" name="add_user" action="{F_ADD_ACTION}">
<fieldset>
<legend>{lang:Add a user}</legend>
<label>{L_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}" class="bouton" />
+ <input type="submit" name="submit_add" value="{L_SUBMIT}" />
</fieldset>
</form>
@@ -60,7 +60,7 @@
</select>
</label>
- <input type="submit" name="submit_filter" value="{L_SUBMIT}" class="bouton" />
+ <input type="submit" name="submit_filter" value="{L_SUBMIT}" />
</fieldset>
@@ -68,14 +68,14 @@
<form method="post" name="preferences" action="{F_PREF_ACTION}">
-<table class="table2" style="width:100%;" >
+<table class="table2">
<tr class="throw">
- <th style="width:1%;"></th>
- <th style="width:20%;">{L_USERNAME}</th>
- <th style="width:20%;">{L_STATUS}</th>
- <th style="width:30%;">{L_EMAIL}</th>
- <th style="width:30%;">{L_GROUPS}</th>
- <th style="width:1%;">{L_ACTIONS}</th>
+ <th>&nbsp;</th>
+ <th>{L_USERNAME}</th>
+ <th>{L_STATUS}</th>
+ <th>{L_EMAIL}</th>
+ <th>{lang:Groups}</th>
+ <th>{L_ACTIONS}</th>
</tr>
<!-- BEGIN user -->
<tr class="{user.CLASS}">
@@ -90,13 +90,34 @@
</tr>
<!-- END user -->
</table>
+
<div class="navigationBar">{NAVBAR}</div>
<!-- delete the selected users ? -->
<fieldset>
<legend>{lang:Deletions}</legend>
- <input type="checkbox" name="confirm_deletion" value="1" /> {lang:confirm}
- <input type="submit" value="{lang:Delete selected users}" name="delete" class="bouton" />
+ <label><input type="checkbox" name="confirm_deletion" value="1" /> {lang:confirm}</label>
+ <input type="submit" value="{lang:Delete selected users}" name="delete" />
+</fieldset>
+
+<fieldset>
+ <legend>{lang:Status}</legend>
+
+ <table>
+ <tr>
+ <td>{L_STATUS}</td>
+ <td>
+ <label><input type="radio" name="status_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="status_action" value="set" id="status_action_set" /> {lang:set to}</label>
+ <select onmousedown="document.getElementById('status_action_set').checked = true;" name="status" size="1">
+ <!-- BEGIN pref_status_option -->
+ <option {pref_status_option.SELECTED} value="{pref_status_option.VALUE}">{pref_status_option.CONTENT}</option>
+ <!-- END pref_status_option -->
+ </select>
+ </td>
+ </tr>
+ </table>
+
</fieldset>
<!-- form to set properties for many users at once -->
@@ -139,8 +160,8 @@
<tr>
<td>{L_NB_IMAGE_LINE}</td>
<td>
- <input type="radio" name="nb_image_line_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set" /> set to
+ <label><input type="radio" name="nb_image_line_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set" /> {lang:set to}</label>
<input onmousedown="document.getElementById('nb_image_line_action_set').checked = true;"
size="3" maxlength="2" type="text" name="nb_image_line" value="{NB_IMAGE_LINE}" />
</td>
@@ -149,8 +170,8 @@
<tr>
<td>{L_NB_LINE_PAGE}</td>
<td>
- <input type="radio" name="nb_line_page_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set" /> set to
+ <label><input type="radio" name="nb_line_page_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set" /> {lang:set to}</label>
<input onmousedown="document.getElementById('nb_line_page_action_set').checked = true;"
size="3" maxlength="2" type="text" name="nb_line_page" value="{NB_LINE_PAGE}" />
<td>
@@ -159,8 +180,8 @@
<tr>
<td>{L_TEMPLATE}</td>
<td>
- <input type="radio" name="template_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="template_action" value="set" id="template_action_set" /> set to
+ <label><input type="radio" name="template_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="template_action" value="set" id="template_action_set" /> {lang:set to}</label>
<select onmousedown="document.getElementById('template_action_set').checked = true;" name="template" size="1">
<!-- BEGIN template_option -->
<option {template_option.SELECTED} value="{template_option.VALUE}">{template_option.CONTENT}</option>
@@ -172,8 +193,8 @@
<tr>
<td>{L_LANGUAGE}</td>
<td>
- <input type="radio" name="language_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="language_action" value="set" id="language_action_set" /> set to
+ <label><input type="radio" name="language_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="language_action" value="set" id="language_action_set" /> {lang:set to}</label>
<select onmousedown="document.getElementById('language_action_set').checked = true;" name="language" size="1">
<!-- BEGIN language_option -->
<option {language_option.SELECTED} value="{language_option.VALUE}">{language_option.CONTENT}</option>
@@ -185,8 +206,8 @@
<tr>
<td>{L_RECENT_PERIOD}</td>
<td>
- <input type="radio" name="recent_period_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="recent_period_action" value="set" id="recent_period_action_set" /> set to
+ <label><input type="radio" name="recent_period_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="recent_period_action" value="set" id="recent_period_action_set" /> {lang:set to}</label>
<input onmousedown="document.getElementById('recent_period_action_set').checked = true;"
type="text" size="3" maxlength="2" name="recent_period" value="{RECENT_PERIOD}" />
</td>
@@ -195,33 +216,29 @@
<tr>
<td>{L_EXPAND}</td>
<td>
- <input type="radio" name="expand_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="expand_action" value="set" id="expand_action_set" /> set to
- <input onmousedown="document.getElementById('expand_action_set').checked = true;"
- type="radio" class="radio" name="expand" value="true" {EXPAND_YES} />{L_YES}
- <input onmousedown="document.getElementById('expand_action_set').checked = true;"
- type="radio" class="radio" name="expand" value="false" {EXPAND_NO} />{L_NO}
+ <label><input type="radio" name="expand" value="leave" checked="checked" /> {lang:leave}</label>
+ / {lang:set to}
+ <label><input type="radio" name="expand" value="true" {EXPAND_YES} />{L_YES}</label>
+ <label><input type="radio" name="expand" value="false" {EXPAND_NO} />{L_NO}</label>
</td>
</tr>
<tr>
<td>{L_SHOW_NB_COMMENTS}</td>
<td>
- <input type="radio" name="show_nb_comments_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="show_nb_comments_action" value="set" id="show_nb_comments_action_set" /> set to
- <input onmousedown="document.getElementById('show_nb_comments_action_set').checked = true;"
- type="radio" class="radio" name="show_nb_comments" value="true" {SHOW_NB_COMMENTS_YES} />{L_YES}
- <input onmousedown="document.getElementById('show_nb_comments_action_set').checked = true;"
- type="radio" class="radio" name="show_nb_comments" value="false" {SHOW_NB_COMMENTS_NO} />{L_NO}
+ <label><input type="radio" name="show_nb_comments" value="leave" checked="checked" /> {lang:leave}</label>
+ / {lang:set to}
+ <label><input type="radio" name="show_nb_comments" value="true" {SHOW_NB_COMMENTS_YES} />{L_YES}</label>
+ <label><input type="radio" name="show_nb_comments" value="false" {SHOW_NB_COMMENTS_NO} />{L_NO}</label>
</td>
</tr>
<tr>
<td>{L_MAXWIDTH}</td>
<td>
- <input type="radio" name="maxwidth_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="maxwidth_action" value="unset" /> unset
- <input type="radio" name="maxwidth_action" value="set" id="maxwidth_action_set" /> set to
+ <label><input type="radio" name="maxwidth_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="maxwidth_action" value="unset" /> {lang:unset}</label>
+ <label><input type="radio" name="maxwidth_action" value="set" id="maxwidth_action_set" /> {lang:set to}</label>
<input onmousedown="document.getElementById('maxwidth_action_set').checked = true;"
type="text" size="4" maxlength="4" name="maxwidth" value="{MAXWIDTH}" />
</td>
@@ -231,40 +248,28 @@
<tr>
<td>{L_MAXHEIGHT}</td>
<td>
- <input type="radio" name="maxheight_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="maxheight_action" value="unset" /> unset
- <input type="radio" name="maxheight_action" value="set" id="maxheight_action_set" /> set to
+ <label><input type="radio" name="maxheight_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="maxheight_action" value="unset" /> {lang:unset}</label>
+ <label><input type="radio" name="maxheight_action" value="set" id="maxheight_action_set" /> {lang:set to}</label>
<input onmousedown="document.getElementById('maxheight_action_set').checked = true;"
type="text" size="4" maxlength="4" name="maxheight" value="{maxheight}" />
</td>
</tr>
- <tr>
- <td>{L_STATUS}</td>
- <td>
- <input type="radio" name="status_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="status_action" value="set" id="status_action_set" /> set to
- <select onmousedown="document.getElementById('status_action_set').checked = true;" name="status" size="1">
- <!-- BEGIN pref_status_option -->
- <option {pref_status_option.SELECTED} value="{pref_status_option.VALUE}">{pref_status_option.CONTENT}</option>
- <!-- END pref_status_option -->
- </select>
- </td>
- </tr>
</table>
</fieldset>
-<p style="text-align:center;">
- target
- <input type="radio" name="target" value="all" /> all
- <input type="radio" name="target" value="selection" checked="checked" /> selection
+<p>
+ {lang:target}
+ <label><input type="radio" name="target" value="all" /> {lang:all}
+ <label><input type="radio" name="target" value="selection" checked="checked" /> {lang:selection}
</p>
-<p style="text-align:center;">
- <input type="submit" value="{L_SUBMIT}" name="pref_submit" class="bouton" />
- <input type="reset" value="{L_RESET}" name="pref_reset" class="bouton" />
+<p>
+ <input type="submit" value="{L_SUBMIT}" name="pref_submit" />
+ <input type="reset" value="{L_RESET}" name="pref_reset" />
</p>
</form>