'default',
'name' => 'sobre',
'local_head' => 'local_head.tpl',
);
load_language('theme.lang', PHPWG_THEMES_PATH.'sobre/');
add_event_handler('loc_begin_page_header', 'set_sbre_header');
function set_sbre_header()
{
global $page, $conf, $template;
$config = unserialize($conf['Sobre']);
if (isset($page['body_id']) and $page['body_id'] == 'theCategoryPage')
{
$header = isset($page['category']) ? $config['categories'] : $config['home'];
}
elseif (isset($page['body_id']) and $page['body_id'] == 'thePicturePage')
{
$header = $config['picture'];
}
else
{
$header = $config['other'];
}
$template->assign('display_sbre_banner', $header);
}
// Affiche les cases à cocher derrière le nom de l'image
function DmCategoryThumbnail($tpl_var) {
foreach($tpl_var as $cle=>$valeur) {
$tpl_var[$cle]['NAME'] = ' '.$tpl_var[$cle]['NAME'];
}
return $tpl_var;
}
add_event_handler('blockmanager_prepare_display', 'add_rss_icon');
function add_rss_icon()
{
global $lang;
if (isset($lang['Notification'])) {
$lang['Notification'] .= '';
}
if (isset($lang['Notification RSS'])) {
$lang['Notification RSS'] .= '';
}
}
?>