source: subversion/trunk/roundcubemail/program/steps/settings/identities.inc @ 4410

Last change on this file since 4410 was 4410, checked in by thomasb, 2 years ago

Bumbed version; Roundcube development is not Switzerland only

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1<?php
2
3/*
4 +-----------------------------------------------------------------------+
5 | program/steps/settings/identities.inc                                 |
6 |                                                                       |
7 | This file is part of the Roundcube Webmail client                     |
8 | Copyright (C) 2005-2007, The Roundcube Dev Team                       |
9 | Licensed under the GNU GPL                                            |
10 |                                                                       |
11 | PURPOSE:                                                              |
12 |   Manage identities of a user account                                 |
13 |                                                                       |
14 +-----------------------------------------------------------------------+
15 | Author: Thomas Bruederli <roundcube@gmail.com>                        |
16 +-----------------------------------------------------------------------+
17
18 $Id$
19
20*/
21
22define('IDENTITIES_LEVEL', intval($RCMAIL->config->get('identities_level', 0)));
23
24$OUTPUT->set_pagetitle(rcube_label('identities'));
25
26$OUTPUT->include_script('list.js');
27
28
29// similar function as /steps/addressbook/func.inc::rcmail_contact_frame()
30function rcmail_identity_frame($attrib)
31  {
32  global $OUTPUT;
33
34  if (!$attrib['id'])
35    $attrib['id'] = 'rcmIdentityFrame';
36
37  $attrib['name'] = $attrib['id'];
38
39  $OUTPUT->set_env('contentframe', $attrib['name']);
40
41  return html::iframe($attrib);
42  }
43
44$OUTPUT->add_handler('identityframe', 'rcmail_identity_frame');
45$OUTPUT->set_env('identities_level', IDENTITIES_LEVEL);
46
47$OUTPUT->send('identities');
Note: See TracBrowser for help on using the repository browser.