- md5
- 0e3a7ef934b93395a23ee00f3ebbc64a
- sha1
- 3a0f8de86ae3f5fb3ccfeffd479172419bc0699b
- sha256
- f7bfeeff4e57f9263a1c7259600b49a7470351d0498200afbed5784cb6037ce5
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
<?php
/**
* @version $Id: modules.php 20221 2011-01-09 22:21:00Z eddieajau $
* @package Joomla.Administrator
* @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;
/*
* none (output raw module content)
*/
function modChrome_none($module, &$params, &$attribs)
{
echo $module->content;
}
/*
* xhtml (divs and font header tags)
*/
function modChrome_xhtml($module, &$params, &$attribs)
{
if (!empty ($module->content)) : ?>
<div class="module<?php echo htmlspecialchars($params->get('moduleclass_sfx')); ?>">
<?php if ($module->showtitle != 0) : ?>
<h3><?php echo $module->title; ?></h3>
<?php endif; ?>
<?php echo $module->content; ?>
</div>
<?php endif;
}
/*
* allows for rounded corners
*/
function modChrome_sliders($module, &$params, &$attribs)
{
// Initialise variables.
$user = JFactory::getUser();
$editAllComponents = $user->authorise('core.manage', 'com_installer');
// special handling for components module
if ($module->module != 'mod_components' || ($module->module == 'mod_components' && $editAllComponents)) {
echo JHtml::_('sliders.panel',JText::_($module->title), 'module' . $module->id);
echo $module->content;
}
}
/*
* allows for rounded corners
*/
function modChrome_tabs($module, &$params, &$attribs)
{
// Initialise variables.
$user = JFactory::getUser();
$editAllComponents = $user->authorise('core.manage', 'com_installer');
// special handling for components module
if ($module->module != 'mod_components' || ($module->module == 'mod_components' && $editAllComponents)) {
echo JHtml::_('tabs.panel', JText::_($module->title), 'module' . $module->id);
echo $module->content;
}
}
?>
No other release has this exact content. See every version of this file.