Mercurial > hg > rc1
view plugins/userinfo/userinfo.min.js @ 29:ea061c743982
localise title and label exactly once each :-)
author | Charlie Root |
---|---|
date | Sun, 28 Jan 2018 13:44:10 -0500 |
parents | 1e000243b222 |
children |
line wrap: on
line source
window.rcmail&&rcmail.addEventListener("init",function(){var a=$("<span>").attr("id","settingstabpluginuserinfo").addClass("tablink");$("<a>").attr("href",rcmail.env.comm_path+"&_action=plugin.userinfo").text(rcmail.get_label("userinfo","userinfo")).click(function(a){return rcmail.command("plugin.userinfo","",this,a)}).appendTo(a);rcmail.add_element(a,"tabs");rcmail.register_command("plugin.userinfo",function(){rcmail.goto_url("plugin.userinfo")},!0)});