mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-29 04:53:57 +02:00
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
This commit is contained in:
@@ -373,7 +373,6 @@ SELECT
|
||||
'mobile' => false,
|
||||
);
|
||||
$theme_data = implode('', file($path.'/themeconf.inc.php'));
|
||||
|
||||
if (preg_match("|Theme Name:\\s*(.+)|", $theme_data, $val))
|
||||
{
|
||||
$theme['name'] = trim( $val[1] );
|
||||
@@ -419,6 +418,10 @@ SELECT
|
||||
{
|
||||
$theme['mobile'] = get_boolean($val[1]);
|
||||
}
|
||||
if (preg_match('/["\']use_standard_pages["\'].*?(true|false)/i', $theme_data, $val))
|
||||
{
|
||||
$theme['use_standard_pages'] = get_boolean($val[1]);
|
||||
}
|
||||
|
||||
// screenshot
|
||||
$screenshot_path = $path.'/screenshot.png';
|
||||
|
||||
Reference in New Issue
Block a user