![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/app/code/Zendesk/Zendesk/view/adminhtml/templates/system/config/ |
<?php // @codingStandardsIgnoreFile /** @var $block \Zendesk\Zendesk\Block\Adminhtml\System\Config\ZendeskApp */ ?> <?php if ($block->getZendeskConfigured()): ?> <a class="scalable <?= $block->getInstalled() ? 'uninstall' : 'action-primary' ?>" id="<?= $block->getHtmlId() ?>" href="<?= $block->escapeQuote($block->getInstallUrl()) ?>" > <span><span><span id="<?= $block->getHtmlId() ?>_result"><?= $block->escapeHtml($block->getButtonLabel()) ?></span></span></span> </a> <div id="remove-zendesk-app-confirmation"> <p> <?= __('Are you sure you want to remove the Zendesk App?') ?> </p> </div> <script type="text/javascript"> require([ 'jquery', 'Magento_Ui/js/modal/confirm' ], function($, confirmation) { $('#<?= $block->getHtmlId() ?>.uninstall').click(function(e) { e.preventDefault(); var link = this; confirmation({ title: '<?= __('Confirm Action') ?>', content: document.getElementById('remove-zendesk-app-confirmation').innerHTML, actions: { confirm: function() { window.location = link.href; } } }) }); }); </script> <?php endif; ?>