mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
feature 1502: Configuration menu is selected when theme configuration page is selected.
Remove useless global $page. git-svn-id: http://piwigo.org/svn/trunk@5448 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -1949,6 +1949,7 @@ function get_active_menu($menu_page)
|
||||
case 'menubar':
|
||||
case 'themes_new':
|
||||
case 'themes_installed':
|
||||
case 'theme':
|
||||
case 'languages_installed':
|
||||
return 5;
|
||||
}
|
||||
|
||||
@@ -576,7 +576,7 @@ class Template {
|
||||
|
||||
function load_themeconf($dir)
|
||||
{
|
||||
global $themeconfs, $conf, $page;
|
||||
global $themeconfs, $conf;
|
||||
|
||||
$dir = realpath($dir);
|
||||
if (!isset($themeconfs[$dir]))
|
||||
|
||||
Reference in New Issue
Block a user