mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
게시글 관리시 checkbox선택시 세션 정보 저장 기능 동작하도록 js 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3016 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a6b8d82036
commit
0eca14b907
6 changed files with 13 additions and 5 deletions
|
|
@ -762,6 +762,14 @@ function checkboxSelectAll(form, name, option){
|
|||
}
|
||||
}
|
||||
|
||||
/* 체크박스를 실행 */
|
||||
function clickCheckBoxAll(form, name) {
|
||||
var fo_obj = xGetElementById(form);
|
||||
for ( var i = 0 ; i < fo_obj.length ; i++ ){
|
||||
if(fo_obj[i].name == name) fo_obj[i].click();
|
||||
}
|
||||
}
|
||||
|
||||
/* 관리자가 문서를 관리하기 위해서 선택시 세션에 넣음 */
|
||||
function doAddDocumentCart(obj) {
|
||||
var srl = obj.value;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<tr>
|
||||
<!--@if($grant->is_admin)-->
|
||||
<th scope="col" class="checkbox{$no_line_class}">
|
||||
<input type="checkbox" onclick="checkboxSelectAll(this.form, 'cart'); return false;" />
|
||||
<input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" />
|
||||
</th>
|
||||
{@ $no_line_class=""}
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<div class="boardSubMenu">
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
<div class="fl">
|
||||
<!--@if($grant->is_admin)--><input type="checkbox" onclick="checkboxSelectAll(this.form, 'cart'); return false;" /><!--@end-->
|
||||
<!--@if($grant->is_admin)--><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /><!--@end-->
|
||||
<!-- 카테고리 사용시 카테고리 선택 표시 -->
|
||||
<select name="category" id="board_category">
|
||||
<option value="">{$lang->category}</option>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
<tr>
|
||||
<!--@if($module_info->display_number!='N')--><th scope="col" class="num{$no_line_class}">{$lang->no}</th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<!--@if($grant->is_admin)--><th scope="col" class="checkbox{$no_line_class}"><input type="checkbox" onclick="checkboxSelectAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
|
||||
<!--@if($grant->is_admin)--><th scope="col" class="checkbox{$no_line_class}"><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<th scope="col" class="<!--@if($module_info->use_category == 'Y')-->category<!--@else-->title<!--@end-->{$no_line_class}">
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
<tr>
|
||||
<!--@if($module_info->display_number!='N')--><th scope="col" class="num{$no_line_class}">{$lang->no}</th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<!--@if($grant->is_admin)--><th scope="col" class="checkbox{$no_line_class}"><input type="checkbox" onclick="checkboxSelectAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
|
||||
<!--@if($grant->is_admin)--><th scope="col" class="checkbox{$no_line_class}"><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<th scope="col" colspan="2" class="<!--@if($module_info->use_category=='Y')-->category<!--@else-->title<!--@end-->{$no_line_class}">
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th scope="col">{$lang->no}</th>
|
||||
<th scope="col"><input type="checkbox" onclick="checkboxSelectAll(this.form, 'cart'); return false;" /></th>
|
||||
<th scope="col"><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></th>
|
||||
<th scope="col">
|
||||
<div class="nowrap">
|
||||
<select name="module_srl" id="module_srl" class="w200">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue