aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/admin
diff options
context:
space:
mode:
Diffstat (limited to 'template/default/admin')
-rw-r--r--template/default/admin/cat_options.tpl83
-rw-r--r--template/default/admin/user_perm.tpl10
2 files changed, 39 insertions, 54 deletions
diff --git a/template/default/admin/cat_options.tpl b/template/default/admin/cat_options.tpl
index 148f72e0b..1a5f442ba 100644
--- a/template/default/admin/cat_options.tpl
+++ b/template/default/admin/cat_options.tpl
@@ -1,60 +1,43 @@
-<p class="confMenu">
- <a class="{UPLOAD_CLASS}" href="{U_UPLOAD}">{L_CAT_OPTIONS_MENU_UPLOAD}</a>
- <a class="{COMMENTS_CLASS}" href="{U_COMMENTS}">{L_CAT_OPTIONS_MENU_COMMENTS}</a>
- <a class="{VISIBLE_CLASS}" href="{U_VISIBLE}">{L_CAT_OPTIONS_MENU_VISIBLE}</a>
- <a class="{STATUS_CLASS}" href="{U_STATUS}">{L_CAT_OPTIONS_MENU_STATUS}</a>
-</p>
+<table width="100%" align="center">
+ <tr class="admin">
+ <th colspan="2">{L_TITLE}</th>
+ </tr>
+</table>
<form action="{F_ACTION}" method="post">
- <select style="width:500px" multiple="multiple" name="cat[]" size="20">
- <!-- BEGIN category_option -->
- <option class="{category_option.CLASS}" {category_option.SELECTED} value="{category_option.VALUE}">{category_option.OPTION}</option>
- <!-- END category_option -->
+ <table>
+ <tr>
+ <td style="text-align:center;">{L_CAT_OPTIONS_TRUE}</td>
+ <td></td>
+ <td style="text-align:center;">{L_CAT_OPTIONS_FALSE}</td>
+ </tr>
+ <tr>
+ <td>
+ <select style="width:300px" multiple="multiple" name="cat_true[]" size="20">
+ <!-- BEGIN category_option_true -->
+ <option class="{category_option_true.CLASS}" {category_option_true.SELECTED} value="{category_option_true.VALUE}">{category_option_true.OPTION}</option>
+ <!-- END category_option_true -->
</select>
+ </td>
+ <td valign="middle">
+ <input type="submit" value="&rarr;" name="falsify" style="font-size:15px;" class="bouton" />
+ <br />
+ <input type="submit" value="&larr;" name="trueify" style="font-size:15px;" class="bouton" />
+ </td>
+ <td>
+ <select style="width:300px" multiple="multiple" name="cat_false[]" size="20">
+ <!-- BEGIN category_option_false -->
+ <option class="{category_option_false.CLASS}" {category_option_false.SELECTED} value="{category_option_false.VALUE}">{category_option_false.OPTION}</option>
+ <!-- END category_option_false -->
+ </select>
+ </td>
+ </tr>
+ </table>
- <!-- BEGIN upload -->
- <p>{L_CAT_OPTIONS_UPLOAD_INFO}</p>
- <p>
- <input type="radio" name="option" value="true"/> <span class="optionTrue">{L_CAT_OPTIONS_UPLOAD_TRUE}</span>
- </p>
- <p>
- <input type="radio" name="option" value="false"/> <span class="optionFalse">{L_CAT_OPTIONS_UPLOAD_FALSE}</span>
- </p>
- <!-- END upload -->
-
- <!-- BEGIN comments -->
- <p>{L_CAT_OPTIONS_COMMENTS_INFO}</p>
- <p>
- <input type="radio" name="option" value="true"/> <span class="optionTrue">{L_CAT_OPTIONS_COMMENTS_TRUE}</span>
- </p>
- <p>
- <input type="radio" name="option" value="false"/> <span class="optionFalse">{L_CAT_OPTIONS_COMMENTS_FALSE}</span>
- </p>
- <!-- END comments -->
-
- <!-- BEGIN visible -->
- <p>{L_CAT_OPTIONS_VISIBLE_INFO}</p>
- <p>
- <input type="radio" name="option" value="true"/> <span class="optionTrue">{L_CAT_OPTIONS_VISIBLE_TRUE}</span>
- </p>
- <p>
- <input type="radio" name="option" value="false"/> <span class="optionFalse">{L_CAT_OPTIONS_VISIBLE_FALSE}</span>
- </p>
- <!-- END visible -->
-
- <!-- BEGIN status -->
- <p>{L_CAT_OPTIONS_STATUS_INFO}</p>
- <p>
- <input type="radio" name="option" value="true"/> <span class="optionTrue">{L_CAT_OPTIONS_STATUS_TRUE}</span>
- </p>
- <p>
- <input type="radio" name="option" value="false"/> <span class="optionFalse">{L_CAT_OPTIONS_STATUS_FALSE}</span>
- </p>
- <!-- END status -->
+ <p>{L_CAT_OPTIONS_INFO}</p>
<p style="text-align:center;">
- <input type="submit" value="{L_SUBMIT}" name="submit" class="bouton" />
<input type="reset" name="reset" value="{L_RESET}" class="bouton" />
</p>
diff --git a/template/default/admin/user_perm.tpl b/template/default/admin/user_perm.tpl
index c55c85446..f6fa3ba2a 100644
--- a/template/default/admin/user_perm.tpl
+++ b/template/default/admin/user_perm.tpl
@@ -12,15 +12,17 @@
<form action="{F_AUTH_ACTION}" method="POST">
<ul class="menu">
<!-- BEGIN category -->
- <li> <a href="{permission.category.CAT_URL}">{permission.category.CAT_NAME}</a>
+ <li>
+ <input type="radio" name="{permission.category.CAT_ID}" value="0" {permission.category.AUTH_YES}/>{L_AUTHORIZED}
+ <input type="radio" name="{permission.category.CAT_ID}" value="1" {permission.category.AUTH_NO}/>{L_FORBIDDEN}
+ :
+ <a href="{permission.category.CAT_URL}">{permission.category.CAT_NAME}</a>
<!-- BEGIN parent_forbidden -->
{L_PARENT_FORBIDDEN}&nbsp;-&nbsp;
<!-- END parent_forbidden -->
- <input type="radio" name="{permission.category.CAT_ID}" value="0" {permission.category.AUTH_YES}/>{L_AUTHORIZED}
- <input type="radio" name="{permission.category.CAT_ID}" value="1" {permission.category.AUTH_NO}/>{L_FORBIDDEN}
</li>
<!-- END category -->
</ul>
<input type="submit" name="submit" class="bouton" value="{L_SUBMIT}"/>
</form>
-<!-- END permission --> \ No newline at end of file
+<!-- END permission -->