Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove php short open tag #1279

Merged
merged 1 commit into from Oct 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -36,7 +36,7 @@
<ol class="mini-products-images-list" id="widget-new-products-<?php echo $suffix; ?>">
<?php foreach ($_products->getItems() as $_product): ?>
<li class="item">
<? $_imgSize = 310; // Images will be displayed at roughly this size when viewed at less than the medium breakpoint ?>
<?php $_imgSize = 310; // Images will be displayed at roughly this size when viewed at less than the medium breakpoint ?>
<a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgSize) ?>" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
</li>
<?php endforeach; ?>
Expand Down
Expand Up @@ -35,7 +35,7 @@
<ol class="mini-products-images-list" id="widget-compared-<?php echo $suffix; ?>">
<?php $i=0; foreach ($_products as $_product): ?>
<li class="item">
<? $_imgSize = 310; // Images will be displayed at roughly this size when viewed at less than the medium breakpoint ?>
<?php $_imgSize = 310; // Images will be displayed at roughly this size when viewed at less than the medium breakpoint ?>
<a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize($_imgSize) ?>" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
</li>
<?php endforeach; ?>
Expand Down
Expand Up @@ -40,7 +40,7 @@
<ol class="mini-products-images-list" id="widget-viewed-<?php echo $suffix; ?>">
<?php foreach ($_products as $_product): ?>
<li class="item">
<? $_imgSize = 310; // Images will be displayed at roughly this size when viewed at less than the medium breakpoint ?>
<?php $_imgSize = 310; // Images will be displayed at roughly this size when viewed at less than the medium breakpoint ?>
<a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgSize) ?>" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
</li>
<?php endforeach; ?>
Expand Down