버전 5.4.2.3 수정

This commit is contained in:
thisgun
2020-03-13 11:15:34 +09:00
7 changed files with 10 additions and 7 deletions

View File

@ -101,7 +101,7 @@ function imageview(id, w, h)
<h1><?php echo $config['cf_title'] ?></h1> <h1><?php echo $config['cf_title'] ?></h1>
<div id="hd_top"> <div id="hd_top">
<button type="button" id="btn_gnb" class="btn_gnb_close <?php echo $adm_menu_cookie['btn_gnb'];?>">메뉴</button> <button type="button" id="btn_gnb" class="btn_gnb_close <?php echo $adm_menu_cookie['btn_gnb'];?>">메뉴</button>
<div id="logo"><a href="<?php echo correct_goto_url(G5_ADMIN_URL); ?>"><img src="<?php echo G5_ADMIN_URL ?>/img/logo.png" alt="<?php echo $config['cf_title'] ?> 관리자"></a></div> <div id="logo"><a href="<?php echo correct_goto_url(G5_ADMIN_URL); ?>"><img src="<?php echo G5_ADMIN_URL ?>/img/logo.png" alt="<?php echo get_text($config['cf_title']); ?> 관리자"></a></div>
<div id="tnb"> <div id="tnb">
<ul> <ul>

View File

@ -26,6 +26,9 @@ sql_query(" delete from {$g5['board_file_table']} where bo_table = '{$tmp_bo_tab
// 게시판 테이블 DROP // 게시판 테이블 DROP
sql_query(" drop table {$g5['write_prefix']}{$tmp_bo_table} ", FALSE); sql_query(" drop table {$g5['write_prefix']}{$tmp_bo_table} ", FALSE);
// 좋아요 테이블에서 기록 삭제
sql_query(" delete from {$g5['board_good_table']} where bo_table = '{$tmp_bo_table}' ");
delete_cache_latest($tmp_bo_table); delete_cache_latest($tmp_bo_table);
// 게시판 폴더 전체 삭제 // 게시판 폴더 전체 삭제

View File

@ -39,7 +39,7 @@ $sql .= " order by bo_order ";
$result = sql_query($sql); $result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) { for ($i=0; $row=sql_fetch_array($result); $i++) {
$lt_style = ""; $lt_style = "";
if ($i%2==1) $lt_style = "margin-left:2%"; if ($i%3 !== 0) $lt_style = "margin-left:2%";
else $lt_style = ""; else $lt_style = "";
?> ?>
<div style="float:left;<?php echo $lt_style ?>" class="lt_wr"> <div style="float:left;<?php echo $lt_style ?>" class="lt_wr">

View File

@ -5,8 +5,8 @@
********************/ ********************/
define('G5_VERSION', '그누보드5'); define('G5_VERSION', '그누보드5');
define('G5_GNUBOARD_VER', '5.4.2.2'); define('G5_GNUBOARD_VER', '5.4.2.3');
define('G5_YOUNGCART_VER', '5.4.2.2'); define('G5_YOUNGCART_VER', '5.4.2.3');
// 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음 // 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음
define('_GNUBOARD_', true); define('_GNUBOARD_', true);

View File

@ -2594,7 +2594,7 @@ class html_process {
if(!trim($js[1])) if(!trim($js[1]))
continue; continue;
$js[1] = preg_replace('#\.js([\'\"]?>)$#i', '.js?ver='.G5_JS_VER.'$1', $js[1]); $js[1] = preg_replace('#\.js([\'\"]?>)<\/script>$#i', '.js?ver='.G5_JS_VER.'$1</script>', $js[1]);
$javascript .= $php_eol.$js[1]; $javascript .= $php_eol.$js[1];
$php_eol = PHP_EOL; $php_eol = PHP_EOL;

View File

@ -31,7 +31,7 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40, $cache_time=
} }
} }
$caches = null; $caches = false;
if(G5_USE_CACHE) { if(G5_USE_CACHE) {
$cache_file_name = "latest-{$bo_table}-{$skin_dir}-{$rows}-{$subject_len}-".g5_cache_secret_key(); $cache_file_name = "latest-{$bo_table}-{$skin_dir}-{$rows}-{$subject_len}-".g5_cache_secret_key();

View File

@ -30,7 +30,7 @@ $sql .= " order by bo_order ";
$result = sql_query($sql); $result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) { for ($i=0; $row=sql_fetch_array($result); $i++) {
$lt_style = ""; $lt_style = "";
if ($i%2==1) $lt_style = "margin-left:2%"; if ($i%3 !== 0) $lt_style = "margin-left:2%";
else $lt_style = ""; else $lt_style = "";
?> ?>
<div style="float:left;<?php echo $lt_style ?>" class="lt_wr"> <div style="float:left;<?php echo $lt_style ?>" class="lt_wr">