Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7056065
userinfo.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
779 B
Referenced Files
None
Subscribers
None
userinfo.js
View Options
/* Show user-info plugin script */
if
(
window
.
rcmail
)
{
rcmail
.
addEventListener
(
'init'
,
function
()
{
// <span id="settingstabdefault" class="tablink"><roundcube:button command="preferences" type="link" label="preferences" title="editpreferences" /></span>
var
tab
=
$
(
'<span>'
).
attr
(
'id'
,
'settingstabpluginuserinfo'
).
addClass
(
'tablink'
);
$
(
'<a>'
).
attr
(
'href'
,
rcmail
.
env
.
comm_path
+
'&_action=plugin.userinfo'
)
.
text
(
rcmail
.
get_label
(
'userinfo'
,
'userinfo'
))
.
click
(
function
(
e
)
{
return
rcmail
.
command
(
'plugin.userinfo'
,
''
,
this
,
e
);
})
.
appendTo
(
tab
);
// add button and register command
rcmail
.
add_element
(
tab
,
'tabs'
);
rcmail
.
register_command
(
'plugin.userinfo'
,
function
()
{
rcmail
.
goto_url
(
'plugin.userinfo'
)
},
true
);
})
}
File Metadata
Details
Attached
Mime Type
text/x-asm
Expires
Fri, Jun 12, 3:16 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
851107
Default Alt Text
userinfo.js (779 B)
Attached To
Mode
R3 roundcubemail
Attached
Detach File
Event Timeline
Log In to Comment