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

This commit is contained in:
gnuboard
2013-04-22 19:11:20 +09:00
13 changed files with 68 additions and 38 deletions

View File

@ -112,14 +112,14 @@ if ($is_admin != 'super') {
$g4['title'] = $html_title;
include_once ('./admin.head.php');
$pg_anchor = "<ul class=\"anchor\">
<li><a href=\"#frm_basic\">기본 설정</a></li>
<li><a href=\"#frm_auth\">권한 설정</a></li>
<li><a href=\"#frm_function\">기능 설정</a></li>
<li><a href=\"#frm_design\">디자인/양식</a></li>
<li><a href=\"#frm_point\">포인트 설정</a></li>
<li><a href=\"#frm_extra\">여분필드</a></li>
</ul>";
$pg_anchor = '<ul class="anchor">
<li><a href="#anc_bo_basic">기본 설정</a></li>
<li><a href="#anc_bo_auth">권한 설정</a></li>
<li><a href="#anc_bo_function">기능 설정</a></li>
<li><a href="#anc_bo_design">디자인/양식</a></li>
<li><a href="#anc_bo_point">포인트 설정</a></li>
<li><a href="#anc_bo_extra">여분필드</a></li>
</ul>';
?>
<form name="fboardform" id="fboardform" action="./board_form_update.php" onsubmit="return fboardform_submit(this)" method="post" enctype="multipart/form-data">
@ -130,7 +130,7 @@ $pg_anchor = "<ul class=\"anchor\">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="page" value="<?=$page?>">
<section id="frm_basic" class="cbox">
<section id="anc_bo_basic" class="cbox">
<h2>게시판 기본 설정</h2>
<?=$pg_anchor?>
@ -211,7 +211,7 @@ $pg_anchor = "<ul class=\"anchor\">
</table>
</section>
<section id="frm_auth" class="cbox">
<section id="anc_bo_auth" class="cbox">
<h2>게시판 권한 설정</h2>
<?=$pg_anchor?>
@ -347,7 +347,7 @@ $pg_anchor = "<ul class=\"anchor\">
</table>
</section>
<section id="frm_function" class="cbox">
<section id="anc_bo_function" class="cbox">
<h2>게시판 기능 설정</h2>
<?=$pg_anchor?>
@ -684,7 +684,7 @@ $pg_anchor = "<ul class=\"anchor\">
</table>
</section>
<section id="frm_design" class="cbox">
<section id="anc_bo_design" class="cbox">
<h2>게시판 디자인/양식</h2>
<?=$pg_anchor?>
@ -1035,7 +1035,7 @@ $pg_anchor = "<ul class=\"anchor\">
</table>
</section>
<section id="frm_point" class="cbox">
<section id="anc_bo_point" class="cbox">
<h2>게시판 포인트 설정</h2>
<?=$pg_anchor?>
@ -1105,7 +1105,7 @@ $pg_anchor = "<ul class=\"anchor\">
</table>
</section>
<section id="frm_extra" class="cbox">
<section id="anc_bo_extra" class="cbox">
<h2>게시판 여분필드 설정</h2>
<?=$pg_anchor?>

View File

@ -62,23 +62,22 @@ if(!sql_query(" select uq_id from {$g4['uniqid_table']} limit 1 ", false)) {
$g4['title'] = '환경설정';
include_once ('./admin.head.php');
$pg_anchor = "
<ul class=\"anchor\">
<li><a href=\"#frm_basic\">기본환경</a></li>
<li><a href=\"#frm_board\">게시판기본</a></li>
<li><a href=\"#frm_join\">회원가입</a></li>
<li><a href=\"#frm_mail\">기본메일환경</a></li>
<li><a href=\"#frm_article_mail\">글작성메일</a></li>
<li><a href=\"#frm_join_mail\">가입메일</a></li>
<li><a href=\"#frm_vote_mail\">투표메일</a></li>
<li><a href=\"#frm_extra\">여분필드</a></li>
</ul>";
$pg_anchor = '<ul class="anchor">
<li><a href="#anc_cf_basic">기본환경</a></li>
<li><a href="#anc_cf_board">게시판기본</a></li>
<li><a href="#anc_cf_join">회원가입</a></li>
<li><a href="#anc_cf_mail">기본메일환경</a></li>
<li><a href="#anc_cf_article_mail">글작성메일</a></li>
<li><a href="#anc_cf_join_mail">가입메일</a></li>
<li><a href="#anc_cf_vote_mail">투표메일</a></li>
<li><a href="#anc_cf_extra">여분필드</a></li>
</ul>';
?>
<form name="fconfigform" id="fconfigform" method="post" onsubmit="return fconfigform_submit(this);">
<input type="hidden" name="token" value="<?=$token?>" id="token">
<section id="frm_basic" class="cbox">
<section id="anc_cf_basic" class="cbox">
<h2>홈페이지 기본환경 설정</h2>
<?=$pg_anchor?>
@ -318,7 +317,7 @@ $pg_anchor = "
</table>
</section>
<section id="frm_board" class="cbox">
<section id="anc_cf_board" class="cbox">
<h2>게시판 기본 설정</h2>
<?=$pg_anchor?>
<p>각 게시판 관리에서 개별적으로 설정 가능합니다.</p>
@ -393,7 +392,7 @@ $pg_anchor = "
</table>
</section>
<section id="frm_join" class="cbox">
<section id="anc_cf_join" class="cbox">
<h2>회원가입 설정</h2>
<?=$pg_anchor?>
<p>회원가입 시 사용할 스킨과 입력 받을 정보 등을 설정할 수 있습니다.</p>
@ -552,7 +551,7 @@ $pg_anchor = "
</table>
</section>
<section id="frm_mail" class="cbox">
<section id="anc_cf_mail" class="cbox">
<h2>기본 메일환경 설정</h2>
<?=$pg_anchor?>
@ -586,7 +585,7 @@ $pg_anchor = "
</table>
</section>
<section id="frm_article_mail" class="cbox">
<section id="anc_cf_article_mail" class="cbox">
<h2>게시판 글 작성 시 메일 설정</h2>
<?=$pg_anchor?>
@ -635,7 +634,7 @@ $pg_anchor = "
</table>
</section>
<section id="frm_join_mail" class="cbox">
<section id="anc_cf_join_mail" class="cbox">
<h2>회원가입 시 메일 설정</h2>
<?=$pg_anchor?>
@ -664,7 +663,7 @@ $pg_anchor = "
</section>
<section id="frm_vote_mail" class="cbox">
<section id="anc_cf_vote_mail" class="cbox">
<h2>투표 기타의견 작성시 메일 설정</h2>
<?=$pg_anchor?>
@ -685,7 +684,7 @@ $pg_anchor = "
</table>
</section>
<section id="frm_extra" class="cbox">
<section id="anc_cf_extra" class="cbox">
<h2>여분필드 기본 설정</h2>
<?=$pg_anchor?>
<p>각 게시판 관리에서 개별적으로 설정 가능합니다.</p>

View File

@ -241,10 +241,10 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9
.tbl_bo_list td {text-align:center}
/* 게시판추가/수정 */
.group_setting {width:130px;border-left:1px solid #e9ecee}
#frm_extra .group_setting label {width:auto}
#frm_extra .group_setting input {margin:0}
#frm_extra label {display:inline-block;width:100px}
#frm_extra input {margin-right:10px}
#anc_bo_extra .group_setting label {width:auto}
#anc_bo_extra .group_setting input {margin:0}
#anc_bo_extra label {display:inline-block;width:100px}
#anc_bo_extra input {margin-right:10px}
/* 게시판그룹관리 목록 */
.tbl_gr_list td {text-align:center}
/* 게시판그룹 추가/수정 목록 */

View File

@ -383,6 +383,19 @@ var win_poll = function(href) {
new_win.focus();
}
/**
* 스크린리더 미사용자를 위한 스크립트 - 지운아빠 2013-04-22
* alt 값만 갖는 그래픽 링크에 마우스오버 시 title 값 부여, 마우스아웃 시 title 값 제거
**/
$(function() {
$('a img').mouseover(function() {
$a_img_title = $(this).attr('alt');
$(this).attr('title', $a_img_title);
}).mouseout(function() {
$(this).attr('title', '');
});
});
/**
* 텍스트 리사이즈
**/

View File

@ -9,6 +9,8 @@ if ($is_good) $colspan++;
if ($is_nogood) $colspan++;
?>
<link rel="stylesheet" href="<?=$board_skin_url?>/style.css">
<? if (!$wr_id) {?><h1 id="bo_list_title"><?=$g4['title']?></h1><?}?>
<!-- 게시판 목록 시작 -->

View File

@ -3,6 +3,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once(G4_LIB_PATH.'/thumbnail.lib.php');
?>
<link rel="stylesheet" href="<?=$board_skin_url?>/style.css">
<div id="bo_v" style="width:<?=$width;?>">
<p id="bo_v_cate">

View File

@ -2,6 +2,8 @@
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?=$board_skin_url?>/style.css">
<h1 id="wrapper_title"><?=$g4['title']?></h1>
<form name="fwrite" id="fwrite" action="<?=$action_url?>" onsubmit="return fwrite_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off" style="width:<?=$width;?>">

View File

@ -3,6 +3,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G4_LIB_PATH.'/thumbnail.lib.php');
?>
<link rel="stylesheet" href="<?=$board_skin_url?>/style.css">
<? if (!$wr_id) {?><h1 id="bo_list_title"><?=$g4['title']?></h1><?}?>
<div class="ad72890">

View File

@ -1,8 +1,10 @@
<?
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once(G4_LIB_PATH.'/thumbnail.lib.php');
?>
<link rel="stylesheet" href="<?=$board_skin_url?>/style.css">
<div id="bo_v" style="width:<?=$width;?>">
<p id="bo_v_cate">

View File

@ -2,6 +2,8 @@
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?=$board_skin_url?>/style.css">
<h1 id="wrapper_title"><?=$g4['title']?></h1>
<form name="fwrite" id="fwrite" action="<?=$action_url?>" onsubmit="return fwrite_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off" style="width:<?=$width;?>">

View File

@ -3,6 +3,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G4_LIB_PATH.'/thumbnail.lib.php');
?>
<link rel="stylesheet" href="<?=$board_skin_url?>/style.css">
<? if (!$wr_id) {?><h1 id="bo_list_title"><?=$board['bo_subject']?></h1><?}?>
<!-- 게시판 목록 시작 -->

View File

@ -3,6 +3,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once(G4_LIB_PATH.'/thumbnail.lib.php');
?>
<link rel="stylesheet" href="<?=$board_skin_url?>/style.css">
<div id="bo_v" style="width:<?=$width;?>">
<p id="bo_v_cate">

View File

@ -2,6 +2,8 @@
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?=$board_skin_url?>/style.css">
<h1 id="wrapper_title"><?=$g4['title']?></h1>
<form name="fwrite" id="fwrite" action="<?=$action_url?>" onsubmit="return fwrite_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off" style="width:<?=$width;?>">