마크업:관리자>게시판그룹,게시판,관리권한 목록 caption 전체선택 등
This commit is contained in:
@ -79,7 +79,7 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<button id="bo_gr_add">게시판그룹 추가</button>
|
||||
<?if ($is_admin == 'super') {?><a href="./boardgroup_form.php" id="bo_gr_add">게시판그룹 추가</a><?}?>
|
||||
|
||||
<form id="fboardgrouplist" name="fboardgrouplist" method="post">
|
||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||
@ -100,11 +100,11 @@ var list_update_php = "./boardgroup_list_update.php";
|
||||
<tr>
|
||||
<th scope="col" id="th_gr_id"><?=subject_sort_link('gr_id')?>그룹아이디</a></th>
|
||||
<th scope="col" id="th_gr_subject"><?=subject_sort_link('gr_subject')?>제목</a></th>
|
||||
<th scope="col" id="th_chkall"><input type="checkbox" id="chkall" name="chkall" value="1" onclick="check_all(this.form)"></th>
|
||||
<th scope="col" id="th_gr_admin"><?=subject_sort_link('gr_admin')?>그룹관리자</a></th>
|
||||
<th scope="col" id="th_bo_cnt">게시판</th>
|
||||
<th scope="col" id="th_gr_use_access">접근사용</th>
|
||||
<th scope="col" id="th_gr_use_access_cnt">접근회원수</th>
|
||||
<th scope="col" id="th_chkall"><input type="checkbox" id="chkall" name="chkall" value="1" title="현재목록 전체선택" onclick="check_all(this.form)"></th>
|
||||
<th scope="col" id="th_up_del">관리</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -131,17 +131,11 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
<tr>
|
||||
<td headers="th_gr_id"><a href="<?=$g4['bbs_path']?>/group.php?gr_id="<?=$row['gr_id']?>"><?=$row['gr_id']?></a></td>
|
||||
<td headers="th_gr_subject">
|
||||
<label for="gr_subject_<?=$i?>">그룹제목</label>
|
||||
<input type="text" id="gr_subject_<?=$i?>" name="gr_subject[<?=$i?>]" value="<?=get_text($row['gr_subject'])?>">
|
||||
</td>
|
||||
<td headers="th_chkall">
|
||||
<input type="hidden" id="gr_id" name="gr_id[<?=$i?>]" value="<?=$row['gr_id']?>">
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>">
|
||||
<input type="text" id="gr_subject_<?=$i?>" name="gr_subject[<?=$i?>]" value="<?=get_text($row['gr_subject'])?>" title="그룹제목 수정">
|
||||
</td>
|
||||
<td headers="th_gr_admin">
|
||||
<?if ($is_admin == 'super'){?>
|
||||
<label for="gr_admin">그룹관리자</label>
|
||||
<input type="text" id="gr_admin" name="gr_admin[<?=$i?>]" value="<?=$row['gr_admin']?>" maxlength="20">
|
||||
<input type="text" id="gr_admin" name="gr_admin[<?=$i?>]" value="<?=$row['gr_admin']?>" title="그룹관리자 수정" maxlength="20">
|
||||
<?}else{?>
|
||||
<input type="hidden" name="gr_admin[<?=$i?>]" value="<?=$row['gr_admin']?>"><td><?=$row['gr_admin']?>
|
||||
<?}?>
|
||||
@ -149,6 +143,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
<td headers="th_bo_cnt"><a href="./board_list.php?sfl=a.gr_id&stx=<?=$row['gr_id']?>"><?=$row2['cnt']?></a></td>
|
||||
<td headers="th_gr_use_access"><input type="checkbox" id="gr_use_access" name="gr_use_access[<?=$i?>]" <?=$row['gr_use_access']?'checked':''?> value="1"></td>
|
||||
<td headers="th_gr_use_access_cnt"><a href="./boardgroupmember_list.php?gr_id=<?=$row['gr_id']?>"><?=$row1['cnt']?></a></td>
|
||||
<td headers="th_chkall">
|
||||
<input type="hidden" id="gr_id" name="gr_id[<?=$i?>]" value="<?=$row['gr_id']?>">
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>" title="그룹선택">
|
||||
</td>
|
||||
<td headers="th_up_del"><?=$s_upd?> <?=$s_del?></td>
|
||||
</tr>
|
||||
|
||||
@ -162,6 +160,7 @@ if ($i == 0)
|
||||
<div class="btn_list">
|
||||
<input type="button" value="선택수정" onclick="btn_check(this.form, 'update')">
|
||||
<!-- <input type="button" value="선택삭제" onclick="btn_check(this.form, 'delete')"> -->
|
||||
<a href="./boardgroup_form.php">게시판그룹 추가</a>
|
||||
</div>
|
||||
|
||||
<?
|
||||
|
||||
Reference in New Issue
Block a user