사용자: 아웃로그인 링크 순서, 관리자: 게시판 폼 validation

This commit is contained in:
whitedot
2012-12-17 17:22:26 +09:00
parent 004dedd3c6
commit 05852d17f4
3 changed files with 7 additions and 7 deletions

View File

@ -484,7 +484,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
<th scope="row"><label for="bo_write_min">최소 글수 제한</label></th>
<td>
<?=help('글 입력시 최소 글자수를 설정. 0을 입력하면 검사하지 않음')?>
<input type="text" id="bo_write_min" name="bo_write_min" numeric value="<?=$board[bo_write_min]?>" size="4">
<input type="text" id="bo_write_min" name="bo_write_min" class="numeric" value="<?=$board[bo_write_min]?>" size="4">
<span class="group_setting">
<input type="checkbox" id="chk_write_min" name="chk_write_min" value="1">
<label for="chk_write_min">동일그룹 모두 적용</label>
@ -495,7 +495,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
<th scope="row"><label for="bo_write_max">최대 글수 제한</label></th>
<td>
<?=help('글 입력시 최대 글자수를 설정. 0을 입력하면 검사하지 않음')?>
<input type="text" id="bo_write_max" name="bo_write_max" numeric value="<?=$board[bo_write_max]?>" size="4">
<input type="text" id="bo_write_max" name="bo_write_max" class="numeric" value="<?=$board[bo_write_max]?>" size="4">
<span class="group_setting">
<input type="checkbox" id="chk_write_max" name="chk_write_max" value="1">
<label for="chk_write_max">동일그룹 모두 적용</label>
@ -506,7 +506,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
<th scope="row"><label for="bo_comment_min">최소 댓글수 제한</label></th>
<td>
<?=help('댓글 입력시 최소 글자수, 최대 글자수를 설정. 0을 입력하면 검사하지 않음')?>
<input type="text" id="bo_comment_min" name="bo_comment_min" numeric value="<?=$board[bo_comment_min]?>" size="3">
<input type="text" id="bo_comment_min" name="bo_comment_min" class="numeric" value="<?=$board[bo_comment_min]?>" size="3">
<span class="group_setting">
<input type="checkbox" id="chk_comment_min" name="chk_comment_min" value="1">
<label for="chk_comment_min">동일그룹 모두 적용</label>
@ -517,7 +517,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
<th scope="row"><label for="bo_comment_max">최대 댓글수 제한</label></th>
<td>
<?=help('댓글 입력시 최소 글자수, 최대 글자수를 설정. 0을 입력하면 검사하지 않음')?>
<input type="text" id="bo_comment_max" name="bo_comment_max" numeric value="<?=$board[bo_comment_max]?>" size="3">
<input type="text" id="bo_comment_max" name="bo_comment_max" class="numeric" value="<?=$board[bo_comment_max]?>" size="3">
<span class="group_setting">
<input type="checkbox" id="chk_comment_max" name="chk_comment_max" value="1">
<label for="chk_comment_max">동일그룹 모두 적용</label>
@ -779,7 +779,7 @@ if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
<th scope="row"><label for="chk_point">기본값으로 설정</label></th>
<td>
<?=help('환경설정에 입력된 포인트로 설정')?>
<input type="checkbox" id="chk_point" name="chk_point" title="기본값 사용" onclick="set_point(this.form)" size="5">
<input type="checkbox" id="chk_point" name="chk_point" title="기본값 사용" onclick="set_point(this.form)">
</td>
</tr>
<tr>

View File

@ -759,7 +759,7 @@ function get_group_select($name, $selected='', $event='')
$sql .= " order by a.gr_id ";
$result = sql_query($sql);
$str = "<select name='$name' $event>";
$str = "<select id='$name' name='$name' class='$event'>";
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$str .= "<option value='{$row['gr_id']}'";

View File

@ -8,10 +8,10 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<?=$nick?>님
<? if ($is_admin == 'super' || $is_auth) { ?><a href="<?=$g4['admin_path']?>/">관리자</a><? } ?>
<a href="javascript:win_point();">포인트 : <?=$point?>점</a>
<a href="<?=$g4['bbs_path']?>/logout.php">로그아웃</a>
<a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php">정보수정</a>
<a href="javascript:win_memo();">쪽지 <?=$memo_not_read?>통</a>
<a href="javascript:win_scrap();">스크랩</a>
<a href="<?=$g4['bbs_path']?>/logout.php">로그아웃</a>
</section>
<script>