Spamworldpro Mini Shell
Spamworldpro


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/vendor/amasty/feed/view/adminhtml/templates/category/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/amasty/feed/view/adminhtml/templates/category/rename_mapping.phtml
<?php
/**
 * @author Amasty Team
 * @copyright Copyright (c) Amasty (https://www.amasty.com)
 * @package Product Feed for Magento 2
 */
/** @var \Amasty\Feed\Block\Adminhtml\Category\Edit\Tab\RenameMapping $block */
$value = $block->getElement()->getValue();
$htmlId = $block->getElement()->getHtmlId();
?>
<div class="field">
    <label class="label"><?= $block->escapeHtml($block->getElement()->getLabel()); ?></label>
    <div class="control">
        <p>
            <?= $block->escapeHtml(__("Please make sure all categories are renamed and mapped to Google"
             . " Taxonomy. If you don't need a certain category, please go to the previous step"
             . " (\"Step 2: Exclude Categories\") and specify all unwanted categories that"
             . " should be excluded from the feed.")) ?>
        </p>
    </div>
</div>
<div class="field" id="attribute-<?= $block->escapeHtml($htmlId) ?>-container">
    <label class="label"><?= $block->escapeHtml($block->getElement()->getLabel()); ?></label>
    <div class="control" data-amfeed-js="amfeed-category-list">
        <table class="amfeed-category-list">
            <tr data-amfeed-js="category-item">
                <th class="amfeed-cell"><?= $block->escapeHtml(__('Default Category Name')) ?></th>
                <th class="amfeed-cell"><?= $block->escapeHtml(__('New Category Name')) ?></th>
            </tr>
            <?php foreach ($block->getCategoriesList() as $category): ?>
                <tr
                    <?php if (!empty($value[$category['id']]['skip'])): ?>
                        style="display: none"
                    <?php endif ?>
                        data-amfeed-js="category-item">
                    <td class="amfeed-label-container amfeed-cell">
                        <label class="amfeed-label" for="category-<?= $block->escapeHtml($category['id']) ?>">
                            <?= $block->escapeHtml($category['name']); ?>
                        </label>
                    </td>
                    <td class="amfeed-new-name amfeed-cell">
                        <input data-amfeed-js="amfeed-taxonomy-input"
                               id="category-<?= $block->escapeHtml($category['id']) ?>"
                               title="<?= $block->escapeHtml(__('Rename category')) ?>"
                               name="mapping[<?= $block->escapeHtml($category['id']) ?>][name]"
                            <?php if (!empty($value[$category['id']]['name'])): ?>
                                value="<?= $block->escapeHtml($value[$category['id']]['name']) ?>"
                            <?php endif; ?>
                               class="amfeed-input input-text admin__control-text
                               <?= (empty($value[$category['id']]['skip']) ? ' required-entry _required' : '') ?>
                               category-<?= $block->escapeHtml($category['id']) ?>"
                        />
                        <script type="text/x-magento-init">
                            {
                                "*": {
                                    "Amasty_Feed/js/feed/searchCategory": {
                                        "ajaxUrl" : "<?= $block->escapeUrl($block->getAjaxUrl()) ?>",
                                        "inputId" : "#category-<?= $block->escapeHtml($category['id']) ?>"
                                    }
                                }
                            }
                        </script>
                    </td>
                </tr>
            <?php endforeach; ?>
        </table>
    </div>
</div>

Spamworldpro Mini