Ticket #1485958 (closed Feature Requests: fixed)
Please add a hook in steps ::: settings ::: func.inc ::: rcmail_identities_list
| Reported by: | rosali | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.3-stable |
| Component: | Plugin API | Version: | svn-trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by thomasb) (diff)
... I would need it urgently:
function rcmail_identities_list($attrib)
{
global $OUTPUT, $USER, $RCMAIL;
// add id to message list table if not specified
if (!strlen($attrib['id']))
$attrib['id'] = 'rcmIdentitiesList';
// define list of cols to be displayed
$a_show_cols = array('name', 'email');
$a_identities = $USER->list_identities();
$RCMAIL->plugins->exec_hook('list_identities', $a_identities);
// create XHTML table
$out = rcube_table_output($attrib, $a_identities, $a_show_cols, 'identity_id');
// set client env
$OUTPUT->add_gui_object('identitieslist', $attrib['id']);
return $out;
}
THANKS!
Change History
Note: See
TracTickets for help on using
tickets.
