Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
gnuboard
2013-01-18 17:24:18 +09:00
13 changed files with 62 additions and 64 deletions

View File

@ -69,8 +69,7 @@ var list_delete_php = 'auth_list_delete.php';
<?=$listall?>
설정된 관리권한 <?=number_format($total_count)?>건
</span>
<label for="stx">회원아이디</label>
<input type="text" id="stx" name="stx" required value="<?=$stx?>">
<input type="text" id="stx" name="stx" class="required" required value="<?=$stx?>" title="회원아이디(필수)">
<input type="submit" id="fsearch_submit" class="fieldset_submit" value="검색">
</fieldset>
</form>
@ -168,10 +167,10 @@ else
<fieldset>
<legend>관리권한 추가</legend>
<p>다음 양식에서 회원에게 관리권한을 부여하실 수 있습니다.</p>
<label for="mb_id">회원아이디</label>
<input type="text" id="mb_id" name="mb_id" required value='<?=$mb_id?>'>
<label for="au_menu">접근가능메뉴</label>
<select id="au_menu" name="au_menu" required>
<label for="mb_id">회원아이디<strong class="sound_only">필수</strong></label>
<input type="text" id="mb_id" name="mb_id" required value="<?=$mb_id?>" title="회원아이디">
<label for="au_menu">접근가능메뉴<strong class="sound_only">필수</strong></label>
<select id="au_menu" name="au_menu" required title="접근가능메뉴">
<option value=''>선택하세요
<?
foreach($auth_menu as $key=>$value)
@ -189,7 +188,7 @@ else
<label for="d">d (삭제)</label>
<p>관리자 권한을 탈취당하는 경우를 대비하여 패스워드를 다시 한번 확인합니다.</p>
<label for="admin_password">관리자 패스워드</label>
<input type="password" id="admin_password" name="admin_password" required>
<input type="password" id="admin_password" name="admin_password" class="required" required title="관리자 패스워드">
<input type="submit" class="fieldset_submit" value="완료">
</fieldset>

View File

@ -22,12 +22,12 @@ include_once($g4['path'].'/head.sub.php');
<td><?=$bo_table?></td>
</tr>
<tr>
<th scope="col"><label for="target_table">복사 테이블명</label></th>
<td><input type="text" id="target_table" name="target_table" maxlength="20" class="required alnum_" required="required" title="복사할 TABLE"> 영문자, 숫자, _ 만 가능 (공백없이)</td>
<th scope="col"><label for="target_table">복사 테이블명<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="target_table" name="target_table" maxlength="20" class="required alnum_" required title="복사할 TABLE"> 영문자, 숫자, _ 만 가능 (공백없이)</td>
</tr>
<tr>
<th scope="col"><label for="target_subject">게시판 제목</label></th>
<td><input type="text" id="target_subject" name="target_subject" maxlength="120" value="[복사본] <?=$board['bo_subject']?>" required="required" title="게시판 제목"></td>
<th scope="col"><label for="target_subject">게시판 제목<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="target_subject" name="target_subject" maxlength="120" class="required" value="[복사본] <?=$board['bo_subject']?>" required title="게시판 제목"></td>
</tr>
<tr>
<th scope="col">복사 유형</th>

View File

@ -83,7 +83,7 @@ var list_delete_php = 'board_list_delete.php';
<option value="bo_subject" <?=get_selected($_GET['sfl'], "bo_subject");?>>제목</option>
<option value="a.gr_id" <?=get_selected($_GET['sfl'], "a.gr_id");?>>그룹ID</option>
</select>
<input type="text" name="stx" required value="<?=$stx?>" title="검색어">
<input type="text" name="stx" class="required" required value="<?=$stx?>" title="검색어(필수)">
<input type="submit" class="fieldset_submit" value="검색">
</fieldset>
</form>

View File

@ -77,8 +77,7 @@ var list_update_php = "./boardgroup_list_update.php";
<option value="gr_id">ID</option>
<option value="gr_admin">그룹관리자</option>
</select>
<label for="stx">검색어</label>
<input type="text" id="stx" name="stx" required value="<?=$stx?>">
<input type="text" id="stx" name="stx" class="required" required value="<?=$stx?>" title="검색어(필수)">
<input type="submit" class="fieldset_submit" value="검색">
</fieldset>
</form>

View File

@ -65,7 +65,7 @@ $colspan = 7;
<select id="sfl" name="sfl">
<option value='a.mb_id'>회원아이디</option>
</select>
<input type="text" id="stx" name="stx" required value="<? echo $stx ?>" title="검색어">
<input type="text" id="stx" name="stx" required value="<? echo $stx ?>" title="검색어(필수)">
<input type="submit" class="fieldset_submit" value="검색">
</fieldset>
</form>

View File

@ -45,9 +45,9 @@ include_once ('./admin.head.php');
<caption>홈페이지 기본환경 설정</caption>
<tbody>
<tr>
<th scope="row"><label for="cf_title">홈페이지 제목</label></th>
<td><input type="text" id="cf_title" name="cf_title" class="required" value="<?=$config['cf_title']?>" size="50"></td>
<th scope="row"><label for="cf_admin">최고관리자</label></th>
<th scope="row"><label for="cf_title">홈페이지 제목<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="cf_title" name="cf_title" class="required" required value="<?=$config['cf_title']?>" size="50" title="홈페이지 제목"></td>
<th scope="row"><label for="cf_admin">최고관리자<strong class="sound_only">필수</strong></label></th>
<td><?=get_member_id_select('cf_admin', 10, $config['cf_admin'], 'required')?></td>
</tr>
<tr>
@ -55,15 +55,15 @@ include_once ('./admin.head.php');
<td colspan="3"><input type="checkbox" id="cf_use_point" name="cf_use_point" value="1" <?=$config['cf_use_point']?'checked':'';?>> 사용</td>
</tr>
<tr>
<th scope="row"><label for="cf_login_point">로그인시 포인트</label></th>
<th scope="row"><label for="cf_login_point">로그인시 포인트<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('회원에게 하루에 한번만 부여')?>
<input type="text" id="cf_login_point" name="cf_login_point" class="required" value="<?=$config['cf_login_point']?>" size="2"> 점
<input type="text" id="cf_login_point" name="cf_login_point" class="required" required value="<?=$config['cf_login_point']?>" size="2" title="로그인시 포인트"> 점
</td>
<th scope="row"><label for="cf_memo_send_point">쪽지보낼시 차감 포인트</label></th>
<th scope="row"><label for="cf_memo_send_point">쪽지보낼시 차감 포인트<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('양수로 입력하십시오. 0점은 쪽지 보낼시 포인트를 차감하지 않습니다.')?>
<input type="text" id="cf_memo_send_point" name="cf_memo_send_point" class="required" value="<?=$config['cf_memo_send_point']?>" size="2"> 점
<input type="text" id="cf_memo_send_point" name="cf_memo_send_point" class="required" required value="<?=$config['cf_memo_send_point']?>" size="2" title="쪽지보낼시 차감 포인트"> 점
</td>
</tr>
<tr>
@ -116,8 +116,8 @@ include_once ('./admin.head.php');
</td>
</tr>
<tr>
<th scope="row"><label for="cf_new_skin">최근게시물 스킨</label></th>
<td><select id="cf_new_skin" name="cf_new_skin" class="required">
<th scope="row"><label for="cf_new_skin">최근게시물 스킨<strong class="sound_only">필수</strong></label></th>
<td><select id="cf_new_skin" name="cf_new_skin" class="required" required title="최근게시물 스킨">
<?
$arr = get_skin_dir('new');
for ($i=0; $i<count($arr); $i++) {
@ -133,8 +133,8 @@ include_once ('./admin.head.php');
</td>
</tr>
<tr>
<th scope="row"><label for="cf_search_skin">검색 스킨</label></th>
<td colspan="3"><select id="cf_search_skin" name="cf_search_skin" class="required">
<th scope="row"><label for="cf_search_skin">검색 스킨<strong class="sound_only">필수</strong></label></th>
<td colspan="3"><select id="cf_search_skin" name="cf_search_skin" class="required" required title="검색 스킨">
<?
$arr = get_skin_dir("search");
for ($i=0; $i<count($arr); $i++) {
@ -145,8 +145,8 @@ include_once ('./admin.head.php');
</td>
</tr>
<tr>
<th scope="row"><label for="cf_connect_skin">접속자 스킨</label></th>
<td colspan="3"><select id="cf_connect_skin" name="cf_connect_skin" class="required" >
<th scope="row"><label for="cf_connect_skin">접속자 스킨<strong class="sound_only">필수</strong></label></th>
<td colspan="3"><select id="cf_connect_skin" name="cf_connect_skin" class="required" required title="접속자 스킨">
<?
$arr = get_skin_dir('connect');
for ($i=0; $i<count($arr); $i++) {
@ -185,16 +185,16 @@ include_once ('./admin.head.php');
</caption>
<tbody>
<tr>
<th scope="row"><label for="cf_read_point">글읽기 포인트</label></th>
<td><input type="text" id="cf_read_point" name="cf_read_point" class="required" value="<?=$config['cf_read_point']?>" size="2"> 점</td>
<th scope="row"><label for="cf_read_point">글읽기 포인트<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="cf_read_point" name="cf_read_point" class="required" required value="<?=$config['cf_read_point']?>" size="2" title="글읽기 포인트"> 점</td>
<th scope="row"><label for="cf_write_point">글쓰기 포인트</label></th>
<td><input type="text" id="cf_write_point" name="cf_write_point" class="required" value="<?=$config['cf_write_point']?>" size="2"> 점</td>
<td><input type="text" id="cf_write_point" name="cf_write_point" class="required" required value="<?=$config['cf_write_point']?>" size="2" title="글쓰기 포인트"> 점</td>
</tr>
<tr>
<th scope="row"><label for="cf_comment_point">댓글쓰기 포인트</label></th>
<td><input type="text" id="cf_comment_point" name="cf_comment_point" class="required" value="<?=$config['cf_comment_point']?>" size="2"> 점</td>
<td><input type="text" id="cf_comment_point" name="cf_comment_point" class="required" required value="<?=$config['cf_comment_point']?>" size="2" title="댓글쓰기 포인트"> 점</td>
<th scope="row"><label for="cf_download_point">다운로드 포인트</label></th>
<td><input type="text" id="cf_download_point" name="cf_download_point" class="required" value="<?=$config['cf_download_point']?>" size="2"> 점</td>
<td><input type="text" id="cf_download_point" name="cf_download_point" class="required" required value="<?=$config['cf_download_point']?>" size="2" title="다운로드 포인트"> 점</td>
</tr>
<tr>
<th scope="row"><label for="cf_link_target">새창 링크</label></th>
@ -211,16 +211,16 @@ include_once ('./admin.head.php');
<td><input type="text" id="cf_search_part" name="cf_search_part" value="<?=$config['cf_search_part']?>" size="2"> 건 단위로 검색</td>
</tr>
<tr>
<th scope="row"><label for="cf_search_bgcolor">검색 배경 색상</label></th>
<td><input type="text" id="cf_search_bgcolor" name="cf_search_bgcolor" class="required" value="<?=$config['cf_search_bgcolor']?>" size="7"></td>
<th scope="row"><label for="cf_search_color">검색 글자 색상</label></th>
<td><input type="text" id="cf_search_color" name="cf_search_color" class="required" value="<?=$config['cf_search_color']?>" size="7"></td>
<th scope="row"><label for="cf_search_bgcolor">검색 배경 색상<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="cf_search_bgcolor" name="cf_search_bgcolor" class="required" required value="<?=$config['cf_search_bgcolor']?>" size="7" title="검색 배경 색상"></td>
<th scope="row"><label for="cf_search_color">검색 글자 색상<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="cf_search_color" name="cf_search_color" class="required" required value="<?=$config['cf_search_color']?>" size="7" title="검색 글자 색상"></td>
</tr>
<tr>
<th scope="row"><label for="cf_delay_sec">글쓰기 간격</label></th>
<td><input type="text" id="cf_delay_sec" name="cf_delay_sec" class="required numeric" value="<?=$config['cf_delay_sec']?>" size="2"> 초 지난후 가능</td>
<th scope="row"><label for="cf_write_pages">페이지 표시 수</label></th>
<td><input type="text" id="cf_write_pages" name="cf_write_pages" class="required numeric" value="<?=$config['cf_write_pages']?>" size="2"> 페이지씩 표시</td>
<th scope="row"><label for="cf_delay_sec">글쓰기 간격<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="cf_delay_sec" name="cf_delay_sec" class="required numeric" required value="<?=$config['cf_delay_sec']?>" size="2" title="글쓰기 간격"> 초 지난후 가능</td>
<th scope="row"><label for="cf_write_pages">페이지 표시 수<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="cf_write_pages" name="cf_write_pages" class="required numeric" required value="<?=$config['cf_write_pages']?>" size="2" title="페이지 표시 수"> 페이지씩 표시</td>
</tr>
<tr>
<th scope="row"><label for="cf_image_extension">이미지 업로드 확장자</label></th>
@ -260,9 +260,9 @@ include_once ('./admin.head.php');
</caption>
<tbody>
<tr>
<th scope="row"><label for="cf_member_skin">회원 스킨</label></th>
<th scope="row"><label for="cf_member_skin">회원 스킨<strong class="sound_only">필수</strong></label></th>
<td colspan="3">
<select id="cf_member_skin" name="cf_member_skin" class="required">
<select id="cf_member_skin" name="cf_member_skin" class="required" required title="회원 스킨">
<?
$arr = get_skin_dir('member');
for ($i=0; $i<count($arr); $i++) {
@ -399,10 +399,10 @@ include_once ('./admin.head.php');
</td>
</tr>
<tr>
<th scope="row"><label for="cf_email_admin">관리자 메일주소</label></th>
<th scope="row"><label for="cf_email_admin">관리자 메일주소<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('일괄 발송 또는 테스트 등에 사용하는 이메일 주소입니다.')?>
<input type="text" id="cf_email_admin" name="cf_email_admin" class="email" value="<?=$config['cf_email_admin']?>" required size="40" title="관리자 메일주소">
<input type="text" id="cf_email_admin" name="cf_email_admin" class="email required" value="<?=$config['cf_email_admin']?>" required size="40" title="관리자 메일주소">
</td>
</tr>
</table>
@ -504,8 +504,8 @@ include_once ('./admin.head.php');
<fieldset id="admin_confirm">
<legend>XSS 혹은 CSRF 방지</legend>
<p>관리자 권한을 탈취당하는 경우를 대비하여 패스워드를 다시 한번 확인합니다.</p>
<label for="admin_password">관리자 패스워드</label>
<input type="password" id="admin_password" name="admin_password" class="required">
<label for="admin_password">관리자 패스워드<strong class="sound_only">필수</strong></label>
<input type="password" id="admin_password" name="admin_password" class="required" title="관리자 패스워드">
</fieldset>
<div class="btn_confirm">

View File

@ -32,15 +32,15 @@ include_once('./admin.head.php');
<caption>메일내용 입력</caption>
<tbody>
<tr>
<th scope="row"><label for="ma_subject">메일 제목</label></th>
<td><input type="text" id="ma_subject" name="ma_subject" value="<?=$ma['ma_subject']?>" size="100" class="required"></td>
<th scope="row"><label for="ma_subject">메일 제목<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="ma_subject" name="ma_subject" value="<?=$ma['ma_subject']?>" size="100" class="required" required title="메일제목"></td>
</tr>
<tr>
<th scope="row"><label for="ma_content">메일 내용</label></th>
<th scope="row"><label for="ma_content">메일 내용<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('{이름} , {별명} , {회원아이디} , {이메일} , {생일} 처럼 HTML 코드에 삽입하면 해당 내용에 맞게 변환하여 메일 발송합니다.')?>
<?=textarea_size('ma_content')?>
<textarea id="ma_content" name="ma_content" rows="20" class="required"><?=$ma['ma_content']?></textarea>
<textarea id="ma_content" name="ma_content" rows="20" class="required" required title="메일내용"><?=$ma['ma_content']?></textarea>
</td>
</tr>
</tbody>

View File

@ -113,8 +113,7 @@ var list_delete_php = 'member_list_delete.php';
<option value="mb_ip">IP</option>
<option value="mb_recommend">추천인</option>
</select>
<label for="stx">검색어</label>
<input type="text" id="stx" name="stx" required value="<?=$stx?>">
<input type="text" id="stx" name="stx" required value="<?=$stx?>" title="검색어(필수)">
<input type="submit" class="fieldset_submit" value="검색">
</fieldset>
</form>

View File

@ -98,7 +98,7 @@ function point_clear()
<option value="mb_id">회원아이디</option>
<option value="po_content">내용</option>
</select>
<input type="text" id="stx" name="stx" required value="<?=$stx?>" title="검색어">
<input type="text" id="stx" name="stx" required value="<?=$stx?>" title="검색어(필수)">
<input type="submit" class="fieldset_submit" value="검색">
</fieldset>
</form>
@ -202,13 +202,13 @@ else
<fieldset>
<legend>개별회원 포인트 증감 설정</legend>
<label for="mb_id">회원아이디</label>
<label for="mb_id">회원아이디<strong class="sound_only">필수</strong></label>
<input type="text" id="mb_id" name="mb_id" required value="<?=$mb_id?>">
<label for="po_content">포인트 내용</label>
<label for="po_content">포인트 내용<strong class="sound_only">필수</strong></label>
<input type="text" id="po_content" name="po_content" required>
<label for="po_point">포인트</label>
<label for="po_point">포인트<strong class="sound_only">필수</strong></label>
<input type="text" id="po_point" name="po_point" required>
<label for="admin_password">관리자패스워드</label>
<label for="admin_password">관리자패스워드<strong class="sound_only">필수</strong></label>
<input type="password" id="admin_password" name="admin_password" required>
<input type="submit" class="fieldset_submit" value="확인">
</fieldset>

View File

@ -33,7 +33,7 @@ include_once('./admin.head.php');
<caption>투표내용 입력</caption>
<tbody>
<tr>
<th scope="row"><label for="po_subject">투표 제목</label></th>
<th scope="row"><label for="po_subject">투표 제목<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="po_subject" name="po_subject" class="required" value="<?=$po['po_subject']?>" size="80" maxlength="125"></td>
</tr>
@ -42,13 +42,14 @@ for ($i=1; $i<=9; $i++) {
$required = '';
if ($i==1 || $i==2) {
$required = 'class="required"';
$sound_only = '<strong class="sound_only">필수</strong>';
}
$po_poll = get_text($po['po_poll'.$i]);
?>
<tr>
<th scope="row"><label for="po_poll<?=$i?>">항목 <?=$i?></label></th>
<th scope="row"><label for="po_poll<?=$i?>">항목 <?=$i?><?=$sound_only?></label></th>
<td>
<input type="text" id="po_poll<?=$i?>" name="po_poll<?=$i?>" <?=$required?> value="<?=$po_poll?>" maxlength="125">
<label for="po_cnt<?=$i?>">항목 <?=$i?> 투표수</label>

View File

@ -65,7 +65,7 @@ $colspan = 6;
<select id="sfl" name="sfl">
<option value='po_subject'>제목</option>
</select>
<input type="text" name="stx" required value="<?=$stx?>" title="검색어">
<input type="text" name="stx" required value="<?=$stx?>" title="검색어(필수)">
<input type="submit" class="fieldset_submit" value="검색">
</fieldset>
</form>

View File

@ -84,7 +84,7 @@ var list_delete_php = 'popular_list.php';
<option value="pp_word">검색어</option>
<option value="pp_date">등록일</option>
</select>
<input type="text" name="stx" required value="<?=$stx?>" title="검색어">
<input type="text" name="stx" required value="<?=$stx?>" title="검색어(필수)">
<input type="submit" class="fieldset_submit" value="검색">
</fieldset>
</form>

View File

@ -44,8 +44,8 @@ if (isset($_POST['mail'])) {
</p>
<fieldset>
<legend>테스트메일 발송</legend>
<label for="mail">받는 메일주소</label>
<input type="text" id="mail" name="mail" required value="<?=$member['mb_email']?>" size="80">
<label for="mail">받는 메일주소<strong class="sound_only">필수</strong></label>
<input type="text" id="mail" name="mail" required value="<?=$member['mb_email']?>" size="80" title="받는메일주소">
<input type="submit" class="fieldset_submit" value="발송">
</fieldset>
</form>