add possibility to allow/disallow changing of themes; fixes #1175
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -37,6 +37,7 @@ return array (
|
||||
array (
|
||||
'url' => 'customer_index.php?page=change_theme',
|
||||
'label' => $lng['menue']['main']['changetheme'],
|
||||
'show_element' => (getSetting('panel', 'allow_theme_change_customer') == true)
|
||||
),
|
||||
array (
|
||||
'url' => 'customer_index.php?action=logout',
|
||||
@@ -166,6 +167,7 @@ return array (
|
||||
array (
|
||||
'url' => 'admin_index.php?page=change_theme',
|
||||
'label' => $lng['menue']['main']['changetheme'],
|
||||
'show_element' => (getSetting('panel', 'allow_theme_change_admin') == true)
|
||||
),
|
||||
array (
|
||||
'url' => 'admin_index.php?action=logout',
|
||||
|
||||
@@ -73,6 +73,6 @@ define('PACKAGE_ENABLED', 2);
|
||||
|
||||
// VERSION INFO
|
||||
|
||||
$version = '0.9.29-dev1';
|
||||
$version = '0.9.29-dev2';
|
||||
$dbversion = '2';
|
||||
$branding = '';
|
||||
|
||||
Reference in New Issue
Block a user