summaryrefslogtreecommitdiff
path: root/plugins/userinfo/userinfo.js
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-03-31 12:25:48 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-03-31 12:25:48 +0000
commite6d8f97bf2e0bbb4d95df0c4e030eb7ec6ef75a5 (patch)
tree4f6fdadb51cbe1a2bb3b2b06c9bcabb0429d1a84 /plugins/userinfo/userinfo.js
parent868c169e2a64c1d19a9b6bbcd98f268808dfd173 (diff)
Move plugins repository into roundcubemail root folder; svn:externals are not defined anymore
git-svn-id: https://svn.roundcube.net/trunk@6034 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/userinfo/userinfo.js')
-rw-r--r--plugins/userinfo/userinfo.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/plugins/userinfo/userinfo.js b/plugins/userinfo/userinfo.js
deleted file mode 100644
index 70a5085b3..000000000
--- a/plugins/userinfo/userinfo.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Show user-info plugin script */
-
-if (window.rcmail) {
- rcmail.addEventListener('init', function(evt) {
- // <span id="settingstabdefault" class="tablink"><roundcube:button command="preferences" type="link" label="preferences" title="editpreferences" /></span>
- var tab = $('<span>').attr('id', 'settingstabpluginuserinfo').addClass('tablink');
-
- var button = $('<a>').attr('href', rcmail.env.comm_path+'&_action=plugin.userinfo').html(rcmail.gettext('userinfo', 'userinfo')).appendTo(tab);
- button.bind('click', function(e){ return rcmail.command('plugin.userinfo', this) });
-
- // add button and register command
- rcmail.add_element(tab, 'tabs');
- rcmail.register_command('plugin.userinfo', function(){ rcmail.goto_url('plugin.userinfo') }, true);
- })
-}
-