mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
27caef885e
add skins and screenshots for skins add admin tpl and css update stdPgs tpl to have dynamic header section
29 lines
812 B
PHP
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', ''),
|
|
)
|
|
);
|
|
}
|
|
|
|
?>
|