- md5
- 851374aa35b74779fcf07f213a1400f8
- sha1
- 3a2c36f25e8e436da7ce33ceb8c3b461c9b65c07
- sha256
- cb174e0b7842d33a65da1114fe4a82b5dbef5b5dc3df0ce43fd5891ae44fb966
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
<?php
/**
* @version
* @package Joomla.Site
* @subpackage tpl_beez2
* @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;
/**
* beezDivision chrome.
*
* @since 1.6
*/
function modChrome_beezDivision($module, &$params, &$attribs)
{
$headerLevel = isset($attribs['headerLevel']) ? (int) $attribs['headerLevel'] : 3;
if (!empty ($module->content)) { ?>
<div class="moduletable<?php echo htmlspecialchars($params->get('moduleclass_sfx')); ?>">
<?php if ($module->showtitle) { ?> <h<?php echo $headerLevel; ?>><span
class="backh"><span class="backh2"><span class="backh3"><?php echo $module->title; ?></span></span></span></h<?php echo $headerLevel; ?>>
<?php }; ?> <?php echo $module->content; ?></div>
<?php };
}
/**
* beezHide chrome.
*
* @since 1.6
*/
function modChrome_beezHide($module, &$params, &$attribs)
{
$headerLevel = isset($attribs['headerLevel']) ? (int) $attribs['headerLevel'] : 3;
$state=isset($attribs['state']) ? (int) $attribs['state'] :0;
if (!empty ($module->content)) { ?>
<div
class="moduletable_js <?php echo htmlspecialchars($params->get('moduleclass_sfx'));?>"><?php if ($module->showtitle) : ?>
<h<?php echo $headerLevel; ?> class="js_heading"><span class="backh"> <span
class="backh1"><?php echo $module->title; ?> <a href="#"
title="<?php echo JText::_('TPL_BEEZ5_CLICK'); ?>"
onclick="auf('module_<?php echo $module->id; ?>'); return false"
class="opencloselink" id="link_<?php echo $module->id?>"> <span
class="no"><img src="templates/beez_20/images/plus.png"
alt="<?php if ($state == 1) { echo JText::_('TPL_BEEZ5_ISOPEN');} else {echo JText::_('TPL_BEEZ5_ISCLOSED');} ?>" />
</span></a></span></span></h<?php echo $headerLevel; ?>> <?php endif; ?>
<div class="module_content <?php if ($state==1){echo "open";} ?>"
id="module_<?php echo $module->id; ?>" tabindex="-1"><?php echo $module->content; ?></div>
</div>
<?php }
}
/**
* beezTabs chrome.
*
* @since 1.6
*/
function modChrome_beezTabs($module, $params, $attribs)
{
$area = isset($attribs['id']) ? (int) $attribs['id'] :'1';
$area = 'area-'.$area;
static $modulecount;
static $modules;
if ($modulecount < 1) {
$modulecount = count(JModuleHelper::getModules($attribs['name']));
$modules = array();
}
if ($modulecount == 1) {
$temp = new stdClass();
$temp->content = $module->content;
$temp->title = $module->title;
$temp->params = $module->params;
$temp->id=$module->id;
$modules[] = $temp;
// list of moduletitles
// list of moduletitles
echo '<div id="'. $area.'" class="tabouter"><ul class="tabs">';
foreach($modules as $rendermodule) {
echo '<li class="tab"><a href="#" id="link_'.$rendermodule->id.'" class="linkopen" onclick="tabshow(\'module_'. $rendermodule->id.'\');return false">'.$rendermodule->title.'</a></li>';
}
echo '</ul>';
$counter=0;
// modulecontent
foreach($modules as $rendermodule) {
$counter ++;
echo '<div tabindex="-1" class="tabcontent tabopen" id="module_'.$rendermodule->id.'">';
echo $rendermodule->content;
if ($counter!= count($modules))
{
echo '<a href="#" class="unseen" onclick="nexttab(\'module_'. $rendermodule->id.'\');return false;" id="next_'.$rendermodule->id.'">'.JText::_('TPL_BEEZ2_NEXTTAB').'</a>';
}
echo '</div>';
}
$modulecount--;
echo '</div>';
} else {
$temp = new stdClass();
$temp->content = $module->content;
$temp->params = $module->params;
$temp->title = $module->title;
$temp->id = $module->id;
$modules[] = $temp;
$modulecount--;
}
}
No other release has this exact content. See every version of this file.