mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Improved body ID when Admin-UI is in use.
This commit is contained in:
@@ -451,7 +451,10 @@ if(deftrue('e_MENUMANAGER_ACTIVE'))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$body_onload .= " id=\"admin-".str_replace(".php","",e_PAGE)."\" ";
|
$bodyID = deftrue("e_CURRENT_PLUGIN") ? e_CURRENT_PLUGIN : str_replace(".php","",e_PAGE);
|
||||||
|
$bodyID .= (!empty($_GET['mode']) && !empty($_GET['action'])) ? "-".$_GET['mode'].'-'.$_GET['action'] : '';
|
||||||
|
$body_onload .= " id=\"admin-".e107::getForm()->name2id($bodyID)."\" ";
|
||||||
|
unset($bodyID);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user