aboutsummaryrefslogtreecommitdiffstats
path: root/etherpad/src/etherpad/control/admin/pluginmanager.js
diff options
context:
space:
mode:
Diffstat (limited to 'etherpad/src/etherpad/control/admin/pluginmanager.js')
-rw-r--r--etherpad/src/etherpad/control/admin/pluginmanager.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/etherpad/src/etherpad/control/admin/pluginmanager.js b/etherpad/src/etherpad/control/admin/pluginmanager.js
index 39edc4a..c4bee5b 100644
--- a/etherpad/src/etherpad/control/admin/pluginmanager.js
+++ b/etherpad/src/etherpad/control/admin/pluginmanager.js
@@ -26,6 +26,7 @@ import("etherpad.pro.pro_utils");
import("etherpad.helpers");
import("etherpad.pro.pro_accounts.getSessionProAccount");
import("etherpad.admin.plugins");
+import("etherpad.pad.padutils");
function onRequest() {
@@ -52,8 +53,14 @@ function onRequest() {
userId: padusers.getUserId(),
});
+
+ padutils.setOptsAndCookiePrefs(request);
+ var prefs = helpers.getClientVar('cookiePrefsToSet');
+ var bodyClass = (prefs.isFullWidth ? "fullwidth" : "limwidth")
+
renderHtml("admin/pluginmanager.ejs",
{
+ prefs: prefs,
config: appjet.config,
bodyClass: 'nonpropad',
isPro: pro_utils.isProDomainRequest(),