246. Araxis Merge File Comparison Report

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

246.1 Files compared

#LocationFileLast Modified
1Porto v4.0.4/Porto Theme/app/design/frontend/Smartwave/porto/Smartwave_Porto/templates/htmlheader_custom_block.phtml2021-01-09 04:14:48 +0000
2Porto v4.0.5/Porto Theme/app/design/frontend/Smartwave/porto/Smartwave_Porto/templates/htmlheader_custom_block.phtml2021-01-09 04:14:48 +0000

246.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged120
Changed00
Inserted00
Removed00

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

246.4 Active regular expressions

No regular expressions were active.

246.5 Comparison detail

1 <?php 1 <?php
2     $static_block_id = $this->getConfig('porto_settings/header/static_block'); 2     $static_block_id = $this->getConfig('porto_settings/header/static_block');
3     $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block'); 3     $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block');
4     if($block) { 4     if($block) {
5         $block->setBlockId($static_block_id); 5         $block->setBlockId($static_block_id);
6     } 6     }
7     if($block){ 7     if($block){
8         echo '<div class="custom-block">'.$block->toHtml().'</div>'; 8         echo '<div class="custom-block">'.$block->toHtml().'</div>';
9     } 9     }
10 ?> 10 ?>