bug 3110: AdminTools DOM misplaced on admin
git-svn-id: http://piwigo.org/svn/trunk@29197 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
12fc034d82
commit
8790cdb69c
2 changed files with 7 additions and 2 deletions
|
|
@ -207,7 +207,11 @@ function admintools_add_admin_controller()
|
|||
{
|
||||
switch_lang_back();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function admintools_add_admin_controller_setprefilter()
|
||||
{
|
||||
global $template;
|
||||
$template->set_prefilter('header', 'admintools_admin_prefilter');
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,8 @@ if (!defined('IN_ADMIN'))
|
|||
}
|
||||
else
|
||||
{
|
||||
add_event_handler('loc_begin_page_header', 'admintools_add_admin_controller');
|
||||
add_event_handler('loc_begin_page_header', 'admintools_add_admin_controller_setprefilter');
|
||||
add_event_handler('loc_after_page_header', 'admintools_add_admin_controller');
|
||||
add_event_handler('get_admin_plugin_menu_links', 'admintools_admin_link');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue