관리자: input select label 중심 마크업 정리

This commit is contained in:
whitedot
2014-04-02 10:54:19 +09:00
parent f65314bd94
commit 13cdf776f5
32 changed files with 121 additions and 102 deletions

View File

@ -152,7 +152,7 @@ while ($res = sql_fetch_array($qry)) array_push($group, $res);
</select>
<label for="svv" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" size="15" name="sv" id="svv" class="frm_input" value="<?php echo $sv?>">
<input type="text" size="15" name="sv" value="<?php echo $sv?>" id="svv" required class="required frm_input">
<input type="submit" value="검색" class="btn_submit">
</form>

View File

@ -126,9 +126,9 @@ if ($config['cf_sms_use'] == 'icode') { // 아이코드 사용
<td>
<?php echo help("문자전송을 허용할 회원레벨을 선택해주세요.");?>
<select name="cf_level" id="cf_level">
<?php for ($i=1; $i<=10; $i++) { ?>
<option value='<?php echo $i?>' <?php if ($sms5['cf_level'] == $i) echo 'selected';?> > <?php echo $i?> </option>
<?php } ?>
<?php for ($i=1; $i<=10; $i++) { ?>
<option value='<?php echo $i?>' <?php if ($sms5['cf_level'] == $i) echo 'selected';?> > <?php echo $i?> </option>
<?php } ?>
</select>
레벨 이상
</td>

View File

@ -131,7 +131,7 @@ function grouplist_submit(f)
<tr class="<?php echo $bg; ?>">
<td class="td_mng">
<input type="hidden" name="fg_no[<?php echo $i ?>]" value="<?php echo $group[$i]['fg_no']?>" id="fg_no_<?php echo $i ?>">
<label for="chk_<?php echo $i ?>" class="sound_only">그룹명</label>
<label for="chk_<?php echo $i ?>" class="sound_only"><?php echo $group[$i]['fg_name']?></label>
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>">
</td>
<td>

View File

@ -33,9 +33,9 @@ include_once(G5_ADMIN_PATH.'/admin.head.php');
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="fg_no">그룹</label></th>
<th scope="row"><label for="fg_no">그룹<strong class="sound_only"> 필수</strong></label></th>
<td>
<select name="fg_no" id="fg_no" required>
<select name="fg_no" id="fg_no" required class="required">
<option value="0">미분류</option>
<?php
$qry = sql_query("select * from {$g5['sms5_form_group_table']} order by fg_name");
@ -47,7 +47,7 @@ include_once(G5_ADMIN_PATH.'/admin.head.php');
</td>
</tr>
<tr>
<th scope="row"><label for="fo_name">제목</label></th>
<th scope="row"><label for="fo_name">제목<strong class="sound_only"> 필수</strong></label></th>
<td><input type="text" name="fo_name" id="fo_name" required value="<?php echo $write['fo_name']?>" class="frm_input required" size="70"></td>
</tr>
<tr>

View File

@ -70,7 +70,7 @@ function all_send()
<input type="hidden" name="st" value="<?php echo $st?>">
<input type="hidden" name="sv" value="<?php echo $sv?>">
<label for="sst" class="sound_only">검색대상</label>
<select name="sst">
<select name="sst" id="sst">
<option value="hs_name" <?php echo $sst=='hs_name'?'selected':''?>>이름</option>
<option value="hs_hp" <?php echo $sst=='hs_hp'?'selected':''?>>휴대폰번호</option>
</select>

View File

@ -130,7 +130,7 @@ function no_hp_click(val)
<?php } ?>
</select>
<input type="checkbox" name="no_hp" id="no_hp" <?php echo $no_hp_checked?> onclick="no_hp_click(this.checked)">
<label for="no_hp"> 휴대폰 소유자만 보기</label>
<label for="no_hp">휴대폰 소유자만 보기</label>
</form>
<div class="btn_add01 btn_add">
@ -150,7 +150,7 @@ function no_hp_click(val)
<thead>
<tr>
<th scope="col">
<label for="chk_all" class="sound_only">현재 페이지 전체선택</label>
<label for="chk_all" class="sound_only">현재 페이지 전체</label>
<input type="checkbox" id="chk_all" onclick="book_all_checked(this.checked)">
</th>
<th scope="col">번호</th>

View File

@ -39,7 +39,7 @@ include_once(G5_ADMIN_PATH.'/admin.head.php');
<form name="upload_form" method="post" enctype="multipart/form-data" id="sms5_fileup_frm">
<div>
<label for="upload_bg_no">그룹선택</label>
<select name="upload_bg_no" id="upload_bg_no" >
<select name="upload_bg_no" id="upload_bg_no">
<option value=""></option>
<option value="1"> <?php echo $no_group['bg_name']?> (<?php echo number_format($no_group['bg_count'])?>) </option>
<?php for ($i=0; $i<count($group); $i++) { ?>
@ -82,7 +82,7 @@ include_once(G5_ADMIN_PATH.'/admin.head.php');
</p>
<label for="download_bg_no">그룹선택</label>
<select name="download_bg_no" id="download_bg_no" >
<select name="download_bg_no" id="download_bg_no">
<option value=""> </option>
<option value="all"> 전체 </option>
<option value="1"> <?php echo $no_group['bg_name']?> (<?php echo number_format($no_group['bg_count'])?>) </option>

View File

@ -59,9 +59,9 @@ include_once(G5_ADMIN_PATH."/admin.head.php");
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="bg_no">그룹</label></th>
<th scope="row"><label for="bg_no">그룹 <strong class="sound_only"> 필수</strong></label></th>
<td>
<select name="bg_no" id="bg_no" required>
<select name="bg_no" id="bg_no" required class="required">
<option value="1"><?php echo $no_group['bg_name']?> (<?php echo number_format($no_group['bg_count'])?> 명)</option>
<?php
$qry = sql_query("select * from {$g5['sms5_book_group_table']} where bg_no> 1 order by bg_name");
@ -73,11 +73,11 @@ include_once(G5_ADMIN_PATH."/admin.head.php");
</td>
</tr>
<tr>
<th scope="row"><label for="bk_name">이름</label></th>
<th scope="row"><label for="bk_name">이름<strong class="sound_only"> 필수</strong></label></th>
<td><input type="text" name="bk_name" id="bk_name" maxlength="50" value="<?php echo $write['bk_name']?>" required class="frm_input required"></td>
</tr>
<tr>
<th scope="row"><label for="bk_hp">휴대폰번호</label></th>
<th scope="row"><label for="bk_hp">휴대폰번호<strong class="sound_only"> 필수</strong></label></th>
<td>
<input type="text" name="bk_hp" id="bk_hp" value="<?php echo $write['bk_hp']?>" required class="frm_input required">
<?php if( count($exist_hplist) ) { // 중복되는 목록이 있다면 ?>

View File

@ -76,7 +76,7 @@ function num_group_submit(f)
<form name="group<?php echo $res['bg_no']?>" method="get" action="./num_group_update.php" class="local_sch02 local_sch">
<input type="hidden" name="bg_no" value="<?php echo $res['bg_no']?>">
<div>
<label for="bg_name" class="sound_only">그룹추가</label>
<label for="bg_name" class="sound_only">그룹추가<strong class="sound_only"> 필수</strong></label>
<input type="text" id="bg_name" name="bg_name" required class="required frm_input">
<input type="submit" value="그룹추가" class="btn_submit">
</div>
@ -156,7 +156,7 @@ function num_group_submit(f)
<td class="td_num"><?php echo number_format($group[$i]['bg_reject'])?></td>
<td class="td_mbstat">
<label for="select_bg_no_<?php echo $i; ?>" class="sound_only">이동할 그룹</label>
<select name="select_bg_no[<?php echo $i ?>]" onchange="move(<?php echo $group[$i]['bg_no']?>, '<?php echo $group[$i]['bg_name']?>', this);" >
<select name="select_bg_no[<?php echo $i ?>]" id="select_bg_no_<?php echo $i; ?>" onchange="move(<?php echo $group[$i]['bg_no']?>, '<?php echo $group[$i]['bg_name']?>', this);" >
<option value=""></option>
<option value="<?php echo $no_group['bg_no']?>"><?php echo $no_group['bg_name']?></option>
<?php for ($j=0; $j<count($group); $j++) { ?>

View File

@ -113,7 +113,7 @@ if ($config['cf_sms_use'] == 'icode') { // 아이코드 사용
</div>
<div id="write_reply">
<label for="wr_reply">회신</label>
<label for="wr_reply">회신<strong class="sound_only"> 필수</strong></label>
<input type="text" name="wr_reply" value="<?php echo $sms5['cf_phone']?>" id="wr_reply" required class="frm_input" size="17" maxlength="20">
</div>
@ -141,7 +141,6 @@ if ($config['cf_sms_use'] == 'icode') { // 아이코드 사용
<input type="checkbox" name="wr_booking" id="wr_booking" onclick="booking(this.checked)">
</div>
<select name="wr_by" id="wr_by" disabled>
<option value="<?php echo date('Y')?>"><?php echo date('Y')?></option>
<option value="<?php echo date('Y')+1?>"><?php echo date('Y')+1?></option>