모바일: #434 에 따른 온라인 서식 label title placeholder 처리
This commit is contained in:
@ -51,7 +51,12 @@ if ($is_nogood) $colspan++;
|
||||
<table class="basic_tbl">
|
||||
<thead>
|
||||
<tr>
|
||||
<? if ($is_checkbox) { ?><th scope="col"><input type="checkbox" title="현재 페이지 게시물 전체선택" onclick="if (this.checked) all_checked(true); else all_checked(false);"></th><?}?>
|
||||
<? if ($is_checkbox) { ?>
|
||||
<th scope="col">
|
||||
<label for="chkall">현재 페이지 게시물 전체</label>
|
||||
<input type="checkbox" id="chkall" onclick="if (this.checked) all_checked(true); else all_checked(false);">
|
||||
</th>
|
||||
<?}?>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col"><?=subject_sort_link('wr_datetime', $qstr2, 1)?>날짜</a></th>
|
||||
</tr>
|
||||
@ -61,7 +66,11 @@ if ($is_nogood) $colspan++;
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
?>
|
||||
<tr class="<? if ($list[$i]['is_notice']) echo "bo_notice";?>">
|
||||
<? if ($is_checkbox) { ?><td class="td_chk"><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="이 게시물 선택"></td><? } ?>
|
||||
<? if ($is_checkbox) { ?>
|
||||
<td class="td_chk">
|
||||
<label for="chk_wr_id_<?=$i?>" class="sound_only"><?=$list[$i]['subject']?></label>
|
||||
<input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" id="chk_wr_id_<?=$i?>">
|
||||
</td><? } ?>
|
||||
<td class="td_subject">
|
||||
<?
|
||||
echo $list[$i]['icon_reply'];
|
||||
@ -131,7 +140,8 @@ if ($is_nogood) $colspan++;
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="sca" value="<?=$sca?>">
|
||||
<input type="hidden" name="sop" value="and">
|
||||
<select name="sfl" title="검색대상">
|
||||
<label for="sfl" class="sound_only">검색대상</label>
|
||||
<select name="sfl">
|
||||
<option value="wr_subject"<?=get_selected($sfl, 'wr_subject', true);?>>제목</option>
|
||||
<option value="wr_content"<?=get_selected($sfl, 'wr_content');?>>내용</option>
|
||||
<option value="wr_subject||wr_content"<?=get_selected($sfl, 'wr_subject||wr_content');?>>제목+내용</option>
|
||||
@ -140,7 +150,7 @@ if ($is_nogood) $colspan++;
|
||||
<option value="wr_name,1"<?=get_selected($sfl, 'wr_name,1');?>>글쓴이</option>
|
||||
<option value="wr_name,0"<?=get_selected($sfl, 'wr_name,0');?>>글쓴이(코)</option>
|
||||
</select>
|
||||
<input name="stx" value="<?=stripslashes($stx)?>" title="검색어(필수)" required class="required" size="15" maxlength="15">
|
||||
<input name="stx" value="<?=stripslashes($stx)?>" placeholder="검색어(필수)" required class="required" size="15" maxlength="15">
|
||||
<input type="submit" value="검색">
|
||||
</form>
|
||||
</fieldset>
|
||||
|
||||
@ -116,7 +116,7 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
<th scope="row">내용</th>
|
||||
<td>
|
||||
<? if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span>글자</strong><?}?>
|
||||
<textarea id="wr_content" title="댓글내용입력(필수)" name="wr_content" required
|
||||
<textarea id="wr_content" name="wr_content" required
|
||||
<? if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?>><? echo $c_wr_content; ?></textarea>
|
||||
<? if ($comment_min || $comment_max) { ?><script> check_byte('wr_content', 'char_count'); </script><?}?>
|
||||
</td>
|
||||
|
||||
@ -70,7 +70,10 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
$li_width = 100 / $board['bo_mobile_gallery_cols']; // 100% 를 모바일 이미지 수로 나누어 li 넓이값에 적용 - 지운아빠 2013-03-07
|
||||
?>
|
||||
<li class="bo_img_list_li <? if ($wr_id == $list[$i]['wr_id']) { ?>bo_img_now<? } ?>" style="<?=$style?>width:<?=round($li_width)?>%">
|
||||
<? if ($is_checkbox) { ?><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="<?=$list[$i]['subject']?> 선택"><? } ?>
|
||||
<? if ($is_checkbox) { ?>
|
||||
<label for="chk_wr_id_<?=$i?>" class="sound_only"><?=$list[$i]['subject']?></label>
|
||||
<input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" id="chk_wr_id_<?=$i?>">
|
||||
<? } ?>
|
||||
<span class="sound_only">
|
||||
<?
|
||||
if ($wr_id == $list[$i]['wr_id'])
|
||||
@ -171,7 +174,8 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="sca" value="<?=$sca?>">
|
||||
<input type="hidden" name="sop" value="and">
|
||||
<select name="sfl" title="검색대상">
|
||||
<label for="sfl" class="sound_only">검색대상</label>
|
||||
<select name="sfl" id="sfl">
|
||||
<option value="wr_subject"<?=get_selected($sfl, "wr_subject", true);?>>제목</option>
|
||||
<option value="wr_content"<?=get_selected($sfl, "wr_content");?>>내용</option>
|
||||
<option value="wr_subject||wr_content"<?=get_selected($sfl, "wr_subject||wr_content");?>>제목+내용</option>
|
||||
@ -180,7 +184,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<option value="wr_name,1"<?=get_selected($sfl, "wr_name,1");?>>글쓴이</option>
|
||||
<option value="wr_name,0"<?=get_selected($sfl, "wr_name,0");?>>글쓴이(코)</option>
|
||||
</select>
|
||||
<input name="stx" value="<?=stripslashes($stx)?>" title="검색어(필수)" required class="required" size="15" maxlength="15">
|
||||
<input name="stx" value="<?=stripslashes($stx)?>" placeholder="검색어(필수)" required class="required" size="15" maxlength="15">
|
||||
<input type="submit" value="검색">
|
||||
</form>
|
||||
</fieldset>
|
||||
|
||||
@ -117,7 +117,7 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
<td>
|
||||
<? if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span>글자</strong><?}?>
|
||||
<textarea name="wr_content" id="wr_content" required
|
||||
<? if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?> title="댓글내용입력(필수)"><? echo $c_wr_content; ?></textarea>
|
||||
<? if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?>><? echo $c_wr_content; ?></textarea>
|
||||
<? if ($comment_min || $comment_max) { ?><script> check_byte('wr_content', 'char_count'); </script><?}?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -118,7 +118,7 @@ echo $option_hidden;
|
||||
<tr>
|
||||
<th scope="row">파일 #<?=$i+1?></th>
|
||||
<td>
|
||||
<input type="file" name="bf_file[]" title="파일첨부 <?=$i+1?> : 용량 <?=$upload_max_filesize?> 이하만 업로드 가능" class="frm_file frm_input">
|
||||
<input type="file" name="bf_file[]" title="파일첨부 <?=$i+1?> : 용량 <?=$upload_max_filesize?> 이하만 업로드 가능" class="frm_file frm_input">
|
||||
<? if ($is_file_content) { ?>
|
||||
<input type="text" name="bf_content[]" value="<? echo $file[$i]['bf_content']; ?>" title="파일 설명을 입력해주세요." class="frm_file frm_input" size="50">
|
||||
<?}?>
|
||||
|
||||
Reference in New Issue
Block a user