grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026 * * This gives template designers ultimate control over how modules are rendered. * * NOTICE: All chrome wrapping methods should be named: modChrome_{STYLE} and take the same * three arguments. */ /* * Default Module Chrome that has sematic markup and has best SEO support */ function modChrome_T3Xhtml($module, &$params, &$attribs) { $badge = preg_match ('/badge/', $params->get('moduleclass_sfx'))? ' ' : ''; $moduleTag = htmlspecialchars($params->get('module_tag', 'div')); $headerTag = htmlspecialchars($params->get('header_tag', 'h3')); $headerClass = $params->get('header_class'); $bootstrapSize = $params->get('bootstrap_size'); $moduleClass = !empty($bootstrapSize) ? ' col-sm-' . (int) $bootstrapSize . '' : ''; $moduleClassSfx = htmlspecialchars($params->get('moduleclass_sfx')); if (!empty ($module->content)) { $html = "<{$moduleTag} class=\"t3-module module{$moduleClassSfx} {$moduleClass}\" id=\"Mod{$module->id}\">" . "
" . $badge; if ($module->showtitle != 0) { if ($module->showtitle != 0) { $title = explode(':', trim($module->title)); } if(count($title) == 2) { $html .= "<{$headerTag} class=\"module-title {$headerClass}\">"; $html .= "{$title[0]}"; $html .= "{$title[1]}"; $html .= ""; } else { $html .= "<{$headerTag} class=\"module-title {$headerClass}\">{$module->title}"; } } $html .= "
{$module->content}
"; echo $html; } } function modChrome_t3tabs($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 echo ''; echo '
'; $counter = 0; // modulecontent foreach($modules as $rendermodule) { $counter ++; echo '
'; echo $rendermodule->content; echo '
'; } echo '
'; echo ''; $modulecount--; } else { $temp = new stdClass; $temp->content = $module->content; $temp->params = $module->params; $temp->title = $module->title; $temp->id = $module->id; $modules[] = $temp; $modulecount--; } } function modChrome_t3slider($module, &$params, &$attribs) { $badge = preg_match ('/badge/', $params->get('moduleclass_sfx'))?" \n":""; $headerLevel = isset($attribs['headerLevel']) ? (int) $attribs['headerLevel'] : 3; ?>
content; ?>
content)) : ?>
>title; ?>>
get('moduleclass_sfx'))?"":""; $headerLevel = isset($attribs['headerLevel']) ? (int) $attribs['headerLevel'] : 3; if (!empty ($module->content)) : ?>
>title; ?>>
title))); $subtitlekey = 'TPL_SUBTITLE_'.$key; $subtitle = JText::_($subtitlekey); $menuid = strtolower(str_replace (' ', '_', stripslashes($module->title))); if($lang->isRTL() == 1){ $menuid = 'page-'.$module->id; }else{ $menuid = strtolower(str_replace (' ', '_', stripslashes($module->title))); } ?>
showtitle != 0) : ?>

title; ?>

content; ?>
title)); $acronym = ""; $first_letter = trim($module->title); preg_replace('/(\B.|\s+)/','',$first_letter); $first_letter = strtoupper( substr($first_letter,0,1)); $headerTag = htmlspecialchars($params->get('header_tag', 'h3')); $headerClass = $params->get('header_class'); $menuid = strtolower(str_replace (' ', '_', stripslashes($module->title))); if($lang->isRTL() == 1){ $menuid = 'page-'.$module->id; }else{ $menuid = strtolower(str_replace (' ', '_', stripslashes($module->title))); } ?>
showtitle != 0) : ?> "; $html .="<{$headerTag} class=\"module-title {$headerClass}\">"; // $html .="{$first_letter}"; $html .=$module->title; $html .=""; $html .='
';?>
content; ?>