kcp 결제 모듈 설치 스크립트 수정

This commit is contained in:
chicpro
2014-06-10 17:44:04 +09:00
parent fcc7c05ffc
commit 408bd01812
3 changed files with 11 additions and 5 deletions

View File

@ -19,8 +19,6 @@ if($default['de_iche_use'] || $default['de_vbank_use'] || $default['de_hp_use']
<script>
function CheckPayplusInstall()
{
StartSmartUpdate();
if(ChkBrowser())
{
if(document.Payplus.object != null) {

View File

@ -5,6 +5,6 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if($default['de_iche_use'] || $default['de_vbank_use'] || $default['de_hp_use'] || $default['de_card_use']) {
?>
<script>
CheckPayplusInstall();
StartSmartUpdate();
</script>
<?php } ?>

View File

@ -21,9 +21,17 @@ if (get_cart_count($tmp_cart_id) == 0)
$g5['title'] = '주문서 작성';
// LG Xpay 전자결제를 사용할 때만 실행
if($default['de_pg_service'] == 'lg' && ($default['de_iche_use'] || $default['de_vbank_use'] || $default['de_hp_use'] || $default['de_card_use'])) {
$g5['body_script'] = 'onload="isActiveXOK();"';
if($default['de_iche_use'] || $default['de_vbank_use'] || $default['de_hp_use'] || $default['de_card_use']) {
switch($default['de_pg_service']) {
case 'lg':
$g5['body_script'] = 'onload="isActiveXOK();"';
break;
default:
$g5['body_script'] = 'onload="CheckPayplusInstall();"';
break;
}
}
include_once('./_head.php');
if ($default['de_hope_date_use']) {
include_once(G5_PLUGIN_PATH.'/jquery-ui/datepicker.php');