106. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2023-03-13 03:00:45 +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.

106.1 Files compared

#LocationFileLast Modified
12023-03-13 03:00:45 +0000
2Porto v4.0.5/Porto Theme/app/code/Smartwave/Megamenu/view/frontend/templatessidebar_menu.phtml2023-02-27 02:21:29 +0000

106.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged00
Changed00
Inserted152
Removed00

106.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

106.4 Active regular expressions

No regular expressions were active.

106.5 Comparison detail

    1 <?php
    2 /**
    3  * Copyright © 2018 Porto. All rights reserved.
    4  */
    5 
    6 ?>
    7 <?php
    8 /**
    9  * Top menu for store
    10  *
    11  * @see \Smartwave\Megamenu\Block\Topmenu
    12  */
    13 ?>
    14 <?php
    15     $_helper = $this->helper('Smartwave\Megamenu\Helper\Data');
    16     $_config = $_helper->getConfig('sw_megamenu');
    17     $columnsLimit = 0;
    18     if($_config['general']['enable']) {
    19 ?>
    20 <?php $_menu = $block->getMegamenuHtml(); ?>
    21 <div class="sticky-sidenav sections nav-sections">
    22   <nav class="navigation sw-megamenu side-megamenu" role="navigation">
    23     <ul>
    24         <?php echo $_menu; ?>
    25     </ul>
    26   </nav>
    27 </div>
    28 <style>
    29 .sticky-sidenav {
    30     will-change: position,top,bottom,left;
    31     padding-bottom: 1px;
    32 }
    33 </style>
    34 <script type="text/javascript">
    35     require([
    36         'jquery',
    37         'themeSticky',
    38         'Smartwave_Megamenu/js/sw_megamenu'
    39     ], function ($) {
    40         $(".sw-megamenu").swMegamenu();
    41         $(".sidebar-nav .sticky-sidenav").themeSticky({
    42           autoInit: true,
    43           minWidth: 992,
    44           containerSelector: '.page-main .page-main-inner',
    45           autoFit: true,
    46           paddingOffsetBottom: 10
    47         });
    48     });
    49 </script>
    50 <?php
    51     }
    52 ?>