Save per-board configuration

This commit is contained in:
BJRambo 2016-05-14 00:21:55 +09:00
parent 173dd35d42
commit f7367f2888
10 changed files with 15 additions and 71 deletions

View file

@ -1,25 +0,0 @@
<include target="./header.html" />
<form action="{getUrl()}" method="post" class="x_form-horizontal" id="fo_trash">
<input type="hidden" name="module" value="trash" />
<input type="hidden" name="act" value="procTrashAdminConfig" />
<section class="section">
<div class="x_control-group">
<label class="x_control-label">{$lang->document_force_to_move}</label>
<div class="x_controls">
<label class="x_inline">
<input type="radio" id="trash_use_y" name="trash_use" value="Y" checked="checked"|cond="$config->trash_use == 'Y'" /> {$lang->force_to_move}
</label>
<label class="x_inline">
<input type="radio" id="trash_use_n" name="trash_use" value="N" checked="checked"|cond="$config->trash_use == 'N'" /> {$lang->do_not_forceto_move}
</label>
<p class="x_help-block">{$lang->about_document_force_to_move}</p>
</div>
</div>
</section>
<div class="x_clearfix btnArea">
<div class="x_pull-right">
<button class="x_btn x_btn-primary" type="submit">{$lang->cmd_registration}</button>
</div>
</div>
</form>

View file

@ -6,7 +6,6 @@
<div class="header4">
<ul class="x_nav x_nav-tabs">
<li class="x_active"|cond="$act=='dispTrashAdminList'"><a href="{getUrl('act','dispTrashAdminList')}">{$lang->cmd_trash_list}</a></li>
<li class="x_active"|cond="$act=='dispTrashAdminConfig'"><a href="{getUrl('act', 'dispTrashAdminConfig')}">{$lang->cmd_trash_setting}</a></li>
</ul>
</div>

View file

@ -3,7 +3,6 @@ var confirm_restore_msg = '{$lang->confirm_restore}';
var no_text_comment = '{$lang->no_text_comment}';
</script>
<load target="js/trash_admin.js" />
<include target="./header.html" />
<form ruleset="emptyTrash" action="./" method="post">
<input type="hidden" name="module" value="trash" />