mirror of
https://github.com/e107inc/e107.git
synced 2025-08-22 06:03:27 +02:00
Moved all social prefs (login/xurls etc) into the "Social" plugin admin area. Extended admin-ui with renderHelp() method for adding a help panel from within the admin-ui.
This commit is contained in:
@@ -1541,8 +1541,8 @@ class e_admin_dispatcher
|
||||
*/
|
||||
function renderHelp()
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -4142,6 +4142,17 @@ class e_admin_ui extends e_admin_controller_ui
|
||||
$this->addTitle($this->pluginTitle, true)->parseAliases();
|
||||
|
||||
$this->initAdminAddons();
|
||||
|
||||
|
||||
if($help = $this->renderHelp())
|
||||
{
|
||||
if(!empty($help))
|
||||
{
|
||||
e107::setRegistry('core/e107/adminui/help',$help);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -5133,6 +5144,8 @@ class e_admin_ui extends e_admin_controller_ui
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* User defined after-update logic
|
||||
* @param $new_data
|
||||
|
Reference in New Issue
Block a user