diff options
author | Andrew Dolgov <[email protected]> | 2018-12-04 15:33:20 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-04 15:33:20 +0300 |
commit | f81df37c3678ef9bf14c3a8ca9be1e26d3099822 (patch) | |
tree | 5c4e590193b822221876dbe15fe2e2fe4780cd45 /classes/pref/prefs.php | |
parent | 0880100f6aa23ee5922cc70495017b45416b8cdc (diff) |
wrap plugin list into border container, like prefs (2)
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r-- | classes/pref/prefs.php | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index d952612ba..161b0acb6 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -680,12 +680,6 @@ class Pref_Prefs extends Handler_Protected { print "</div>"; #pane print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Plugins')."\">"; - print '<div dojoType="dijit.layout.BorderContainer" gutters="false">'; - print '<div dojoType="dijit.layout.ContentPane" region="center" style="overflow-y : auto">'; - - if (ini_get("open_basedir") && function_exists("curl_init") && !defined("NO_CURL")) { - print_warning("Your PHP configuration has open_basedir restrictions enabled. Some plugins relying on CURL for functionality may not work correctly."); - } print "<form dojoType=\"dijit.form.Form\" id=\"changePluginsForm\">"; @@ -709,6 +703,13 @@ class Pref_Prefs extends Handler_Protected { print_hidden("op", "pref-prefs"); print_hidden("method", "setplugins"); + print '<div dojoType="dijit.layout.BorderContainer" gutters="false">'; + print '<div dojoType="dijit.layout.ContentPane" region="center" style="overflow-y : auto">'; + + if (ini_get("open_basedir") && function_exists("curl_init") && !defined("NO_CURL")) { + print_warning("Your PHP configuration has open_basedir restrictions enabled. Some plugins relying on CURL for functionality may not work correctly."); + } + print "<table width='100%' class='prefPluginsList'>"; print "<tr><td colspan='5'><h2>".__("System plugins")."</h2>". @@ -835,8 +836,6 @@ class Pref_Prefs extends Handler_Protected { //print "<p>" . __("You will need to reload Tiny Tiny RSS for plugin changes to take effect.") . "</p>"; - print "</form>"; - print "</div>"; #content-pane print '<div dojoType="dijit.layout.ContentPane" region="bottom">'; print "<button dojoType=\"dijit.form.Button\" type=\"submit\">". @@ -846,6 +845,8 @@ class Pref_Prefs extends Handler_Protected { print "</div>"; #pane print "</doiv>"; #border-container + print "</form>"; + PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB, "hook_prefs_tab", "prefPrefs"); |