#376 무통장입금만 사용할 때는 kcp 안내 나오지 않도록 수정

This commit is contained in:
chicpro
2014-04-30 10:46:28 +09:00
parent 2ce975f38d
commit c1db296957
5 changed files with 40 additions and 5 deletions

View File

@ -1,5 +1,9 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 무통장 입금만 사용할 때는 아래 코드 실행되지 않음
if(!($default['de_iche_use'] || $default['de_vbank_use'] || $default['de_hp_use'] || $default['de_card_use']))
return;
?>
<!-- 거래등록 하는 kcp 서버와 통신을 위한 스크립트-->

View File

@ -36,4 +36,14 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<span id="show_req_btn"><input type="button" name="submitChecked" onClick="pay_approval();" value="결제등록요청"class="btn_submit"></span>
<span id="show_pay_btn" style="display:none;"><input type="button" onClick="forderform_check();" value="주문하기" class="btn_submit"></span>
<a href="javascript:history.go(-1);" class="btn_cancel">취소</a>
</div>
</div>
<?php
// 무통장 입금만 사용할 때는 주문하기 버튼 보이게
if(!($default['de_iche_use'] || $default['de_vbank_use'] || $default['de_hp_use'] || $default['de_card_use'])) {
?>
<script>
document.getElementById("show_req_btn").style.display = "none";
document.getElementById("show_pay_btn").style.display = "";
</script>
<?php } ?>