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

This commit is contained in:
gnuboard
2013-03-04 14:20:06 +09:00
3 changed files with 14 additions and 11 deletions

View File

@ -30,7 +30,7 @@ if (($w == 'u' || $w == 'r') && !$write['wr_id']) {
if ($w == '') { if ($w == '') {
if ($wr_id) { if ($wr_id) {
alert('글쓰기에는 \$wr_id 값을 사용하지 않습니다.', $g4['bbs_path'].'/board.php?bo_table='.$bo_table); alert('글쓰기에는 \$wr_id 값을 사용하지 않습니다.', G4_BBS_URL.'/board.php?bo_table='.$bo_table);
} }
if ($member['mb_level'] < $board['bo_write_level']) { if ($member['mb_level'] < $board['bo_write_level']) {

View File

@ -484,9 +484,9 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#bo_img h2 {margin:0;padding:0;width:1px;height:1px;overflow:hidden} #bo_img h2 {margin:0;padding:0;width:1px;height:1px;overflow:hidden}
#bo_img_list {margin:0;padding:0;list-style:none;zoom:1} #bo_img_list {margin:0;padding:0;list-style:none;zoom:1}
#bo_img_list:after {display:block;visibility:hidden;clear:both;content:""} #bo_img_list:after {display:block;visibility:hidden;clear:both;content:""}
#bo_img_list li {float:left} .bo_img_list_li {float:left;margin-bottom:20px}
.bo_img_con {margin:0;padding:0;list-style:none} .bo_img_con {margin:0;padding:0;list-style:none}
.bo_img_con li {float:none !important} .bo_img_con li {}
/* 목록 공통 */ /* 목록 공통 */
.bo_fx {margin-bottom:5px;zoom:1} .bo_fx {margin-bottom:5px;zoom:1}

View File

@ -45,7 +45,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<ul id="bo_img_list"> <ul id="bo_img_list">
<? for ($i=0; $i<count($list); $i++) { ?> <? for ($i=0; $i<count($list); $i++) { ?>
<li <? // 현재 읽고 있는 글이면, ?>class="bo_img_now"> <li class="bo_img_list_li <? // 현재 읽고 있는 글이면, ?>bo_img_now">
<? if ($is_checkbox) { ?><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="<?=$list[$i]['subject']?> 선택"><? } ?>
<span class="sound_only"> <span class="sound_only">
<? <?
if ($wr_id == $list[$i]['wr_id']) if ($wr_id == $list[$i]['wr_id'])
@ -54,18 +55,20 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
echo $list[$i]['num']; echo $list[$i]['num'];
?> ?>
</span> </span>
<? if ($is_checkbox) { ?><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="<?=$list[$i]['subject']?> 선택"><? } ?>
<ul class="bo_img_con"> <ul class="bo_img_con">
<li> <li>
<? if ($list[$i]['is_notice']) { // 공지사항 ?><strong>공지</strong> <? if ($list[$i]['is_notice']) { // 공지사항 ?><strong>공지</strong>
<? } else { ?> <? } else { ?>
<? // 파일 설명이 있을 경우 alt까지 출력해주세요. ?> <?
// 파일 설명이 있을 경우 alt까지 출력해주세요.
// 이미지 사이즈는 어떻게 정해야 할까요?
?>
<img src="" alt=""> <img src="" alt="">
<? } ?> <? } ?>
</li> </li>
<li> <li>
<? <?
echo $list[$i]['icon_reply']; // echo $list[$i]['icon_reply']; 갤러리는 reply 를 사용 안 할 것 같습니다. - 지운아빠 2013-03-04
if ($is_category && $list[$i]['ca_name']) { if ($is_category && $list[$i]['ca_name']) {
?> ?>
<a href="<?=$list[$i]['ca_name_href']?>" class="bo_cate_link"><?=$list[$i]['ca_name']?></a> <a href="<?=$list[$i]['ca_name_href']?>" class="bo_cate_link"><?=$list[$i]['ca_name']?></a>
@ -83,12 +86,11 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (isset($list[$i]['icon_file'])) echo $list[$i]['icon_file']; if (isset($list[$i]['icon_file'])) echo $list[$i]['icon_file'];
if (isset($list[$i]['icon_link'])) echo $list[$i]['icon_link']; if (isset($list[$i]['icon_link'])) echo $list[$i]['icon_link'];
if (isset($list[$i]['icon_secret'])) echo $list[$i]['icon_secret']; if (isset($list[$i]['icon_secret'])) echo $list[$i]['icon_secret'];
?> ?>
</li> </li>
<li><?=$list[$i]['name']?></li> <li><span class="sound_only">작성자 </span><?=$list[$i]['name']?></li>
<li><?=$list[$i]['datetime2']?></li> <li><span class="sound_only">작성일 </span><?=$list[$i]['datetime2']?></li>
<li><?=$list[$i]['wr_hit']?></li> <li><span class="sound_only">조회 </span><?=$list[$i]['wr_hit']?></li>
<li> <li>
<span>추천<strong><?=$list[$i]['wr_good']?></strong></span> <span>추천<strong><?=$list[$i]['wr_good']?></strong></span>
<span>비추천<strong><?=$list[$i]['wr_nogood']?></strong></span> <span>비추천<strong><?=$list[$i]['wr_nogood']?></strong></span>
@ -117,6 +119,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
</ul> </ul>
</div> </div>
<? } ?> <? } ?>
</form> </form>
</div> </div>