Skip to content

Commit

Permalink
Merge pull request #9673 from pe7er/clickable-intro-image-featured-ar…
Browse files Browse the repository at this point in the history
…ticles

Clickable Intro Image of Featured Articles
  • Loading branch information
rdeutz committed Apr 12, 2016
2 parents ad74f03 + f2b967a commit c97a2b7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions components/com_content/views/featured/tmpl/default_item.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,7 @@
<?php endif; ?>

<?php if (isset($images->image_intro) && !empty($images->image_intro)) : ?>
<?php $imgfloat = (empty($images->float_intro)) ? $params->get('float_intro') : $images->float_intro; ?>
<div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"> <img
<?php if ($images->image_intro_caption):
echo 'class="caption"' . ' title="' . htmlspecialchars($images->image_intro_caption) . '"';
endif; ?>
src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/> </div>
<?php echo JLayoutHelper::render('joomla.content.intro_image', $this->item); ?>
<?php endif; ?>

<?php if (!$params->get('show_intro')) : ?>
Expand Down

0 comments on commit c97a2b7

Please sign in to comment.