summaryrefslogtreecommitdiff
path: root/src/templates/pad.html
diff options
context:
space:
mode:
authorcohitre <carlosrr@gmail.com>2013-03-12 19:36:04 -0700
committercohitre <carlosrr@gmail.com>2013-03-12 19:36:04 -0700
commit988653b8cec8d733b09e70ffb69d8b66fbfa9874 (patch)
tree4f62a4d5096c62406842855e7eb2bae98c751960 /src/templates/pad.html
parent52aa7d3997880d2dc2bb1777fb90811fa7f669e6 (diff)
downloadetherpad-lite-988653b8cec8d733b09e70ffb69d8b66fbfa9874.zip
Toolbar hooks
Diffstat (limited to 'src/templates/pad.html')
-rw-r--r--src/templates/pad.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/templates/pad.html b/src/templates/pad.html
index c76746ad..6afc1be1 100644
--- a/src/templates/pad.html
+++ b/src/templates/pad.html
@@ -1,7 +1,12 @@
<%
var settings = require("ep_etherpad-lite/node/utils/Settings")
+ , hooks = require('ep_etherpad-lite/static/js/pluginfw/hooks')
, langs = require("ep_etherpad-lite/node/hooks/i18n").availableLangs
, toolbar = require("ep_etherpad-lite/node/utils/toolbar");
+
+ hooks.callAll("padInitToolbar", {
+ toolbar: toolbar
+ });
%>
<!doctype html>
<% e.begin_block("htmlHead"); %>