mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Merge pull request #4275 from Jimmi08/patch-4
example for render help new way
This commit is contained in:
@@ -304,6 +304,16 @@ class plugin_blank_admin_ui extends e_admin_ui
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// left-panel help menu area. (replaces e_help.php used in old plugins)
|
||||||
|
public function renderHelp()
|
||||||
|
{
|
||||||
|
$caption = LAN_HELP;
|
||||||
|
$text = 'Some help text';
|
||||||
|
|
||||||
|
return array('caption'=> $caption,'text'=> $text);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function beforePrefsSave($new_data, $old_data)
|
public function beforePrefsSave($new_data, $old_data)
|
||||||
{
|
{
|
||||||
// return $new_data;
|
// return $new_data;
|
||||||
|
Reference in New Issue
Block a user