summaryrefslogtreecommitdiffstats
path: root/etherpad/src/plugins/twitterStyleTags/hooks.js
diff options
context:
space:
mode:
authorEgil Moeller <egil.moller@freecode.no>2010-04-20 21:00:41 +0200
committerEgil Moeller <egil.moller@freecode.no>2010-04-20 21:00:41 +0200
commit0b4ed7432d750f98aa6f62e5515b57f3e7e8a4d4 (patch)
tree75e9a3cd5b5cd75f6d1f2cbed9773bd8b042a200 /etherpad/src/plugins/twitterStyleTags/hooks.js
parentbd2190f0453f6a189b84b3ff2f1af05d5e023801 (diff)
downloadetherpad-0b4ed7432d750f98aa6f62e5515b57f3e7e8a4d4.tar.gz
etherpad-0b4ed7432d750f98aa6f62e5515b57f3e7e8a4d4.tar.bz2
etherpad-0b4ed7432d750f98aa6f62e5515b57f3e7e8a4d4.zip
Home & pad/url search buttons
Diffstat (limited to 'etherpad/src/plugins/twitterStyleTags/hooks.js')
-rw-r--r--etherpad/src/plugins/twitterStyleTags/hooks.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/etherpad/src/plugins/twitterStyleTags/hooks.js b/etherpad/src/plugins/twitterStyleTags/hooks.js
index 9465ccc..1072579 100644
--- a/etherpad/src/plugins/twitterStyleTags/hooks.js
+++ b/etherpad/src/plugins/twitterStyleTags/hooks.js
@@ -44,4 +44,13 @@ function padModelWriteToDB(args) {
sqlobj.insert("PAD_TAG", {PAD_ID: args.padId, TAG_ID: tag_row['ID']});
}
}
-} \ No newline at end of file
+}
+
+function docbarItemsAll() {
+ return ["<td class='docbarbutton'><a href='/ep/tag/'>Home</a></td>"];
+}
+
+function docbarItemsTagBrowser() {
+ return ["<td class='docbarbutton'><a href='/ep/tag/'>Pads</a></td>"];
+}
+