You've already forked joomla_test
first commit
This commit is contained in:
20
modules/mod_random_image/tmpl/default.php
Normal file
20
modules/mod_random_image/tmpl/default.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage mod_random_image
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
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>
|
1
modules/mod_random_image/tmpl/index.html
Normal file
1
modules/mod_random_image/tmpl/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
Reference in New Issue
Block a user