diff options
author | alecpl <alec@alec.pl> | 2008-05-21 07:45:54 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-05-21 07:45:54 +0000 |
commit | a55606b12241264054054ab0c0520ec238ee2687 (patch) | |
tree | c2ae762a7fda064640f0c1b1b43d8b95952144ca /program/steps/settings | |
parent | 8dc0488b9eef4cc08db921c1e103363c9764e33d (diff) |
-localized pagetitle in Settings and Address book
-removed useless and not working code
Diffstat (limited to 'program/steps/settings')
-rw-r--r-- | program/steps/settings/edit_identity.inc | 6 | ||||
-rw-r--r-- | program/steps/settings/func.inc | 5 | ||||
-rw-r--r-- | program/steps/settings/identities.inc | 3 | ||||
-rw-r--r-- | program/steps/settings/manage_folders.inc | 2 |
4 files changed, 6 insertions, 10 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'); diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 18ec36f2f..d303565a8 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -19,10 +19,7 @@ */ - -if ($USER->ID) - $OUTPUT->set_pagetitle(rcube_label('settingsfor') . " ". $USER->get_username()); - +$OUTPUT->set_pagetitle(rcube_label('preferences')); function rcmail_user_prefs_form($attrib) diff --git a/program/steps/settings/identities.inc b/program/steps/settings/identities.inc index fe53ecc66..e24a5c4a9 100644 --- a/program/steps/settings/identities.inc +++ b/program/steps/settings/identities.inc @@ -19,8 +19,7 @@ */ -if ($USER_DATA = $DB->fetch_assoc($sql_result)) - $OUTPUT->set_pagetitle(sprintf('%s (%s@%s)', rcube_label('identities'), $USER_DATA['username'], $USER_DATA['mail_host'])); +$OUTPUT->set_pagetitle(rcube_label('identities')); $OUTPUT->include_script('list.js'); diff --git a/program/steps/settings/manage_folders.inc b/program/steps/settings/manage_folders.inc index 4de8c2c9c..6c056a147 100644 --- a/program/steps/settings/manage_folders.inc +++ b/program/steps/settings/manage_folders.inc @@ -19,6 +19,8 @@ */ +$OUTPUT->set_pagetitle(rcube_label('folders')); + // init IMAP connection $RCMAIL->imap_init(true); |