| Current Path : /home/rtorresani/www/vendor/magento/module-paypal/view/frontend/templates/payment/ |
| Current File : //home/rtorresani/www/vendor/magento/module-paypal/view/frontend/templates/payment/mark.phtml |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Note: This mark is a requirement of PayPal
* @var \Magento\Paypal\Block\Express\Form $block
* @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer
* @see \Magento\Paypal\Block\Express\Form
*/
$url = $block->escapeUrl($block->getPaymentAcceptanceMarkHref());
?>
<!-- PayPal Logo -->
<img src="<?= $block->escapeUrl($block->getPaymentAcceptanceMarkSrc()) ?>"
alt="<?= $block->escapeHtml(__('Acceptance Mark')) ?>" class="paypal icon"/>
<a href="<?= /* @noEscape */ $url ?>" class="action paypal about">
<?php if ($block->getPaymentWhatIs()) {
echo $block->escapeHtml(__($block->getPaymentWhatIs()));
} else {
echo $block->escapeHtml(__('What is PayPal?'));
} ?>
</a>
<?= /* @noEscape */ $secureRenderer->renderEventListenerAsTag(
'onclick',
"window.open(
'" . /* @noEscape */ $block->escapeJs($block->getPaymentAcceptanceMarkHref()) . "',
'olcwhatispaypal',
'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, ,' +
'left=0, top=0, width=400, height=350'
); event.preventDefault();",
'a.action.paypal.about'
) ?>
<!-- PayPal Logo -->