diff --git a/adm/boardgroup_list.php b/adm/boardgroup_list.php index 8e7c5feeb..a688e650d 100644 --- a/adm/boardgroup_list.php +++ b/adm/boardgroup_list.php @@ -127,7 +127,7 @@ $colspan = 10; - + diff --git a/adm/boardgroupmember_form.php b/adm/boardgroupmember_form.php index ac934a5e3..7a8c2d11d 100644 --- a/adm/boardgroupmember_form.php +++ b/adm/boardgroupmember_form.php @@ -85,7 +85,7 @@ $colspan = 4; - + diff --git a/adm/menu_form_search.php b/adm/menu_form_search.php index 304bc1609..497ee3ee1 100644 --- a/adm/menu_form_search.php +++ b/adm/menu_form_search.php @@ -52,7 +52,7 @@ if($sql) { diff --git a/bbs/new_delete.php b/bbs/new_delete.php index 8148f502d..035653915 100644 --- a/bbs/new_delete.php +++ b/bbs/new_delete.php @@ -8,24 +8,25 @@ if ($is_admin != 'super') $board = array(); $save_bo_table = array(); +$save_wr_id = array(); for($i=0;$i$value) { delete_cache_latest($value); } -run_event('bbs_new_delete', $chk_bn_id, $save_bo_table); +run_event('bbs_new_delete', $chk_bn_id, $save_bo_table, $save_wr_id); goto_url("new.php?sfl=$sfl&stx=$stx&page=$page"); ?> \ No newline at end of file diff --git a/config.php b/config.php index 80d5c1bf7..d7b1a3c23 100644 --- a/config.php +++ b/config.php @@ -5,8 +5,8 @@ ********************/ define('G5_VERSION', '그누보드5'); -define('G5_GNUBOARD_VER', '5.4.1.1'); -define('G5_YOUNGCART_VER', '5.4.1.1.1'); +define('G5_GNUBOARD_VER', '5.4.1.2'); +define('G5_YOUNGCART_VER', '5.4.1.2'); // 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음 define('_GNUBOARD_', true); diff --git a/mobile/skin/latest/basic/latest.skin.php b/mobile/skin/latest/basic/latest.skin.php index 5d3d5bb07..b7fbbd5e0 100644 --- a/mobile/skin/latest/basic/latest.skin.php +++ b/mobile/skin/latest/basic/latest.skin.php @@ -10,7 +10,7 @@ add_stylesheet('', 0); $thumb_width = 138; $thumb_height = 80; -$list_count = count($list); +$list_count = (is_array($list) && $list) ? count($list) : 0; $divisor_count = 4; $start_page_num = $list_count ? '1' : '0'; $is_show_next_prev = ($list_count > 4) ? 1 : 0; diff --git a/mobile/skin/latest/comment/latest.skin.php b/mobile/skin/latest/comment/latest.skin.php index c34727592..961c48b0c 100644 --- a/mobile/skin/latest/comment/latest.skin.php +++ b/mobile/skin/latest/comment/latest.skin.php @@ -3,14 +3,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('', 0); +$list_count = (is_array($list) && $list) ? count($list) : 0; ?>

최신댓글

diff --git a/mobile/skin/latest/notice/latest.skin.php b/mobile/skin/latest/notice/latest.skin.php index eb0c06605..c59f74c6a 100644 --- a/mobile/skin/latest/notice/latest.skin.php +++ b/mobile/skin/latest/notice/latest.skin.php @@ -4,12 +4,13 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('', 0); add_javascript('', 10); +$list_count = (is_array($list) && $list) ? count($list) : 0; ?>

    - +
  • "; @@ -35,7 +36,7 @@ add_javascript('', 10); ?>
  • - +
  • 게시물이 없습니다.
diff --git a/mobile/skin/member/basic/memo.skin.php b/mobile/skin/member/basic/memo.skin.php index 2a397d9c7..c3289850d 100644 --- a/mobile/skin/member/basic/memo.skin.php +++ b/mobile/skin/member/basic/memo.skin.php @@ -35,7 +35,7 @@ add_stylesheet('',
- + 삭제 diff --git a/skin/latest/basic/latest.skin.php b/skin/latest/basic/latest.skin.php index eb2b00e1e..78b3fc128 100644 --- a/skin/latest/basic/latest.skin.php +++ b/skin/latest/basic/latest.skin.php @@ -3,12 +3,13 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('', 0); +$list_count = (is_array($list) && $list) ? count($list) : 0; ?>

- +
  • 게시물이 없습니다.
  • diff --git a/skin/latest/notice/latest.skin.php b/skin/latest/notice/latest.skin.php index eb0c06605..c59f74c6a 100644 --- a/skin/latest/notice/latest.skin.php +++ b/skin/latest/notice/latest.skin.php @@ -4,12 +4,13 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('', 0); add_javascript('', 10); +$list_count = (is_array($list) && $list) ? count($list) : 0; ?>

    diff --git a/skin/latest/pic_block/latest.skin.php b/skin/latest/pic_block/latest.skin.php index c19ef5c08..791e2b48b 100644 --- a/skin/latest/pic_block/latest.skin.php +++ b/skin/latest/pic_block/latest.skin.php @@ -6,13 +6,14 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); add_stylesheet('', 0); $thumb_width = 210; $thumb_height = 150; +$list_count = (is_array($list) && $list) ? count($list) : 0; ?>

      - +
    • 게시물이 없습니다.
    diff --git a/skin/latest/pic_list/latest.skin.php b/skin/latest/pic_list/latest.skin.php index 57dcec5bb..1a8a08ed4 100644 --- a/skin/latest/pic_list/latest.skin.php +++ b/skin/latest/pic_list/latest.skin.php @@ -6,13 +6,14 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); add_stylesheet('', 0); $thumb_width = 297; $thumb_height = 212; +$list_count = (is_array($list) && $list) ? count($list) : 0; ?>

      - +
    • 게시물이 없습니다.
    diff --git a/skin/member/basic/style.css b/skin/member/basic/style.css index f1796eecc..f5cb01436 100644 --- a/skin/member/basic/style.css +++ b/skin/member/basic/style.css @@ -232,6 +232,7 @@ #memo_list .memo_datetime {font-size:0.92em;color:#888d92} #memo_list .memo_del {position:absolute;right:15px;top:15px;padding:10px;color:#c7c9cb;font-size:1.4em} #memo_list .memo_cnt {margin-top:5px;font-weight:normal;display:inline-block;font-size:1.2em} +#memo_list .pg_wrap {margin-top:10px;width:100%;float:inherit;text-align:center} #memo_view_contents {margin-bottom:20px;border-top:1px solid #ececec;border-bottom:1px solid #ececec} #memo_view_contents h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} diff --git a/theme/basic/mobile/skin/latest/basic/latest.skin.php b/theme/basic/mobile/skin/latest/basic/latest.skin.php index 5d3d5bb07..b7fbbd5e0 100644 --- a/theme/basic/mobile/skin/latest/basic/latest.skin.php +++ b/theme/basic/mobile/skin/latest/basic/latest.skin.php @@ -10,7 +10,7 @@ add_stylesheet('', 0); $thumb_width = 138; $thumb_height = 80; -$list_count = count($list); +$list_count = (is_array($list) && $list) ? count($list) : 0; $divisor_count = 4; $start_page_num = $list_count ? '1' : '0'; $is_show_next_prev = ($list_count > 4) ? 1 : 0; diff --git a/theme/basic/mobile/skin/latest/comment/latest.skin.php b/theme/basic/mobile/skin/latest/comment/latest.skin.php index c34727592..961c48b0c 100644 --- a/theme/basic/mobile/skin/latest/comment/latest.skin.php +++ b/theme/basic/mobile/skin/latest/comment/latest.skin.php @@ -3,14 +3,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('', 0); +$list_count = (is_array($list) && $list) ? count($list) : 0; ?>

    최신댓글

    • @@ -24,7 +24,7 @@ add_stylesheet('', 게시물이 없습니다.
    • '.PHP_EOL; ?>
    diff --git a/theme/basic/mobile/skin/latest/notice/latest.skin.php b/theme/basic/mobile/skin/latest/notice/latest.skin.php index eb0c06605..c59f74c6a 100644 --- a/theme/basic/mobile/skin/latest/notice/latest.skin.php +++ b/theme/basic/mobile/skin/latest/notice/latest.skin.php @@ -4,12 +4,13 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('', 0); add_javascript('', 10); +$list_count = (is_array($list) && $list) ? count($list) : 0; ?>

      - +
    • "; @@ -35,7 +36,7 @@ add_javascript('', 10); ?>
    • - +
    • 게시물이 없습니다.
    diff --git a/theme/basic/mobile/skin/member/basic/memo.skin.php b/theme/basic/mobile/skin/member/basic/memo.skin.php index 2a397d9c7..c3289850d 100644 --- a/theme/basic/mobile/skin/member/basic/memo.skin.php +++ b/theme/basic/mobile/skin/member/basic/memo.skin.php @@ -35,7 +35,7 @@ add_stylesheet('',
    - + 삭제 diff --git a/theme/basic/skin/latest/basic/latest.skin.php b/theme/basic/skin/latest/basic/latest.skin.php index eb2b00e1e..78b3fc128 100644 --- a/theme/basic/skin/latest/basic/latest.skin.php +++ b/theme/basic/skin/latest/basic/latest.skin.php @@ -3,12 +3,13 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('', 0); +$list_count = (is_array($list) && $list) ? count($list) : 0; ?>

      - +
    • 비밀글 "; @@ -40,7 +41,7 @@ add_stylesheet('',
    - +
  • 게시물이 없습니다.
  • diff --git a/theme/basic/skin/latest/notice/latest.skin.php b/theme/basic/skin/latest/notice/latest.skin.php index eb0c06605..c59f74c6a 100644 --- a/theme/basic/skin/latest/notice/latest.skin.php +++ b/theme/basic/skin/latest/notice/latest.skin.php @@ -4,12 +4,13 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('', 0); add_javascript('', 10); +$list_count = (is_array($list) && $list) ? count($list) : 0; ?>

      - +
    • "; @@ -35,7 +36,7 @@ add_javascript('', 10); ?>
    • - +
    • 게시물이 없습니다.
    diff --git a/theme/basic/skin/latest/pic_block/latest.skin.php b/theme/basic/skin/latest/pic_block/latest.skin.php index c19ef5c08..791e2b48b 100644 --- a/theme/basic/skin/latest/pic_block/latest.skin.php +++ b/theme/basic/skin/latest/pic_block/latest.skin.php @@ -6,13 +6,14 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); add_stylesheet('', 0); $thumb_width = 210; $thumb_height = 150; +$list_count = (is_array($list) && $list) ? count($list) : 0; ?>

      - +
    • 게시물이 없습니다.
    diff --git a/theme/basic/skin/latest/pic_list/latest.skin.php b/theme/basic/skin/latest/pic_list/latest.skin.php index 57dcec5bb..1a8a08ed4 100644 --- a/theme/basic/skin/latest/pic_list/latest.skin.php +++ b/theme/basic/skin/latest/pic_list/latest.skin.php @@ -6,13 +6,14 @@ include_once(G5_LIB_PATH.'/thumbnail.lib.php'); add_stylesheet('', 0); $thumb_width = 297; $thumb_height = 212; +$list_count = (is_array($list) && $list) ? count($list) : 0; ?>

      - +
    • 게시물이 없습니다.
    diff --git a/theme/basic/skin/member/basic/style.css b/theme/basic/skin/member/basic/style.css index 29f9300cd..22aeba230 100644 --- a/theme/basic/skin/member/basic/style.css +++ b/theme/basic/skin/member/basic/style.css @@ -231,6 +231,7 @@ #memo_list .memo_datetime {font-size:0.92em;color:#888d92} #memo_list .memo_del {position:absolute;right:15px;top:15px;padding:10px;color:#c7c9cb;font-size:1.4em} #memo_list .memo_cnt {margin-top:5px;font-weight:normal;display:inline-block;font-size:1.2em} +#memo_list .pg_wrap {margin-top:10px;width:100%;float:inherit;text-align:center} #memo_view_contents {margin-bottom:20px;border-top:1px solid #ececec;border-bottom:1px solid #ececec} #memo_view_contents h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}