X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_personal.php;h=170f625a09b3d36a7c25ebd5d4fa23f8f1aa1c03;hb=aaf9abef1f3d4f8a3c5dc365a4c2c98f5b153831;hp=7db053d03cfe14e58b2bb2a1c0fc571209023bd6;hpb=245a6892bf5c780904ef9677f24d624ea17e0749;p=squirrelmail.git diff --git a/src/options_personal.php b/src/options_personal.php index 7db053d0..170f625a 100644 --- a/src/options_personal.php +++ b/src/options_personal.php @@ -10,31 +10,19 @@ ** $Id$ **/ - session_start(); + include('../src/validate.php'); + include('../functions/page_header.php'); + include('../functions/display_messages.php'); + include('../functions/imap.php'); + include('../functions/array.php'); + include('../functions/plugin.php'); + include('../src/load_prefs.php'); + + displayPageHeader($color, 'None'); - if (!isset($strings_php)) - include("../functions/strings.php"); - if (!isset($config_php)) - include("../config/config.php"); - if (!isset($page_header_php)) - include("../functions/page_header.php"); - if (!isset($display_messages_php)) - include("../functions/display_messages.php"); - if (!isset($imap_php)) - include("../functions/imap.php"); - if (!isset($array_php)) - include("../functions/array.php"); - if (!isset($i18n_php)) - include("../functions/i18n.php"); - if (!isset($plugin_php)) - include("../functions/plugin.php"); - - include("../src/load_prefs.php"); - displayPageHeader($color, "None"); - - $fullname = getPref($data_dir, $username, "full_name"); - $replyto = getPref($data_dir, $username, "reply_to"); - $email_address = getPref($data_dir, $username, "email_address"); + $fullname = getPref($data_dir, $username, 'full_name'); + $replyto = getPref($data_dir, $username, 'reply_to'); + $email_address = getPref($data_dir, $username, 'email_address'); ?>
@@ -62,18 +50,29 @@ + + : + + Edit Advanced Identities + (discards changes made on this form so far) + + +

:   " . _("Use a signature") . "?
"; - else { - echo "  "; - echo _("Use a signature?"); - echo "
"; - } - echo "\n
"; + echo '  ' . _("Use a signature?") . '  '; + else + echo '  ' . _("Use a signature?") . '  '; + if ( ! isset($prefix_sig) || $prefix_sig == true ) + echo '  ' + . _( "Prefix signature with '--' ?" ) . '
'; + else + echo '  ' . + _( "Prefix signature with '--' ?" ) . '
'; + echo "\n
"; ?> @@ -86,5 +85,5 @@ - +