Produced by Araxis Merge on 2023-03-13 03:01: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 | Porto v4.0.4/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/category | description.phtml | 2015-09-30 16:40:16 +0000 |
| 2 | Porto v4.0.5/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/category | description.phtml | 2023-03-06 04:46:28 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 48 |
| Changed | 0 | 0 |
| Inserted | 1 | 16 |
| 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 | * Copyright © 2015 Magento. All rights reserved. | 3 | * Copyright © 2015 Magento. All rights reserved. | |||
| 4 | * See COPYING.txt for license details. | 4 | * See COPYING.txt for license details. | |||
| 5 | */ | 5 | */ | |||
| 6 | 6 | |||||
| 7 | // @codingStandardsIgnoreFile | 7 | // @codingStandardsIgnoreFile | |||
| 8 | 8 | |||||
| 9 | ?> | 9 | ?> | |||
| 10 | <?php | 10 | <?php | |||
| 11 | /** | 11 | /** | |||
| 12 | * Category view template | 12 | * Category view template | |||
| 13 | * | 13 | * | |||
| 14 | * @var $block \Magento\Catalog\Block\Category\View | 14 | * @var $block \Magento\Catalog\Block\Category\View | |||
| 15 | */ | 15 | */ | |||
| 16 | ?> | 16 | ?> | |||
| 17 | <?php | 17 | <?php | |||
| 18 | $_category_desc = $this->helper('Smartwave\Porto\Helper\Data')->getConfig('porto_settings/category/category_description'); | 18 | $_category_desc = $this->helper('Smartwave\Porto\Helper\Data')->getConfig('porto_settings/category/category_description'); | |||
| 19 | ?> | 19 | ?> | |||
| 20 | <?php if (!$_category_desc && $_description = $block->getCurrentCategory()->getDescription()): ?> | 20 | <?php if (!$_category_desc && $_description = $block->getCurrentCategory()->getDescription()): ?> | |||
| 21 | <div class="category-description"> | 21 | <div class="category-description"> | |||
| 22 | <?php echo $this->helper('Magento\Catalog\Helper\Output')->categoryAttribute($block->getCurrentCategory(), $_description, 'description') ?> | 22 | <?php echo $this->helper('Magento\Catalog\Helper\Output')->categoryAttribute($block->getCurrentCategory(), $_description, 'description') ?> | |||
| 23 | </div> | 23 | </div> | |||
| 24 | <script type="text/javascript"> | |||||
| 25 | require([ | |||||
| 26 | 'jquery' | |||||
| 27 | ], function ($) { | |||||
| 28 | var resizeDesc = function(){ | |||||
| 29 | var $d_h = $('.page-wrapper .category-description').height(); | |||||
| 30 | $('body:not(.cms-index-index) .page-wrapper > .breadcrumbs + .page-main > .page-main-inner > .sidebar-nav').css({ | |||||
| 31 | 'margin-top': -$d_h | |||||
| 32 | }); | |||||
| 33 | } | |||||
| 34 | resizeDesc(); | |||||
| 35 | $(window).resize(function(){ | |||||
| 36 | resizeDesc(); | |||||
| 37 | }); | |||||
| 38 | }); | |||||
| 39 | </script> | |||||
| 24 | <?php endif; ?> | 40 | <?php endif; ?> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.