사용자: 게시판스킨 아이디 클래스명 단축

This commit is contained in:
whitedot
2013-01-08 17:42:07 +09:00
parent 0e825d05f8
commit b4bb29161f
4 changed files with 34 additions and 30 deletions

View File

@ -255,31 +255,33 @@ h6 {margin:0 0 20px}
.sch_datetime {font-size:0.75em} .sch_datetime {font-size:0.75em}
/* 게시판 목록 */ /* 게시판 목록 */
#btn_board_adm {text-align:center} #btn_bo_adm {text-align:center}
#btn_board_adm a {display:inline-block;margin-bottom:20px;padding:10px 20px;text-align:center} #btn_bo_adm a {display:inline-block;margin-bottom:20px;padding:10px 20px;text-align:center}
.btn_board {margin-bottom:10px;zoom:1} .btn_bo {margin-bottom:10px;zoom:1}
.btn_board:after {display:block;visibility:hidden;clear:both;content:""} .btn_bo:after {display:block;visibility:hidden;clear:both;content:""}
.btn_board ul {margin:0;padding:0;list-style:none} .btn_bo ul {margin:0;padding:0;list-style:none}
.btn_board_user {float:right} .btn_bo_user {float:right}
.btn_board_user li {float:left;margin-left:5px} .btn_bo_user li {float:left;margin-left:5px}
.btn_board_user a {display:block} .btn_bo_user a {display:block}
.btn_board_adm {float:left} .btn_bo_adm {float:left}
.btn_board_adm li {float:left;margin-right:5px} .btn_bo_adm li {float:left;margin-right:5px}
.btn_board_adm a {display:block} .btn_bo_adm a {display:block}
#board_search {float:left;padding:0;margin:0;border:0} #bo_sch {float:left;padding:0;margin:0;border:0}
#board_search legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden} #bo_sch legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
#board_search form {display:inline-block} #bo_sch form {display:inline-block}
#fcategory select {margin-right:10px;padding:2px;border:1px solid #ddd;background:#f9f9f5;vertical-align:middle} #fcategory select {margin-right:10px;padding:2px;border:1px solid #ddd;background:#f9f9f5;vertical-align:middle}
#board_list caption {padding:0;height:0;overflow:hidden} #bo_list caption {padding:0;height:0;overflow:hidden}
.board_cate_link {display:inline-block;margin-right:10px;color:#ff7200;font-weight:bold;text-decoration:none} .bo_cate_link {display:inline-block;margin-right:10px;color:#ff7200;font-weight:bold;text-decoration:none}
.td_subject img {margin-left:5px} .td_subject img {margin-left:5px}
/* 게시판 쓰기 */ /* 게시판 쓰기 */
#board_write caption {padding:0;height:0;overflow:hidden} #bo_w caption {padding:0;height:0;overflow:hidden}
/* 게시판 읽기 */ /* 게시판 읽기 */
#board_view {margin-bottom:30px;padding:10px;border:1px solid #ddd} #bo_v {margin-bottom:30px;border:1px solid #ddd}
#bo_v_h1 {padding:25px 15px 15px;border-bottom:1px solid #efeada;font-size:0.9em}
#bo_v aside h2 {margin:0;padding:0;height:0;overflow:hidden}
/* 우편번호 검색 */ /* 우편번호 검색 */
#post_num dl {margin:0 auto 10px;padding:0;width:90%} #post_num dl {margin:0 auto 10px;padding:0;width:90%}

View File

@ -13,8 +13,8 @@ if ($is_nogood) $colspan++;
<? if ($admin_href) { ?><div id="btn_board_adm"><a href="<?=$admin_href?>">게시판 관리자 바로가기</a></div><?}?> <? if ($admin_href) { ?><div id="btn_board_adm"><a href="<?=$admin_href?>">게시판 관리자 바로가기</a></div><?}?>
<div class="btn_board"> <div class="btn_bo">
<fieldset id="board_search"> <fieldset id="bo_sch">
<legend>게시물 분류 및 검색</legend> <legend>게시물 분류 및 검색</legend>
<? if ($is_category) { ?> <? if ($is_category) { ?>
@ -50,7 +50,7 @@ if ($is_nogood) $colspan++;
</fieldset> </fieldset>
<? if ($rss_href || $write_href) {?> <? if ($rss_href || $write_href) {?>
<ul class="btn_board_user"> <ul class="btn_bo_user">
<? if ($rss_href) { ?><li><a href="<?=$rss_href?>" class="btn02">RSS</a></li><? } ?> <? if ($rss_href) { ?><li><a href="<?=$rss_href?>" class="btn02">RSS</a></li><? } ?>
<? if ($write_href) { ?><li><a href="<?=$write_href?>" class="btn01">글쓰기</a></li><? } ?> <? if ($write_href) { ?><li><a href="<?=$write_href?>" class="btn01">글쓰기</a></li><? } ?>
</ul> </ul>
@ -65,7 +65,7 @@ if ($is_nogood) $colspan++;
<input type="hidden" name="spt" value="<?=$spt?>"> <input type="hidden" name="spt" value="<?=$spt?>">
<input type="hidden" name="page" value="<?=$page?>"> <input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="sw" value=""> <input type="hidden" name="sw" value="">
<table id="board_list"> <table id="bo_list">
<caption><?=$board['bo_subject']?> 목록</caption> <caption><?=$board['bo_subject']?> 목록</caption>
<thead> <thead>
<tr> <tr>
@ -133,8 +133,8 @@ for ($i=0; $i<count($list); $i++) {
</table> </table>
</form> </form>
<div class="btn_board"> <div class="btn_bo">
<ul class="btn_board_adm"> <ul class="btn_bo_adm">
<? if ($list_href) { ?> <? if ($list_href) { ?>
<li><a href="<?=$list_href?>">목록</a></li> <li><a href="<?=$list_href?>">목록</a></li>
<? } ?> <? } ?>
@ -145,7 +145,7 @@ for ($i=0; $i<count($list); $i++) {
<? } ?> <? } ?>
</ul> </ul>
<ul class="btn_board_user"> <ul class="btn_bo_user">
<li><? if ($write_href) { ?><a href="<?=$write_href?>" class="btn01">글쓰기</a><? } ?></li> <li><? if ($write_href) { ?><a href="<?=$write_href?>" class="btn01">글쓰기</a><? } ?></li>
</ul> </ul>
</div> </div>

View File

@ -2,8 +2,8 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?> ?>
<div id="board_view"> <div id="bo_v">
<h1><? if ($is_category) { echo ($category_name ? "{$view['ca_name']} " : ""); } ?><?=cut_hangul_last(get_text($view['wr_subject']))?></h1> <h1 id="bo_v_h1"><? if ($is_category) { echo ($category_name ? "{$view['ca_name']} " : ""); } ?><?=cut_hangul_last(get_text($view['wr_subject']))?></h1>
<aside> <aside>
<h2>게시물 상단 링크</h2> <h2>게시물 상단 링크</h2>
@ -46,7 +46,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
</ul> </ul>
</aside> </aside>
<section> <section id="bo_v_info">
<h2>게시물 정보</h2> <h2>게시물 정보</h2>
<dl> <dl>
<dt>작성자</dt> <dt>작성자</dt>
@ -121,7 +121,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<? } ?> <? } ?>
<article> <article>
<h1>본문</h1> <header>
<h1>본문</h1>
</header>
<div> <div>
<? <?
// 파일 출력 // 파일 출력

View File

@ -22,7 +22,7 @@ var char_max = parseInt(<?=$write_max?>); // 최대
<input type="hidden" name="sod" value="<?=$sod?>"> <input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="page" value="<?=$page?>"> <input type="hidden" name="page" value="<?=$page?>">
<table id="board_write" class="frm_tbl"> <table id="bo_w" class="frm_tbl">
<caption><?=$board['bo_subject']?> <?=$title_msg?></caption> <caption><?=$board['bo_subject']?> <?=$title_msg?></caption>
<tbody> <tbody>
<? if ($is_name) { ?> <? if ($is_name) { ?>