11 lines
373 B
PHP
11 lines
373 B
PHP
|
|
<?php // no direct access
|
||
|
|
defined('_JEXEC') or die('Restricted access'); ?>
|
||
|
|
<div align="center">
|
||
|
|
<?php if ($link) : ?>
|
||
|
|
<a href="<?php echo $link; ?>" target="_self">
|
||
|
|
<?php endif; ?>
|
||
|
|
<?php echo JHTML::_('image', $image->folder.'/'.$image->name, $image->name, array('width' => $image->width, 'height' => $image->height)); ?>
|
||
|
|
<?php if ($link) : ?>
|
||
|
|
</a>
|
||
|
|
<?php endif; ?>
|
||
|
|
</div>
|