4 +-----------------------------------------------------------------------+
5 | program/steps/settings/identities.inc |
7 | This file is part of the Roundcube Webmail client |
8 | Copyright (C) 2005-2007, Roundcube Dev. - Switzerland |
9 | Licensed under the GNU GPL |
12 | Manage identities of a user account |
14 +-----------------------------------------------------------------------+
15 | Author: Thomas Bruederli <roundcube@gmail.com> |
16 +-----------------------------------------------------------------------+
18 $Id: identities.inc 3989 2010-09-25 13:03:53Z alec $
22 define('IDENTITIES_LEVEL', intval($RCMAIL->config->get('identities_level', 0)));
24 $OUTPUT->set_pagetitle(rcube_label('identities'));
26 $OUTPUT->include_script('list.js');
29 // similar function as /steps/addressbook/func.inc::rcmail_contact_frame()
30 function rcmail_identity_frame($attrib)
35 $attrib['id'] = 'rcmIdentityFrame';
37 $attrib['name'] = $attrib['id'];
39 $OUTPUT->set_env('contentframe', $attrib['name']);
41 return html::iframe($attrib);
44 $OUTPUT->add_handler('identityframe', 'rcmail_identity_frame');
45 $OUTPUT->set_env('identities_level', IDENTITIES_LEVEL);
47 $OUTPUT->send('identities');