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 543 2007-04-28 18:07:12Z thomasb $
22 if ($USER_DATA = $DB->fetch_assoc($sql_result))
23 $OUTPUT->set_pagetitle(sprintf('%s (%s@%s)', rcube_label('identities'), $USER_DATA['username'], $USER_DATA['mail_host']));
25 $OUTPUT->include_script('list.js');
28 // similar function as /steps/addressbook/func.inc::rcmail_contact_frame()
29 function rcmail_identity_frame($attrib)
34 $attrib['id'] = 'rcmIdentityFrame';
36 $attrib['name'] = $attrib['id'];
38 $OUTPUT->set_env('contentframe', $attrib['name']);
40 $attrib_str = create_attrib_string($attrib, array('name', 'id', 'class', 'style', 'src', 'width', 'height', 'frameborder'));
41 $out = '<iframe'. $attrib_str . '></iframe>';
46 $OUTPUT->add_handler('identityframe', 'rcmail_identity_frame');
48 parse_template('identities');