CoreFiles by mySites.guru
default.php20 lines, 603 bytes, from Joomla_2.5.21-Stable-Full_Package.zip
Raw History Compare with 2.5.20
md5
e2754f667a2bdac545dc9f8ed67144eb
sha1
5eadbf690fbd6451cc6991bae5e63fa65f2c6ca5
sha256
de0e80f798be0efab409927a2397f3e551c391531e815194b36851d81d6fcc1f
<?php
/**
 * @package		Joomla.Site
 * @subpackage	mod_random_image
 * @copyright	Copyright (C) 2005 - 2014 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>

The same content is in 11 releases, Joomla 2.5.18 to 2.5.28. See them all, or every version of this file.