0byt3m1n1-V2
Path:
/
home
/
a
/
c
/
a
/
academiac
/
www
/
[
Home
]
File: cart_advertisement.php.tar
home/academiac/www/plugins/vmpayment/klarna/klarna/tmpl/cart_advertisement.php 0000604 00000004455 15137556264 0024022 0 ustar 00 <?php defined('_JEXEC') or die('Restricted access'); /** * @version $Id: cart_advertisement.php 6510 2012-10-08 11:26:10Z alatak $ * * @author Valérie Isaksen * @package VirtueMart * @copyright Copyright (C) 2012 iStraxx - All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * VirtueMart is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. */ JHTML::stylesheet('style.css', VMKLARNAPLUGINWEBROOT . '/klarna/assets/css/', false); JHTML::script('klarna_pp.js', VMKLARNAPLUGINWEBASSETS.'/js/', false); JHTML::script('klarnapart.js', 'https://static.klarna.com:444/external/js/', false); $document = JFactory::getDocument(); $document->addScriptDeclaration(" jQuery(function(){ jQuery('.klarna_AdvertBox_bottomMid_readMore a').click( function(){ InitKlarnaPartPaymentElements('klarna_partpayment', '". $viewData['eid'] ."', '". $viewData['country'] ."'); ShowKlarnaPartPaymentPopup(); return false; }); }); "); $js = '<script type="text/javascript">jQuery(document).find(".product_price").width("25%");</script>'; $js .= '<style>'; $js .= 'div.klarna_PPBox{z-index: 200 !important;}'; $js .= 'div.cbContainer{z-index: 10000 !important;}'; $js .= 'div.klarna_PPBox_bottomMid{overflow: visible !important;}'; $js .= '</style>'; //$html .= '<br>'; if ($viewData['country'] == 'nl') { $js .= '<style>.klarna_PPBox_topMid{width: 81%;}</style>'; } $document = JFactory::getDocument(); //$document->addScriptDeclaration($js); ?> <?php if ($viewData['country']== "nl") { $country_width="klarna_PPBox_topMid_nl"; } else { $country_width=""; } ?> <div class="klarna_AdvertisementBox"> <div id="klarna_partpayment" style="display: none"></div> <div class="klarna_AdvertBox_bottomMid_readMore"> <a href="#"><?php echo JText::sprintf('VMPAYMENT_KLARNA_ADVERTISEMENT',$viewData['sFee'] ); ?></a> </div> <?php $notice = (($viewData['country'] == 'nl') ? '<div class="nlBanner"><img src="' . VMKLARNAPLUGINWEBASSETS . '/images/notice_nl.png" /></div>' : ""); echo $notice; ?> </div> <div style="clear: both; height: 80px;"></div> home/academiac/www/plugins/vmpayment/klarnacheckout/klarnacheckout/tmpl/cart_advertisement.php 0000604 00000002654 15137725547 0027277 0 ustar 00 <?php defined('_JEXEC') or die('Restricted access'); /** * @author Valérie Isaksen * @version $Id: cart_advertisement.php 7360 2013-11-12 13:32:41Z alatak $ * @package VirtueMart * @subpackage payment * @copyright Copyright (C) 2004-Copyright (C) 2004-2014 Virtuemart Team. All rights reserved. - All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * VirtueMart is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details. * * http://virtuemart.net */ $css =".totalInPaymentCurrency {display:none;}\n"; JFactory::getDocument()->addStyleDeclaration($css); $js = ' jQuery(document).ready(function( $ ) { $("#checkoutForm").hide(); }); '; if ($viewData ['hide_BTST']) { $js .= ' jQuery(document).ready(function( $ ) { $(".billto-shipto").hide(); $("#com-form-login").hide(); }); '; } $document = JFactory::getDocument(); $document->addScriptDeclaration ( $js); ?> <?php if ($viewData ['message'] ) { ?> <h1><?php echo $viewData ['message']; ?> </h1> <?php } ?> <?php if ($viewData ['snippet'] ) { ?> <div><?php echo $viewData ['snippet']; ?> </div> <?php } ?>
©
2018.