Files
HWFord 27caef885e fixes #2486 add stdPgs config tab in admin
add skins and screenshots for skins
add admin tpl and css
update stdPgs tpl to have dynamic header section
2025-12-19 16:05:24 +01:00

29 lines
812 B
PHP

<?php
$themeconf = array(
'name' => 'standard_pages',
'parent' => 'default',
'load_parent_css' => false,
'img_dir' => 'themes/standard_pages/images',
);
//send stantard pages conf options to tpl
$this->assign(
array(
'STD_PGS_SELECTED_SKIN' => conf_get_param('standard_pages_selected_skin', 'default'),
'STD_PGS_SELECTED_LOGO' => conf_get_param('standard_pages_selected_logo', 'piwigo_logo'),
'GALLERY_TITLE' => isset($page['gallery_title']) ? $page['gallery_title'] : $conf['gallery_title'],
)
);
//Send custom logo path if custom_logo is the selected option
if ('custom_logo' == conf_get_param('standard_pages_selected_logo', 'piwigo_logo'))
{
$this->assign(
array(
'STD_PGS_SELECTED_LOGO_PATH' => conf_get_param('standard_pages_selected_logo_path', ''),
)
);
}
?>