관리자: wrest.js 변경에 따른 유효성 검사 class 처리
This commit is contained in:
@ -20,7 +20,7 @@ $html_title = '게시판';
|
||||
if ($w == '') {
|
||||
$html_title .= ' 생성';
|
||||
|
||||
$bo_table_attr = 'required alphanumericunderline';
|
||||
$bo_table_attr = 'class="required alnum_"';
|
||||
|
||||
$board[bo_count_delete] = 1;
|
||||
$board[bo_count_modify] = 1;
|
||||
@ -114,7 +114,7 @@ include_once ('./admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_subject">게시판 제목</label></th>
|
||||
<td>
|
||||
<input type="text" id="bo_subject" name="bo_subject" maxlength="120" required value="<?=get_text($board['bo_subject'])?>" size="80">
|
||||
<input type="text" id="bo_subject" name="bo_subject" maxlength="120" class="required" value="<?=get_text($board['bo_subject'])?>" size="80">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -266,7 +266,7 @@ include_once ('./admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_count_modify">원글 수정 불가</label></th>
|
||||
<td>
|
||||
댓글 <input type="text" id="bo_count_modify" name="bo_count_modify" required numeric value="<?=$board[bo_count_modify]?>" size="3">개 이상 달리면 수정불가
|
||||
댓글 <input type="text" id="bo_count_modify" name="bo_count_modify" class="required numeric" value="<?=$board[bo_count_modify]?>" size="3">개 이상 달리면 수정불가
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_count_modify" name="chk_count_modify" value="1">
|
||||
<label for="chk_count_modify">동일그룹 모두 적용</label>
|
||||
@ -276,7 +276,7 @@ include_once ('./admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_count_delete">원글 삭제 불가</label></th>
|
||||
<td>
|
||||
댓글 <input type="text" id="bo_count_delete" name="bo_count_delete" required numeric value="<?=$board[bo_count_delete]?>" size="3">개 이상 달리면 삭제불가
|
||||
댓글 <input type="text" id="bo_count_delete" name="bo_count_delete" class="required numeric" value="<?=$board[bo_count_delete]?>" size="3">개 이상 달리면 삭제불가
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_count_delete" name="chk_count_delete" value="1">
|
||||
<label for="chk_count_delete">동일그룹 모두 적용</label>
|
||||
@ -456,7 +456,7 @@ include_once ('./admin.head.php');
|
||||
<th scope="row"><label for="bo_upload_count">파일 업로드 갯수</label></th>
|
||||
<td>
|
||||
<?=help('게시물 한건당 업로드 할 수 있는 파일의 최대 개수 (0 이면 제한 없음)')?>
|
||||
<input type="text" id="bo_upload_count" name="bo_upload_count" required value="<?=$board[bo_upload_count]?>" size="3">
|
||||
<input type="text" id="bo_upload_count" name="bo_upload_count" class="required numeric" value="<?=$board[bo_upload_count]?>" size="3">
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_upload_count" name="chk_upload_count" value="1">
|
||||
<label for="chk_upload_count">동일그룹 모두 적용</label>
|
||||
@ -473,7 +473,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
<th scope="row"><label for="bo_upload_size">파일 업로드 용량</label></th>
|
||||
<td>
|
||||
<?=help('최대 '.ini_get("upload_max_filesize").' 이하 업로드 가능, 1 MB = 1,024,768 bytes')?>
|
||||
업로드 파일 한개당 <input type="text" id="bo_upload_size" name="bo_upload_size" required value="<?=$board[bo_upload_size]?>" size="10"> bytes 이하
|
||||
업로드 파일 한개당 <input type="text" id="bo_upload_size" name="bo_upload_size" class="required numeric" value="<?=$board[bo_upload_size]?>" size="10"> bytes 이하
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_upload_size" name="chk_upload_size" value="1">
|
||||
<label for="chk_upload_size">동일그룹 모두 적용</label>
|
||||
@ -555,7 +555,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_skin">스킨 디렉토리</label></th>
|
||||
<td>
|
||||
<select id="bo_skin" name="bo_skin" required>
|
||||
<select id="bo_skin" name="bo_skin" class="required">
|
||||
<?
|
||||
$arr = get_skin_dir('board');
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
@ -643,7 +643,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
<th scope="row"><label for="bo_subject_len">제목 길이</label></th>
|
||||
<td>
|
||||
<?=help('목록에서의 제목 글자수. 잘리는 글은 … 로 표시')?>
|
||||
<input type="text" id="bo_subject_len" name="bo_subject_len" required value="<?=$board[bo_subject_len]?>" size="3">
|
||||
<input type="text" id="bo_subject_len" name="bo_subject_len" class="required numeric" value="<?=$board[bo_subject_len]?>" size="3">
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_subject_len" name="chk_subject_len" value="1">
|
||||
<label for="chk_subject_len">동일그룹 모두 적용</label>
|
||||
@ -653,7 +653,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_page_rows">페이지당 목록 수</label></th>
|
||||
<td>
|
||||
<input type="text" id="bo_page_rows" name="bo_page_rows" required value="<?=$board[bo_page_rows]?>" size="3">
|
||||
<input type="text" id="bo_page_rows" name="bo_page_rows" class="required numeric" value="<?=$board[bo_page_rows]?>" size="3">
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_page_rows" name="chk_page_rows" value="1">
|
||||
<label for="chk_page_rows">동일그룹 모두 적용</label>
|
||||
@ -664,7 +664,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
<th scope="row"><label for="bo_gallery_cols">가로 이미지수</label></th>
|
||||
<td>
|
||||
<?=help('갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여줄것인지를 설정하는 값')?>
|
||||
<input type="text" id="bo_gallery_cols" name="bo_gallery_cols" required value="<?=$board[bo_gallery_cols]?>" size="3">
|
||||
<input type="text" id="bo_gallery_cols" name="bo_gallery_cols" class="required numeric" value="<?=$board[bo_gallery_cols]?>" size="3">
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_gallery_cols" name="chk_gallery_cols" value="1">
|
||||
<label for="chk_gallery_cols">동일그룹 모두 적용</label>
|
||||
@ -675,7 +675,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
<th scope="row"><label for="bo_table_width">게시판 테이블 폭</label></th>
|
||||
<td>
|
||||
<?=help('100 이하는 %')?>
|
||||
<input type="text" id="bo_table_width" name="bo_table_width" required value="<?=$board[bo_table_width]?>" size="3">
|
||||
<input type="text" id="bo_table_width" name="bo_table_width" class="required numeric" value="<?=$board[bo_table_width]?>" size="3">
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_table_width" name="chk_table_width" value="1">
|
||||
<label for="chk_table_width">동일그룹 모두 적용</label>
|
||||
@ -686,7 +686,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
<th scope="row"><label for="bo_image_width">이미지 폭 크기</label></th>
|
||||
<td>
|
||||
<?=help('게시판에서 출력되는 이미지의 폭 크기')?>
|
||||
<input type="text" id="bo_image_width" name="bo_image_width" required value="<?=$board[bo_image_width]?>" size="3"> 픽셀
|
||||
<input type="text" id="bo_image_width" name="bo_image_width" class="required numeric" value="<?=$board[bo_image_width]?>" size="3"> 픽셀
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_image_width" name="chk_image_width" value="1">
|
||||
<label for="chk_image_width">동일그룹 모두 적용</label>
|
||||
@ -697,7 +697,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
<th scope="row"><label for="bo_new">새글 아이콘</label></th>
|
||||
<td>
|
||||
<?=help('글 입력후 new 이미지를 출력하는 시간')?>
|
||||
<input type="text" id="bo_new" name="bo_new" required value="<?=$board[bo_new]?>" size="3">
|
||||
<input type="text" id="bo_new" name="bo_new" class="required numeric" value="<?=$board[bo_new]?>" size="3">
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_new" name="chk_new" value="1">
|
||||
<label for="chk_new">동일그룹 모두 적용</label>
|
||||
@ -708,7 +708,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
<th scope="row"><label for="bo_hot">인기글 아이콘</label></th>
|
||||
<td>
|
||||
<?=help('조회수가 설정값 이상이면 hot 이미지 출력')?>
|
||||
<input type="text" id="bo_hot" name="bo_hot" required value="<?=$board[bo_hot]?>" size="5">
|
||||
<input type="text" id="bo_hot" name="bo_hot" class="required numeric" value="<?=$board[bo_hot]?>" size="5">
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_hot" name="chk_hot" value="1">
|
||||
<label for="chk_hot">동일그룹 모두 적용</label>
|
||||
@ -785,7 +785,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_read_point">글읽기 포인트</label></th>
|
||||
<td>
|
||||
<input type="text" id="bo_read_point" name="bo_read_point" required value="<?=$board[bo_read_point]?>" size="5">
|
||||
<input type="text" id="bo_read_point" name="bo_read_point" class="required numeric" value="<?=$board[bo_read_point]?>" size="5">
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_read_point" name="chk_read_point" value="1">
|
||||
<label for="chk_read_point">동일그룹 모두 적용</label>
|
||||
@ -795,7 +795,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_write_point">글쓰기 포인트</label></th>
|
||||
<td>
|
||||
<input type="text" id="bo_write_point" name="bo_write_point" required value="<?=$board[bo_write_point]?>" size="5">
|
||||
<input type="text" id="bo_write_point" name="bo_write_point" class="required numeric" value="<?=$board[bo_write_point]?>" size="5">
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_write_point" name="chk_write_point" value="1">
|
||||
<label for="chk_write_point">동일그룹 모두 적용</label>
|
||||
@ -805,7 +805,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_comment_point">댓글쓰기 포인트</label></th>
|
||||
<td>
|
||||
<input type="text" id="bo_comment_point" name="bo_comment_point" required value="<?=$board[bo_comment_point]?>" size="5">
|
||||
<input type="text" id="bo_comment_point" name="bo_comment_point" class="required numeric" value="<?=$board[bo_comment_point]?>" size="5">
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_comment_point" name="chk_comment_point" value="1">
|
||||
<label for="chk_comment_point">동일그룹 모두 적용</label>
|
||||
@ -815,7 +815,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_download_point">다운로드 포인트</label></th>
|
||||
<td>
|
||||
<input type="text" id="bo_download_point" name="bo_download_point" required value="<?=$board[bo_download_point]?>" size="5">
|
||||
<input type="text" id="bo_download_point" name="bo_download_point" class="required numeric" value="<?=$board[bo_download_point]?>" size="5">
|
||||
<span class="group_setting">
|
||||
<input type="checkbox" id="chk_download_point" name="chk_download_point" value="1">
|
||||
<label for="chk_download_point">동일그룹 모두 적용</label>
|
||||
@ -850,7 +850,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
<legend><span></span>XSS 혹은 CSRF 방지</legend>
|
||||
<p>관리자 권한을 탈취당하는 경우를 대비하여 패스워드를 다시 한번 확인합니다.</p>
|
||||
<label for="admin_password">관리자 패스워드</label>
|
||||
<input type="password" id="admin_password" name="admin_password" required title="관리자 패스워드">
|
||||
<input type="password" id="admin_password" name="admin_password" class="required" title="관리자 패스워드">
|
||||
</fieldset>
|
||||
|
||||
<div class="btn_confirm">
|
||||
|
||||
@ -41,12 +41,12 @@ include_once('./admin.head.php');
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="gr_id">그룹 ID</label></th>
|
||||
<td><input type="text" id="gr_id" name="gr_id" maxlength="10" <?=$gr_id_attr?> alphanumericunderline value="<?=$group['gr_id']?>"> 영문자, 숫자, _ 만 가능 (공백없이)</td>
|
||||
<td><input type="text" id="gr_id" name="gr_id" maxlength="10" class="<?=$gr_id_attr?> alnum_" value="<?=$group['gr_id']?>"> 영문자, 숫자, _ 만 가능 (공백없이)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="gr_subject">그룹 제목</label></th>
|
||||
<td>
|
||||
<input type="text" id="gr_subject" name="gr_subject" required value="<?=get_text($group['gr_subject'])?>" size="80">
|
||||
<input type="text" id="gr_subject" name="gr_subject" class="required" value="<?=get_text($group['gr_subject'])?>" size="80">
|
||||
<?
|
||||
if ($w == 'u')
|
||||
echo '<input type="button" value="게시판생성" onclick="location.href=\'./board_form.php?gr_id='.$gr_id.'\';">';
|
||||
|
||||
@ -42,7 +42,7 @@ include_once ('./admin.head.php');
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_title">홈페이지 제목</label></th>
|
||||
<td><input type="text" id="cf_title" name="cf_title" required value="<?=$config['cf_title']?>" size="50"></td>
|
||||
<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>
|
||||
<td><?=get_member_id_select('cf_admin', 10, $config['cf_admin'], 'required')?></td>
|
||||
</tr>
|
||||
@ -54,12 +54,12 @@ include_once ('./admin.head.php');
|
||||
<th scope="row"><label for="cf_login_point">로그인시 포인트</label></th>
|
||||
<td>
|
||||
<?=help('회원에게 하루에 한번만 부여')?>
|
||||
<input type="text" id="cf_login_point" name="cf_login_point" required value="<?=$config[cf_login_point]?>" size="2"> 점
|
||||
<input type="text" id="cf_login_point" name="cf_login_point" class="required numeric" value="<?=$config[cf_login_point]?>" size="2"> 점
|
||||
</td>
|
||||
<th scope="row"><label for="cf_memo_send_point">쪽지보낼시 차감 포인트</label></th>
|
||||
<td>
|
||||
<?=help('양수로 입력하십시오. 0점은 쪽지 보낼시 포인트를 차감하지 않습니다.')?>
|
||||
<input type="text" id="cf_memo_send_point" name="cf_memo_send_point" required value="<?=$config[cf_memo_send_point]?>" size="2"> 점
|
||||
<input type="text" id="cf_memo_send_point" name="cf_memo_send_point" class="required numeric" value="<?=$config[cf_memo_send_point]?>" size="2"> 점
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -113,7 +113,7 @@ include_once ('./admin.head.php');
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_new_skin">최근게시물 스킨</label></th>
|
||||
<td><select id="cf_new_skin" name="cf_new_skin" required >
|
||||
<td><select id="cf_new_skin" name="cf_new_skin" class="required">
|
||||
<?
|
||||
$arr = get_skin_dir('new');
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
@ -130,7 +130,7 @@ include_once ('./admin.head.php');
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_search_skin">검색 스킨</label></th>
|
||||
<td colspan="3"><select id="cf_search_skin" name="cf_search_skin" required>
|
||||
<td colspan="3"><select id="cf_search_skin" name="cf_search_skin" class="required">
|
||||
<?
|
||||
$arr = get_skin_dir("search");
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
@ -142,7 +142,7 @@ include_once ('./admin.head.php');
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_connect_skin">접속자 스킨</label></th>
|
||||
<td colspan="3"><select id="cf_connect_skin" name="cf_connect_skin" required >
|
||||
<td colspan="3"><select id="cf_connect_skin" name="cf_connect_skin" class="required" >
|
||||
<?
|
||||
$arr = get_skin_dir('connect');
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
@ -182,15 +182,15 @@ include_once ('./admin.head.php');
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_read_point">글읽기 포인트</label></th>
|
||||
<td><input type="text" id="cf_read_point" name="cf_read_point" required value="<?=$config[cf_read_point]?>" size="2"> 점</td>
|
||||
<td><input type="text" id="cf_read_point" name="cf_read_point" class="required numeric" value="<?=$config[cf_read_point]?>" size="2"> 점</td>
|
||||
<th scope="row"><label for="cf_write_point">글쓰기 포인트</label></th>
|
||||
<td><input type="text" id="cf_write_point" name="cf_write_point" required value="<?=$config[cf_write_point]?>" size="2"> 점</td>
|
||||
<td><input type="text" id="cf_write_point" name="cf_write_point" class="required numeric" value="<?=$config[cf_write_point]?>" size="2"> 점</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" required value="<?=$config[cf_comment_point]?>" size="2"> 점</td>
|
||||
<td><input type="text" id="cf_comment_point" name="cf_comment_point" class="required numeric" value="<?=$config[cf_comment_point]?>" size="2"> 점</td>
|
||||
<th scope="row"><label for="cf_download_point">다운로드 포인트</label></th>
|
||||
<td><input type="text" id="cf_download_point" name="cf_download_point" required value="<?=$config[cf_download_point]?>" size="2"> 점</td>
|
||||
<td><input type="text" id="cf_download_point" name="cf_download_point" class="required numeric" value="<?=$config[cf_download_point]?>" size="2"> 점</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_link_target">새창 링크</label></th>
|
||||
@ -208,15 +208,15 @@ include_once ('./admin.head.php');
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_search_bgcolor">검색 배경 색상</label></th>
|
||||
<td><input type="text" id="cf_search_bgcolor" name="cf_search_bgcolor" required value="<?=$config['cf_search_bgcolor']?>" size="7"></td>
|
||||
<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" required value="<?=$config['cf_search_color']?>" size="7"></td>
|
||||
<td><input type="text" id="cf_search_color" name="cf_search_color" class="required" value="<?=$config['cf_search_color']?>" size="7"></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" required value="<?=$config[cf_delay_sec]?>" size="2"> 초 지난후 가능</td>
|
||||
<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" required value="<?=$config[cf_write_pages]?>" size="2"> 페이지씩 표시</td>
|
||||
<td><input type="text" id="cf_write_pages" name="cf_write_pages" class="required numeric" value="<?=$config[cf_write_pages]?>" size="2"> 페이지씩 표시</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_image_extension">이미지 업로드 확장자</label></th>
|
||||
@ -258,7 +258,7 @@ include_once ('./admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="cf_member_skin">회원 스킨</label></th>
|
||||
<td colspan="3">
|
||||
<select id="cf_member_skin" name="cf_member_skin" required>
|
||||
<select id="cf_member_skin" name="cf_member_skin" class="required">
|
||||
<?
|
||||
$arr = get_skin_dir('member');
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
@ -495,7 +495,7 @@ include_once ('./admin.head.php');
|
||||
<legend><span></span>XSS 혹은 CSRF 방지</legend>
|
||||
<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">
|
||||
</fieldset>
|
||||
|
||||
<div class="btn_confirm">
|
||||
|
||||
@ -33,14 +33,14 @@ include_once('./admin.head.php');
|
||||
<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" required></td>
|
||||
<td><input type="text" id="ma_subject" name="ma_subject" value="<?=$ma['ma_subject']?>" size="100" class="required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="ma_content">메일 내용</label></th>
|
||||
<td>
|
||||
<?=help('{이름} , {별명} , {회원아이디} , {이메일} , {생일} 처럼 HTML 코드에 삽입하면 해당 내용에 맞게 변환하여 메일 발송합니다.')?>
|
||||
<?=textarea_size('ma_content')?>
|
||||
<textarea id="ma_content" name="ma_content" rows="20" required><?=$ma['ma_content']?></textarea>
|
||||
<textarea id="ma_content" name="ma_content" rows="20" class="required"><?=$ma['ma_content']?></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -8,8 +8,8 @@ $token = get_token();
|
||||
|
||||
if ($w == '')
|
||||
{
|
||||
$required_mb_id = 'required minlength="3" alphanumericunderline';
|
||||
$required_mb_password = 'required';
|
||||
$required_mb_id = 'class="required minlength=3 alnum_"';
|
||||
$required_mb_password = 'class="required"';
|
||||
|
||||
$mb[mb_mailling] = 1;
|
||||
$mb[mb_open] = 1;
|
||||
@ -98,9 +98,9 @@ include_once('./admin.head.php');
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_name">이름(실명)</label></th>
|
||||
<td><input type="text" id="mb_name" name="mb_name" maxlength="20" minlength="2" required value="<?=$mb['mb_name']?>" size="15"></td>
|
||||
<td><input type="text" id="mb_name" name="mb_name" maxlength="20" class="required hangul minlength=2" value="<?=$mb['mb_name']?>" size="15"></td>
|
||||
<th scope="row"><label for="mb_nick">별명</label></th>
|
||||
<td><input type="text" id="mb_nick" name="mb_nick" maxlength="20" minlength="2" required value="<?=$mb['mb_nick']?>" size="15"></td>
|
||||
<td><input type="text" id="mb_nick" name="mb_nick" maxlength="20" class="required minlength=2" value="<?=$mb['mb_nick']?>" size="15"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_level">회원 권한</label></th>
|
||||
@ -110,7 +110,7 @@ include_once('./admin.head.php');
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_email">E-mail</label></th>
|
||||
<td><input type="text" id="mb_email" name="mb_email" maxlength="100" required email value="<?=$mb['mb_email']?>" size="30"></td>
|
||||
<td><input type="text" id="mb_email" name="mb_email" maxlength="100" class="required email" value="<?=$mb['mb_email']?>" size="30"></td>
|
||||
<th scope="row"><label for="mb_homepage">홈페이지</label></th>
|
||||
<td><input type="text" id="mb_homepage" name="mb_homepage" maxlength="255" value="<?=$mb['mb_homepage']?>" size="15"></td>
|
||||
</tr>
|
||||
@ -243,7 +243,7 @@ include_once('./admin.head.php');
|
||||
<legend><span></span>XSS 혹은 CSRF 방지</legend>
|
||||
<p>관리자 권한을 탈취당하는 경우를 대비하여 패스워드를 다시 한번 확인합니다.</p>
|
||||
<label for="admin_password">관리자 패스워드</label>
|
||||
<input type="password" id="admin_password" name="admin_password" required title="관리자 패스워드">
|
||||
<input type="password" id="admin_password" name="admin_password" class="required" title="관리자 패스워드">
|
||||
</fieldset>
|
||||
|
||||
<div class="btn_confirm">
|
||||
|
||||
@ -34,14 +34,14 @@ include_once('./admin.head.php');
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="po_subject">투표 제목</label></th>
|
||||
<td><input type="text" id="po_subject" name="po_subject" required value="<?=$po['po_subject']?>" size="80" maxlength="125"></td>
|
||||
<td><input type="text" id="po_subject" name="po_subject" class="required" value="<?=$po['po_subject']?>" size="80" maxlength="125"></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
for ($i=1; $i<=9; $i++) {
|
||||
$required = '';
|
||||
if ($i==1 || $i==2) {
|
||||
$required = 'required';
|
||||
$required = 'class="required"';
|
||||
}
|
||||
|
||||
$po_poll = get_text($po['po_poll'.$i]);
|
||||
|
||||
Reference in New Issue
Block a user