#208, checkbox 모두 선택, 모두 해제, 선택 반전 기능 추가 (lang 언어별 버튼 번역 필요)

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2699 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
k10206 2007-10-09 00:06:24 +00:00
parent 9985744a59
commit 4267b0c1d7
10 changed files with 71 additions and 14 deletions

View file

@ -67,12 +67,22 @@
</select>
<!--@elseif($var->type == "mid_list")-->
<div class="clear">
<span class="button"><input type="button" onclick="checkboxSelectAll(this.form, '{$id}', true);return false;" value="{$lang->cmd_select_all}"></span>
<span class="button"><input type="button" onclick="checkboxSelectAll(this.form, '{$id}', false);return false;" value="{$lang->cmd_unselect_all}"></span>
<span class="button"><input type="button" onclick="checkboxSelectAll(this.form, '{$id}');return false;" value="{$lang->cmd_reverse_all}"></span>
</div>
<!--@foreach($mid_list as $key => $val)-->
<div class="widget_mid_list">
<input type="checkbox" value="{$key}" name="{$id}" id="chk_mid_list_{$key}" />
<label for="chk_mid_list_{$key}">{$key} ({$val->browser_title})</label>
</div>
<!--@end-->
<div class="clear">
<span class="button"><input type="button" onclick="checkboxSelectAll(this.form, '{$id}', true);return false;" value="{$lang->cmd_select_all}"></span>
<span class="button"><input type="button" onclick="checkboxSelectAll(this.form, '{$id}', false);return false;" value="{$lang->cmd_unselect_all}"></span>
<span class="button"><input type="button" onclick="checkboxSelectAll(this.form, '{$id}');return false;" value="{$lang->cmd_reverse_all}"></span>
</div>
<!--@end-->
<p class="clear">{nl2br($var->description)}</p>
</td>

View file

@ -69,12 +69,22 @@
</select>
<!--@elseif($var->type == "mid_list")-->
<div class="clear">
<span class="button"><input type="button" onclick="checkboxSelectAll(this.form, '{$id}', true);return false;" value="{$lang->cmd_select_all}"></span>
<span class="button"><input type="button" onclick="checkboxSelectAll(this.form, '{$id}', false);return false;" value="{$lang->cmd_unselect_all}"></span>
<span class="button"><input type="button" onclick="checkboxSelectAll(this.form, '{$id}');return false;" value="{$lang->cmd_reverse_all}"></span>
</div>
<!--@foreach($mid_list as $key => $val)-->
<div class="widget_mid_list">
<input type="checkbox" value="{$key}" name="{$id}" id="chk_mid_list_{$key}" />
<label for="chk_mid_list_{$key}">{$key} ({$val->browser_title})</label>
</div>
<!--@end-->
<div class="clear">
<span class="button"><input type="button" onclick="checkboxSelectAll(this.form, '{$id}', true);return false;" value="{$lang->cmd_select_all}"></span>
<span class="button"><input type="button" onclick="checkboxSelectAll(this.form, '{$id}', false);return false;" value="{$lang->cmd_unselect_all}"></span>
<span class="button"><input type="button" onclick="checkboxSelectAll(this.form, '{$id}');return false;" value="{$lang->cmd_reverse_all}"></span>
</div>
<!--@end-->
<p class="clear">{nl2br($var->description)}</p>
</td>