Produced by Araxis Merge on 2024-03-04 14:38:49 +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 | /Users/coca/Documents/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme v4.0.7/app/design/frontend/Smartwave/porto/Magefan_Blog/templates | recent_home.phtml | 2021-03-17 06:06:32 +0000 |
| 2 | /Users/coca/Documents/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme v4.0.8/app/design/frontend/Smartwave/porto/Magefan_Blog/templates | recent_home.phtml | 2024-03-01 08:50:46 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 102 |
| Changed | 2 | 4 |
| 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 | * Copyright © 2015 Ihor Vansach (ihor@magefan.com). All rights reserved. | 3 | * Copyright © 2015 Ihor Vansach (ihor@magefan.com). All rights reserved. | |||
| 4 | * See LICENSE.txt for license details (http://opensource.org/licenses/osl-3.0.php). | 4 | * See LICENSE.txt for license details (http://opensource.org/licenses/osl-3.0.php). | |||
| 5 | * | 5 | * | |||
| 6 | * Glory to Ukraine! Glory to the heroes! | 6 | * Glory to Ukraine! Glory to the heroes! | |||
| 7 | */ | 7 | */ | |||
| 8 | ?> | 8 | ?> | |||
| 9 | <?php | 9 | <?php | |||
| 10 | /** | 10 | /** | |||
| 11 | * Blog sidebar recent posts template | 11 | * Blog sidebar recent posts template | |||
| 12 | * | 12 | * | |||
| 13 | * @var $block \Magefan\Blog\Block\Sidebar\Recent | 13 | * @var $block \Magefan\Blog\Block\Sidebar\Recent | |||
| 14 | */ | 14 | */ | |||
| 15 | ?> | 15 | ?> | |||
| 16 | 16 | |||||
| 17 | <?php | 17 | <?php | |||
| 18 | » $_postCollection = $block->getPostCollection(); | 18 | » $_postCollection = $block->getPostCollection(); | |||
| 19 | ?> | 19 | ?> | |||
| 20 | <?php if ($_postCollection->count()) { ?> | 20 | <?php if ($_postCollection->count()) { ?> | |||
| 21 | » <?php foreach ($_postCollection as $_post) { ?> | 21 | » <?php foreach ($_postCollection as $_post) { ?> | |||
| 22 | » » <?php $post_date = $_post->getData("publish_time");?> | 22 | » » <?php $post_date = $_post->getData("publish_time");?> | |||
| 23 | » » <div class="post-slide"> | 23 | » » <div class="post-slide"> | |||
| 24 | » » <div class="post-item post-title-simple | 24 | » » <div class="post-item post-title-simple <?php echo $this->getData("extra_class")?$this->getData("extra_class"):'';?>"> | |||
| 25 | » » » » <?php if($post_image = $_post->getFeaturedImage()): ?> | 25 | » » » » <?php if($post_image = $_post->getFeaturedImage()): ?> | |||
| 26 | » » <a href="<?php echo $_post->getPostUrl() ?>" class="m-b-md d-block | 26 | » » <a href="<?php echo $_post->getPostUrl() ?>" class="m-b-md d-block img-thumbnail"> | |||
| 27 | » » » » » <img src="<?php echo $post_image; ?>" alt=""/> | 27 | » » » » » <img src="<?php echo $post_image; ?>" alt=""/> | |||
| 28 | » » </a> | 28 | » » </a> | |||
| 29 | » » » » <?php endif; ?> | 29 | » » » » <?php endif; ?> | |||
| 30 | » » » » <div class="post-content"> | 30 | » » » » <div class="post-content"> | |||
| 31 | » » » <div class="post-date"> | 31 | » » » <div class="post-date"> | |||
| 32 | » » » » » » <span class="day"><?php echo date("j", strtotime($post_date)); ?></span> | 32 | » » » » » » <span class="day"><?php echo date("j", strtotime($post_date)); ?></span> | |||
| 33 | » » » » » » <span class="month"><?php echo date("M", strtotime($post_date)); ?></span> | 33 | » » » » » » <span class="month"><?php echo date("M", strtotime($post_date)); ?></span> | |||
| 34 | » » » » » » <time><?php echo date("M j, Y", strtotime($post_date)); ?></time> | 34 | » » » » » » <time><?php echo date("M j, Y", strtotime($post_date)); ?></time> | |||
| 35 | » » » » » </div> | 35 | » » » » » </div> | |||
| 36 | » » » <h4><a href="<?php echo $_post->getPostUrl() ?>" ><?php echo $block->escapeHtml($_post->getTitle()) ?></a></h4> | 36 | » » » <h4><a href="<?php echo $_post->getPostUrl() ?>" ><?php echo $block->escapeHtml($_post->getTitle()) ?></a></h4> | |||
| 37 | » » » » » <div class="post-meta m-b-sm d-none"><?php echo date("M j, Y", strtotime($post_date)); ?></div> | 37 | » » » » » <div class="post-meta m-b-sm d-none"><?php echo date("M j, Y", strtotime($post_date)); ?></div> | |||
| 38 | » » » <div> | 38 | » » » <div> | |||
| 39 | » » » » » » <?php if($_post->getShortContent()):?> | 39 | » » » » » » <?php if($_post->getShortContent()):?> | |||
| 40 | » » » » <p class="post-excerpt"> | 40 | » » » » <p class="post-excerpt"> | |||
| 41 | » » » » » » » » <?php | 41 | » » » » » » » » <?php | |||
| 42 | » » » » » » » » $length = 88; | 42 | » » » » » » » » $length = 88; | |||
| 43 | » » » » » » » » $shortContent = $_post->getShortContent(); | 43 | » » » » » » » » $shortContent = $_post->getShortContent(); | |||
| 44 | » » » » » » » » echo $shortContent = (strlen($shortContent) > $length) ? substr($shortContent,0,$length).'...' : $shortContent;?> | 44 | » » » » » » » » echo $shortContent = (strlen($shortContent) > $length) ? substr($shortContent,0,$length).'...' : $shortContent;?> | |||
| 45 | » » » » <a class="read-more" href="<?php echo $_post->getPostUrl() ?>"><?php echo __("read more");?> <i class="fas fa-angle-right"></i></a> | 45 | » » » » <a class="read-more" href="<?php echo $_post->getPostUrl() ?>"><?php echo __("read more");?> <i class="fas fa-angle-right"></i></a> | |||
| 46 | » » » » </p> | 46 | » » » » </p> | |||
| 47 | » » » » » » <?php endif;?> | 47 | » » » » » » <?php endif;?> | |||
| 48 | » » » </div> | 48 | » » » </div> | |||
| 49 | » » » » </div> | 49 | » » » » </div> | |||
| 50 | » » </div> | 50 | » » </div> | |||
| 51 | » » </div> | 51 | » » </div> | |||
| 52 | » <?php } ?> | 52 | » <?php } ?> | |||
| 53 | <?php } ?> | 53 | <?php } ?> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.