diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/admin/components/plugin_settings.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/views/default/admin/components/plugin_settings.php b/views/default/admin/components/plugin_settings.php index 6feb78725..c2801cec3 100644 --- a/views/default/admin/components/plugin_settings.php +++ b/views/default/admin/components/plugin_settings.php @@ -11,12 +11,15 @@ $plugin = $vars['plugin']; $plugin_id = $plugin->getID(); +// required for plugin settings backward compatibility +$vars['entity'] = $plugin; + if (elgg_view_exists("settings/$plugin_id/edit")) { - + $title = $plugin->manifest->getName(); - + $params = array('id' => "$plugin_id-settings"); $body = elgg_view_form("plugins/settings/save", $params, $vars); - + echo elgg_view_module('info', $title, $body); }
\ No newline at end of file |