From 292a3bd7b73fe99e6024e91ff734b2a01218e62e Mon Sep 17 00:00:00 2001 From: cohitre Date: Sat, 9 Mar 2013 14:57:42 -0800 Subject: Setting up the right toolbar. --- src/templates/pad.html | 53 +++----------------------------------------------- 1 file changed, 3 insertions(+), 50 deletions(-) (limited to 'src/templates/pad.html') diff --git a/src/templates/pad.html b/src/templates/pad.html index bde1c7ee..c76746ad 100644 --- a/src/templates/pad.html +++ b/src/templates/pad.html @@ -1,22 +1,7 @@ <% var settings = require("ep_etherpad-lite/node/utils/Settings") , langs = require("ep_etherpad-lite/node/hooks/i18n").availableLangs - , toolbar = require("ep_etherpad-lite/node/utils/toolbar") - , leftToolbar - , rightToolbar; - - - if (settings.ep_toolbar && settings.ep_toolbar.left) { - leftToolbar = settings.ep_toolbar.left; - } - else { - leftToolbar = [ - ["bold", "italic", "underline", "strikethrough"], - ["orderedlist", "unorderedlist", "indent", "outdent"], - ["undo", "redo"], - ["clearauthorship"] - ]; - } + , toolbar = require("ep_etherpad-lite/node/utils/toolbar"); %> <% e.begin_block("htmlHead"); %> @@ -73,44 +58,12 @@ -- cgit v1.2.3