사용자공통: #488 게시물 선택복사 전체선택 마크업 및 스타일 작업

This commit is contained in:
whitedot
2013-08-08 11:22:57 +09:00
parent a232452025
commit 990f765a83
3 changed files with 30 additions and 19 deletions

View File

@ -59,31 +59,34 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
<thead>
<tr>
<th scope="col">
<label for="chkall" class="sound_only">현재 페이지 게시 전체</label>
<label for="chkall" class="sound_only">게시 전체</label>
<input type="checkbox" id="chkall" onclick="if (this.checked) all_checked(true); else all_checked(false);">
</th>
<th scope="col">게시판</th>
</tr>
</thead>
<tbody>
<?php for ($i=0; $i<count($list); $i++) { ?>
<tr>
<?php for ($i=0; $i<count($list); $i++) {
$atc_mark = '';
$atc_bg = '';
if ($list[$i]['bo_table'] == $bo_table) { // 게시물이 현재 속해 있는 게시판이라면
$atc_mark = '<span class="copymove_current">현재<span class="sound_only">게시판</span></span>';
$atc_bg = 'copymove_currentbg';
}
?>
<tr class="<?php echo $atc_bg; ?>">
<td class="td_chk">
<label for="chk<?php echo $i ?>" class="sound_only"><?php echo $list[$i]['bo_table'] ?></label>
<input type="checkbox" id="chk<?php echo $i ?>" name="chk_bo_table[]" value="<?php echo $list[$i]['bo_table'] ?>">
<input type="checkbox" value="<?php echo $list[$i]['bo_table'] ?>" id="chk<?php echo $i ?>" name="chk_bo_table[]">
</td>
<td>
<label for="chk<?php echo $i ?>">
<?php
echo $list[$i]['gr_subject'] . " &gt; ";
$save_gr_subject = $list[$i]['gr_subject'];
?>
<?php echo $list[$i]['bo_subject'] ?> (<?php echo $list[$i]['bo_table'] ?>)
<?php
if ($list[$i]['bo_table'] == $bo_table) {
echo " <- 원본 게시판";
}
?>
<?php
echo $list[$i]['gr_subject'] . ' &gt; ';
$save_gr_subject = $list[$i]['gr_subject'];
?>
<?php echo $list[$i]['bo_subject'] ?> (<?php echo $list[$i]['bo_table'] ?>)
<?php echo $atc_mark; ?>
</label>
</td>
</tr>
@ -92,7 +95,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
</table>
<div class="btn_win btn_confirm">
<input type="submit" id="btn_submit" class="btn_submit" value="<?php echo $act ?>">
<input type="submit" value="<?php echo $act ?>" id="btn_submit" class="btn_submit">
</div>
</form>
@ -100,9 +103,9 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
<script>
$(function() {
$(".btn_win").append("<a class=\"btn_cancel\">창닫기</a>");
$(".btn_win").append("<button type=\"button\" class=\"btn_cancel\">창닫기</button>");
$(".btn_win a").click(function() {
$(".btn_win button").click(function() {
window.close();
});
});
@ -148,8 +151,6 @@ function fboardmoveall_submit(f)
}
</script>
</td></tr></table>
<?php
include_once(G4_PATH.'/tail.sub.php');
?>

View File

@ -93,6 +93,11 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
#ft_copy b {color:#fff}
#ft_copy a {position:absolute;top:10px;right:0;color:#fff}
/* 게시물 선택복사 선택이동 */
#copymove {}
.copymove_current {float:right;color:#ff3061}
.copymove_currentbg {background:#f4f4f4}
/* 화면낭독기 사용자용 */
#hd_login_msg {position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden}
.msg_sound_only, .sound_only {display:inline-block !important;position:absolute;top:0;left:0;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}

View File

@ -92,6 +92,11 @@ pre {overflow-x:scroll;font-size:1.1em}
#ft_copy b {color:#fff}
#ft_copy a {color:#fff;text-decoration:none}
/* 게시물 선택복사 선택이동 */
#copymove {}
.copymove_current {float:right;color:#ff3061}
.copymove_currentbg {background:#f4f4f4}
/* PC화면으로 */
#device_change {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;color:#000;font-size:1em;text-decoration:none;text-align:center}