HEADcourier-fixdev-browser-capabilitiespdorelease-0.6release-0.7release-0.8
|
Last change
on this file since a55606b was
a55606b,
checked in by alecpl <alec@…>, 5 years ago
|
|
-localized pagetitle in Settings and Address book
-removed useless and not working code
|
-
Property mode set to
100644
|
|
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, RoundCube Dev. - Switzerland | |
|---|
| 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 | |
|---|
| 22 | $OUTPUT->set_pagetitle(rcube_label('identities')); |
|---|
| 23 | |
|---|
| 24 | $OUTPUT->include_script('list.js'); |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | // similar function as /steps/addressbook/func.inc::rcmail_contact_frame() |
|---|
| 28 | function rcmail_identity_frame($attrib) |
|---|
| 29 | { |
|---|
| 30 | global $OUTPUT; |
|---|
| 31 | |
|---|
| 32 | if (!$attrib['id']) |
|---|
| 33 | $attrib['id'] = 'rcmIdentityFrame'; |
|---|
| 34 | |
|---|
| 35 | $attrib['name'] = $attrib['id']; |
|---|
| 36 | |
|---|
| 37 | $OUTPUT->set_env('contentframe', $attrib['name']); |
|---|
| 38 | |
|---|
| 39 | $attrib_str = create_attrib_string($attrib, array('name', 'id', 'class', 'style', 'src', 'width', 'height', 'frameborder')); |
|---|
| 40 | $out = '<iframe'. $attrib_str . '></iframe>'; |
|---|
| 41 | |
|---|
| 42 | return $out; |
|---|
| 43 | } |
|---|
| 44 | |
|---|
| 45 | $OUTPUT->add_handler('identityframe', 'rcmail_identity_frame'); |
|---|
| 46 | |
|---|
| 47 | $OUTPUT->send('identities'); |
|---|
| 48 | ?> |
|---|
Note: See
TracBrowser
for help on using the repository browser.