diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/default/admin.tpl | 2 | ||||
-rw-r--r-- | template/default/admin/cat_options.tpl | 55 | ||||
-rw-r--r-- | template/default/default.css | 13 |
3 files changed, 42 insertions, 28 deletions
diff --git a/template/default/admin.tpl b/template/default/admin.tpl index 8c72195d2..39879fffb 100644 --- a/template/default/admin.tpl +++ b/template/default/admin.tpl @@ -43,7 +43,7 @@ <li><a class="adminMenu" href="{U_CAT_VISIBLE}">{L_CAT_VISIBLE}</a></li> <li><a class="adminMenu" href="{U_CAT_STATUS}">{L_CAT_STATUS}</a></li> <!-- BEGIN representative --> - <li><a class="adminMenu" href="{representative.URL}">{lang:Representatve}</a></li> + <li><a class="adminMenu" href="{representative.URL}">{lang:Representative}</a></li> <!-- END representative --> </ul> </div> diff --git a/template/default/admin/cat_options.tpl b/template/default/admin/cat_options.tpl index c9cf1e8ef..83829cff5 100644 --- a/template/default/admin/cat_options.tpl +++ b/template/default/admin/cat_options.tpl @@ -1,31 +1,32 @@ <div class="admin">{L_CAT_TITLE}</div> -<form name="form1" method="post" action="{F_ACTION}" style="text-align:center;width:800px;"> -<div style="clear:both;"></div> -<div style="height:auto;"> - <div style="float:left;padding:10px;width:300px;"> - <span class="titreMenu">{L_CAT_OPTIONS_TRUE}</span><br /> - <select style="height:auto;width:280px" name="cat_true[]" multiple="multiple" size="10"> - <!-- 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> - </div> - <div style="float:left;padding-top:80px;padding-bottom:80px;text-align:center;width:160px;" > - <input type="submit" value="«" name="trueify" style="font-size:15px;" class="bouton" /><br/> - <input type="submit" value="»" name="falsify" style="font-size:15px;" class="bouton" /> - </div> - <div style="float:right;padding:10px;width:300px;"> - <span class="titreMenu">{L_CAT_OPTIONS_FALSE}</span><br /> - <select style="width:280px" name="cat_false[]" multiple="multiple" size="10"> - <!-- 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> - </div> -</div> -<div style="clear:both;"></div> -<input type="hidden" name="{HIDDEN_NAME}" value="{HIDDEN_VALUE}" /> -<input type="reset" name="reset" value="{L_RESET}" class="bouton" /> + +<form method="post" action="{F_ACTION}"> + <input type="hidden" name="{HIDDEN_NAME}" value="{HIDDEN_VALUE}" /> + + <table class="doubleSelect"> + <tr> + <td> + <h3>{L_CAT_OPTIONS_TRUE}</h3> + <select class="categoryList" name="cat_true[]" multiple="multiple" size="30"> + <!-- 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> + <p><input type="submit" value="»" name="falsify" style="font-size:15px;"/></p> + </td> + + <td> + <h3>{L_CAT_OPTIONS_FALSE}</h3> + <select class="categoryList" name="cat_false[]" multiple="multiple" size="30"> + <!-- 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> + <p><input type="submit" value="«" name="trueify" style="font-size:15px;" /></p> + </td> + </tr> + </table> </form> + <div class="information">{L_CAT_OPTIONS_INFO}</div> diff --git a/template/default/default.css b/template/default/default.css index d326f45ff..352f5d5f1 100644 --- a/template/default/default.css +++ b/template/default/default.css @@ -508,3 +508,16 @@ fieldset { fieldset>legend { margin: 5px; } + +select.categoryList { + width: 400px; +} + +table.doubleSelect { + text-align: center; + margin: 0 auto; +} + +table.doubleSelect td { + padding: 0 5px; +}
\ No newline at end of file |