Produced by Araxis Merge on 2021-05-13 09:09:05 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | /Applications/Ampps/www/Porto 3.2.2/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Mageplaza_LayeredNavigation/templates/layer | view.phtml | 2018-10-28 22:19:54 +0000 |
| 2 | /Applications/Ampps/www/Porto v4.0.0/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Mageplaza_LayeredNavigation/templates/layer | view.phtml | 2021-01-30 01:53:40 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 164 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | 1 | <?php | |||
| 2 | /** | 2 | /** | |||
| 3 | * Mageplaza | 3 | * Mageplaza | |||
| 4 | * | 4 | * | |||
| 5 | * NOTICE OF LICENSE | 5 | * NOTICE OF LICENSE | |||
| 6 | * | 6 | * | |||
| 7 | * This source file is subject to the Mageplaza.com license that is | 7 | * This source file is subject to the Mageplaza.com license that is | |||
| 8 | * available through the world-wide-web at this URL: | 8 | * available through the world-wide-web at this URL: | |||
| 9 | * https://www.mageplaza.com/LICENSE.txt | 9 | * https://www.mageplaza.com/LICENSE.txt | |||
| 10 | * | 10 | * | |||
| 11 | * DISCLAIMER | 11 | * DISCLAIMER | |||
| 12 | * | 12 | * | |||
| 13 | * Do not edit or add to this file if you wish to upgrade this extension to newer | 13 | * Do not edit or add to this file if you wish to upgrade this extension to newer | |||
| 14 | * version in the future. | 14 | * version in the future. | |||
| 15 | * | 15 | * | |||
| 16 | * @category Mageplaza | 16 | * @category Mageplaza | |||
| 17 | * @package Mageplaza_LayeredNavigation | 17 | * @package Mageplaza_LayeredNavigation | |||
| 18 | * @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/) | 18 | * @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/) | |||
| 19 | * @license https://www.mageplaza.com/LICENSE.txt | 19 | * @license https://www.mageplaza.com/LICENSE.txt | |||
| 20 | */ | 20 | */ | |||
| 21 | ?> | 21 | ?> | |||
| 22 | <?php if ($block->canShowBlock()): ?> | 22 | <?php if ($block->canShowBlock()): ?> | |||
| 23 | <?php | 23 | <?php | |||
| 24 | $filters = $block->getFilters(); | 24 | $filters = $block->getFilters(); | |||
| 25 | $layerConfig = $this->helper('Mageplaza\LayeredNavigation\Helper\Data')->getLayerConfiguration($filters); | 25 | $layerConfig = $this->helper('Mageplaza\LayeredNavigation\Helper\Data')->getLayerConfiguration($filters); | |||
| 26 | $filtered = count($block->getLayer()->getState()->getFilters()); | 26 | $filtered = count($block->getLayer()->getState()->getFilters()); | |||
| 27 | ?> | 27 | ?> | |||
| 28 | <div class="block filter" id="layered-filter-block" | 28 | <div class="block filter" id="layered-filter-block" | |||
| 29 | data-mage-init='{"collapsible":{"openedState": "active", "collapsible": true, "active": false, "collateral": { "openedState": "filter-active", "element": "body" } }}'> | 29 | data-mage-init='{"collapsible":{"openedState": "active", "collapsible": true, "active": false, "collateral": { "openedState": "filter-active", "element": "body" } }}'> | |||
| 30 | 30 | |||||
| 31 | <div id="ln_overlay" class="ln_overlay"> | 31 | <div id="ln_overlay" class="ln_overlay"> | |||
| 32 | <div class="loader"> | 32 | <div class="loader"> | |||
| 33 | <img src="<?php echo $block->getViewFileUrl('images/loader-1.gif'); ?>" alt="Loading..."> | 33 | <img src="<?php echo $block->getViewFileUrl('images/loader-1.gif'); ?>" alt="Loading..."> | |||
| 34 | </div> | 34 | </div> | |||
| 35 | </div> | 35 | </div> | |||
| 36 | 36 | |||||
| 37 | <div class="block-title filter-title" data-count="<?php /* @escapeNotVerified */ | 37 | <div class="block-title filter-title" data-count="<?php /* @escapeNotVerified */ | |||
| 38 | echo $filtered; ?>"> | 38 | echo $filtered; ?>"> | |||
| 39 | <strong data-role="title"><?php /* @escapeNotVerified */ | 39 | <strong data-role="title"><?php /* @escapeNotVerified */ | |||
| 40 | echo __('Shop By') ?></strong> | 40 | echo __('Shop By') ?></strong> | |||
| 41 | </div> | 41 | </div> | |||
| 42 | <div class="block-content filter-content" data-mage-init='{"mpLayer": <?php echo $layerConfig ?>}'> | 42 | <div class="block-content filter-content" data-mage-init='{"mpLayer": <?php echo $layerConfig ?>}'> | |||
| 43 | <?php echo $block->getChildHtml('state') ?> | 43 | <?php echo $block->getChildHtml('state') ?> | |||
| 44 | 44 | |||||
| 45 | <?php if ($block->getLayer()->getState()->getFilters()): ?> | 45 | <?php if ($block->getLayer()->getState()->getFilters()): ?> | |||
| 46 | <div class="block-actions filter-actions"> | 46 | <div class="block-actions filter-actions"> | |||
| 47 | <a href="<?php /* @escapeNotVerified */ | 47 | <a href="<?php /* @escapeNotVerified */ | |||
| 48 | echo $block->getClearUrl() ?>" | 48 | echo $block->getClearUrl() ?>" | |||
| 49 | class="action clear filter-clear"><span><?php /* @escapeNotVerified */ | 49 | class="action clear filter-clear"><span><?php /* @escapeNotVerified */ | |||
| 50 | echo __('Clear All') ?></span></a> | 50 | echo __('Clear All') ?></span></a> | |||
| 51 | </div> | 51 | </div> | |||
| 52 | <?php endif; ?> | 52 | <?php endif; ?> | |||
| 53 | 53 | |||||
| 54 | <?php $wrapOptions = false; ?> | 54 | <?php $wrapOptions = false; ?> | |||
| 55 | <?php foreach ($filters as $key => $filter): ?> | 55 | <?php foreach ($filters as $key => $filter): ?> | |||
| 56 | <?php if ($filter->getItemsCount() && $filter->getRequestVar() != 'cat'): ?> | 56 | <?php if ($filter->getItemsCount() && $filter->getRequestVar() != 'cat'): ?> | |||
| 57 | <?php if (!$wrapOptions): ?> | 57 | <?php if (!$wrapOptions): ?> | |||
| 58 | <strong role="heading" aria-level="2" class="block-subtitle filter-subtitle"><?php echo __('Shopping Options') ?></strong> | 58 | <strong role="heading" aria-level="2" class="block-subtitle filter-subtitle"><?php echo __('Shopping Options') ?></strong> | |||
| 59 | <div class="filter-options" id="narrow-by-list" data-role="content"> | 59 | <div class="filter-options" id="narrow-by-list" data-role="content"> | |||
| 60 | <?php $wrapOptions = true; endif; ?> | 60 | <?php $wrapOptions = true; endif; ?> | |||
| 61 | <?php $_class = $filter->getRequestVar() == 'cat' || $filter->getRequestVar() == 'size' || $filter->getRequestVar() == 'color' || $filter->getRequestVar() == 'price' ? 'active':'';?> | 61 | <?php $_class = $filter->getRequestVar() == 'cat' || $filter->getRequestVar() == 'size' || $filter->getRequestVar() == 'color' || $filter->getRequestVar() == 'price' ? 'active':'';?> | |||
| 62 | <div data-role="ln_collapsible" class="filter-options-item <?php echo $_class;?>" attribute="<?php echo $filter->getRequestVar() ?>"> | 62 | <div data-role="ln_collapsible" class="filter-options-item <?php echo $_class;?>" attribute="<?php echo $filter->getRequestVar() ?>"> | |||
| 63 | <div data-role="ln_title" class="filter-options-title | 63 | <div data-role="ln_title" class="filter-options-title "><?php /* @escapeNotVerified */ echo __($filter->getName()) ?><span class="toggle"></span></div> | |||
| 64 | <div data-role="ln_content" class="filter-options-content"><?php /* @escapeNotVerified */ echo $block->getChildBlock('renderer')->setFilter($filter)->render($filter); ?></div> | 64 | <div data-role="ln_content" class="filter-options-content"><?php /* @escapeNotVerified */ echo $block->getChildBlock('renderer')->setFilter($filter)->render($filter); ?></div> | |||
| 65 | </div> | 65 | </div> | |||
| 66 | <?php endif; ?> | 66 | <?php endif; ?> | |||
| 67 | <?php endforeach; ?> | 67 | <?php endforeach; ?> | |||
| 68 | <?php if ($wrapOptions): ?> | 68 | <?php if ($wrapOptions): ?> | |||
| 69 | </div> | 69 | </div> | |||
| 70 | <?php else: ?> | 70 | <?php else: ?> | |||
| 71 | <script> | 71 | <script> | |||
| 72 | require([ | 72 | require([ | |||
| 73 | 'jquery' | 73 | 'jquery' | |||
| 74 | ], function ($) { | 74 | ], function ($) { | |||
| 75 | $('#layered-filter-block').addClass('filter-no-options'); | 75 | $('#layered-filter-block').addClass('filter-no-options'); | |||
| 76 | }); | 76 | }); | |||
| 77 | </script> | 77 | </script> | |||
| 78 | <?php endif; ?> | 78 | <?php endif; ?> | |||
| 79 | 79 | |||||
| 80 | <?php echo $block->getChildHtml('layer_additional_info') ?> | 80 | <?php echo $block->getChildHtml('layer_additional_info') ?> | |||
| 81 | </div> | 81 | </div> | |||
| 82 | </div> | 82 | </div> | |||
| 83 | <?php endif; ?> | 83 | <?php endif; ?> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.