File "default.php"
Full Path: /home/asmplong/www/ancien-site-2019/poc/modules/mod_random_image/tmpl/default.php
File size: 373 bytes
MIME-type: text/x-php
Charset: utf-8
<?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>