summaryrefslogtreecommitdiff
path: root/program/steps/settings/edit_identity.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-05-21 07:45:54 +0000
committeralecpl <alec@alec.pl>2008-05-21 07:45:54 +0000
commita55606b12241264054054ab0c0520ec238ee2687 (patch)
treec2ae762a7fda064640f0c1b1b43d8b95952144ca /program/steps/settings/edit_identity.inc
parent8dc0488b9eef4cc08db921c1e103363c9764e33d (diff)
-localized pagetitle in Settings and Address book
-removed useless and not working code
Diffstat (limited to 'program/steps/settings/edit_identity.inc')
-rw-r--r--program/steps/settings/edit_identity.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/program/steps/settings/edit_identity.inc b/program/steps/settings/edit_identity.inc
index 18c5078ed..43cbf3d17 100644
--- a/program/steps/settings/edit_identity.inc
+++ b/program/steps/settings/edit_identity.inc
@@ -19,17 +19,15 @@
*/
+$OUTPUT->set_pagetitle(rcube_label('identities'));
+
if (($_GET['_iid'] || $_POST['_iid']) && $RCMAIL->action=='edit-identity')
{
$IDENTITY_RECORD = $USER->get_identity(get_input_value('_iid', RCUBE_INPUT_GPC));
if (is_array($IDENTITY_RECORD))
$OUTPUT->set_env('iid', $IDENTITY_RECORD['identity_id']);
-
- $OUTPUT->set_pagetitle(rcube_label('edititem'));
}
-else
- $OUTPUT->set_pagetitle(rcube_label('newitem'));
$OUTPUT->include_script('list.js');