File "default.php"
Full Path: /home/asmplong/www/ancien-site-2019/site/modules/mod_random_image/tmpl/default.php
File size: 672 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* @version $Id: default.php 21020 2011-03-27 06:52:01Z infograf768 $
* @package Joomla.Site
* @subpackage mod_random_image
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
?>
<div class="random-image<?php echo $moduleclass_sfx ?>">
<?php if ($link) : ?>
<a href="<?php echo $link; ?>">
<?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>