297. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2021-05-13 09:09:06 +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.

297.1 Files compared

#LocationFileLast Modified
12021-05-13 09:09:06 +0000
2/Applications/Ampps/www/Porto v4.0.0/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Smartwave_Porto/templates/htmlheader_custom_block_menu.phtml2021-04-09 01:14:36 +0000

297.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged00
Changed00
Inserted117
Removed00

297.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

297.4 Active regular expressions

No regular expressions were active.

297.5 Comparison detail

    1 <?php
    2   $_helper = $this->helper('Smartwave\Porto\Helper\Data');
    3   $header_type = $this->getConfig('porto_settings/header/header_type');
    4   if($header_type == 14) {
    5     $static_block_id = $this->getConfig('porto_settings/header/header14_block');
    6   }
    7   if($header_type == 15) {
    8     $static_block_id = $this->getConfig('porto_settings/header/header15_block');
    9   }
    10   $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block');
    11   if($block && $static_block_id) {
    12       $block->setBlockId($static_block_id);
    13   }
    14   if($block && $static_block_id){
    15       echo $block->toHtml();
    16   }
    17 ?>