Skip to content

Commit

Permalink
feature 1502: Configuration menu is selected when theme configuration…
Browse files Browse the repository at this point in the history
… page is selected.

Remove useless global $page.

git-svn-id: http://piwigo.org/svn/trunk@5448 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
patdenice committed Mar 29, 2010
1 parent 29d36ff commit 6024107
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions admin/include/functions.php
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion include/template.class.php
Expand Up @@ -576,7 +576,7 @@ static function prefilter_local_css($source, &$smarty)

function load_themeconf($dir)
{
global $themeconfs, $conf, $page;
global $themeconfs, $conf;

$dir = realpath($dir);
if (!isset($themeconfs[$dir]))
Expand Down

0 comments on commit 6024107

Please sign in to comment.