게시판, 1:1문의, 쇼핑몰상품 상단내용 하단내용에 hook 적용
This commit is contained in:
@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
if (G5_IS_MOBILE) {
|
if (G5_IS_MOBILE) {
|
||||||
// 모바일의 경우 설정을 따르지 않는다.
|
// 모바일의 경우 설정을 따르지 않는다.
|
||||||
include_once(G5_BBS_PATH.'/_head.php');
|
include_once(G5_BBS_PATH.'/_head.php');
|
||||||
echo html_purifier(stripslashes($board['bo_mobile_content_head']));
|
echo run_replace('board_mobile_content_head', html_purifier(stripslashes($board['bo_mobile_content_head'])), $board);
|
||||||
} else {
|
} else {
|
||||||
// 상단 파일 경로를 입력하지 않았다면 기본 상단 파일도 include 하지 않음
|
// 상단 파일 경로를 입력하지 않았다면 기본 상단 파일도 include 하지 않음
|
||||||
if (trim($board['bo_include_head'])) {
|
if (trim($board['bo_include_head'])) {
|
||||||
@ -15,5 +15,5 @@ if (G5_IS_MOBILE) {
|
|||||||
include_once(G5_BBS_PATH.'/_head.php');
|
include_once(G5_BBS_PATH.'/_head.php');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo html_purifier(stripslashes($board['bo_content_head']));
|
echo run_replace('board_content_head', html_purifier(stripslashes($board['bo_content_head'])), $board);
|
||||||
}
|
}
|
||||||
@ -3,11 +3,11 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
|
|
||||||
// 게시판 관리의 하단 파일 경로
|
// 게시판 관리의 하단 파일 경로
|
||||||
if (G5_IS_MOBILE) {
|
if (G5_IS_MOBILE) {
|
||||||
echo html_purifier(stripslashes($board['bo_mobile_content_tail']));
|
echo run_replace('board_mobile_content_tail', html_purifier(stripslashes($board['bo_mobile_content_tail'])), $board);
|
||||||
// 모바일의 경우 설정을 따르지 않는다.
|
// 모바일의 경우 설정을 따르지 않는다.
|
||||||
include_once(G5_BBS_PATH.'/_tail.php');
|
include_once(G5_BBS_PATH.'/_tail.php');
|
||||||
} else {
|
} else {
|
||||||
echo html_purifier(stripslashes($board['bo_content_tail']));
|
echo run_replace('board_content_tail', html_purifier(stripslashes($board['bo_content_tail'])), $board);
|
||||||
// 하단 파일 경로를 입력하지 않았다면 기본 하단 파일도 include 하지 않음
|
// 하단 파일 경로를 입력하지 않았다면 기본 하단 파일도 include 하지 않음
|
||||||
if (trim($board['bo_include_tail'])) {
|
if (trim($board['bo_include_tail'])) {
|
||||||
if (is_include_path_check($board['bo_include_tail'])) { //파일경로 체크
|
if (is_include_path_check($board['bo_include_tail'])) { //파일경로 체크
|
||||||
|
|||||||
@ -7,11 +7,11 @@ $qa_skin_url = get_skin_url('qa', (G5_IS_MOBILE ? $qaconfig['qa_mobile_skin'] :
|
|||||||
if (G5_IS_MOBILE) {
|
if (G5_IS_MOBILE) {
|
||||||
// 모바일의 경우 설정을 따르지 않는다.
|
// 모바일의 경우 설정을 따르지 않는다.
|
||||||
include_once('./_head.php');
|
include_once('./_head.php');
|
||||||
echo conv_content($qaconfig['qa_mobile_content_head'], 1);
|
echo run_replace('qa_mobile_content_head', conv_content($qaconfig['qa_mobile_content_head'], 1), $qaconfig);
|
||||||
} else {
|
} else {
|
||||||
if($qaconfig['qa_include_head'] && is_include_path_check($qaconfig['qa_include_head']))
|
if($qaconfig['qa_include_head'] && is_include_path_check($qaconfig['qa_include_head']))
|
||||||
@include ($qaconfig['qa_include_head']);
|
@include ($qaconfig['qa_include_head']);
|
||||||
else
|
else
|
||||||
include ('./_head.php');
|
include ('./_head.php');
|
||||||
echo conv_content($qaconfig['qa_content_head'], 1);
|
echo run_replace('qa_content_head', conv_content($qaconfig['qa_content_head'], 1), $qaconfig);
|
||||||
}
|
}
|
||||||
@ -2,11 +2,11 @@
|
|||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
if (G5_IS_MOBILE) {
|
if (G5_IS_MOBILE) {
|
||||||
echo conv_content($qaconfig['qa_mobile_content_tail'], 1);
|
echo run_replace('qa_mobile_content_tail', conv_content($qaconfig['qa_mobile_content_tail'], 1), $qaconfig);
|
||||||
// 모바일의 경우 설정을 따르지 않는다.
|
// 모바일의 경우 설정을 따르지 않는다.
|
||||||
include_once('./_tail.php');
|
include_once('./_tail.php');
|
||||||
} else {
|
} else {
|
||||||
echo conv_content($qaconfig['qa_content_tail'], 1);
|
echo run_replace('qa_content_tail', conv_content($qaconfig['qa_content_tail'], 1), $qaconfig);
|
||||||
if($qaconfig['qa_include_tail'] && is_include_path_check($qaconfig['qa_include_tail']))
|
if($qaconfig['qa_include_tail'] && is_include_path_check($qaconfig['qa_include_tail']))
|
||||||
@include ($qaconfig['qa_include_tail']);
|
@include ($qaconfig['qa_include_tail']);
|
||||||
else
|
else
|
||||||
|
|||||||
@ -197,7 +197,7 @@ include_once(G5_MSHOP_PATH.'/_head.php');
|
|||||||
include_once(G5_SHOP_PATH.'/settle_naverpay.inc.php');
|
include_once(G5_SHOP_PATH.'/settle_naverpay.inc.php');
|
||||||
|
|
||||||
// 상단 HTML
|
// 상단 HTML
|
||||||
echo '<div id="sit_hhtml">'.conv_content($it['it_mobile_head_html'], 1).'</div>';
|
echo run_replace('shop_it_mobile_head_html', '<div id="sit_hhtml">'.conv_content($it['it_mobile_head_html'], 1).'</div>', $it);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php if($is_orderable) { ?>
|
<?php if($is_orderable) { ?>
|
||||||
@ -222,6 +222,6 @@ else
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
// 하단 HTML
|
// 하단 HTML
|
||||||
echo conv_content($it['it_mobile_tail_html'], 1);
|
echo run_replace('shop_it_mobile_tail_html', conv_content($it['it_mobile_tail_html'], 1), $it);
|
||||||
|
|
||||||
include_once(G5_MSHOP_PATH.'/_tail.php');
|
include_once(G5_MSHOP_PATH.'/_tail.php');
|
||||||
@ -134,7 +134,7 @@ if ($is_admin) {
|
|||||||
<!-- 상품 상세보기 시작 { -->
|
<!-- 상품 상세보기 시작 { -->
|
||||||
<?php
|
<?php
|
||||||
// 상단 HTML
|
// 상단 HTML
|
||||||
echo '<div id="sit_hhtml">'.conv_content($it['it_head_html'], 1).'</div>';
|
echo run_replace('shop_it_head_html', '<div id="sit_hhtml">'.conv_content($it['it_head_html'], 1).'</div>', $it);
|
||||||
|
|
||||||
// 보안서버경로
|
// 보안서버경로
|
||||||
if (G5_HTTPS_DOMAIN)
|
if (G5_HTTPS_DOMAIN)
|
||||||
@ -274,7 +274,7 @@ include_once(G5_SHOP_PATH.'/settle_naverpay.inc.php');
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
// 하단 HTML
|
// 하단 HTML
|
||||||
echo conv_content($it['it_tail_html'], 1);
|
echo run_replace('shop_it_tail_html', conv_content($it['it_tail_html'], 1), $it);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user