X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_identities.php;h=026ae1f1a56c37dc50034f9c4581b81b353a7b20;hb=284a0d8a7f0396b04cb9ba956a6117cad862a5c5;hp=25e087ae5d89a4527fc720b3038240cca756ad51;hpb=545238b1fa274274c9202937c6e82c6432efc45d;p=squirrelmail.git diff --git a/src/options_identities.php b/src/options_identities.php index 25e087ae..026ae1f1 100644 --- a/src/options_identities.php +++ b/src/options_identities.php @@ -3,338 +3,217 @@ /** * options_identities.php * - * Copyright (c) 1999-2002 The SquirrelMail Project Team - * Licensed under the GNU GPL. For full terms see the file COPYING. - * * Display Identities Options * - * $Id$ + * @copyright © 1999-2006 The SquirrelMail Project Team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + * @version $Id$ + * @package squirrelmail + * @subpackage prefs + * @since 1.1.3 */ -require_once('../src/validate.php'); -require_once('../functions/display_messages.php'); -require_once('../functions/html.php'); +/** + * Include the SquirrelMail initialization file. + */ +require('../include/init.php'); - if (isset($return)) { - SaveUpdateFunction(); - header('Location: options_personal.php'); - exit(); - } - - displayPageHeader($color, 'None'); - - $Info = do_hook('options_identities_process', 0); - if ($Info[1]) { - SaveUpdateFunction(); - } - - if (CheckAndDoDefault() || CheckAndDoPromote()) { - SaveUpdateFunction(); - } - if (isset($update) || CheckForDelete()) { - SaveUpdateFunction(); - } - - do_hook('options_identities_top'); - LoadInfo($full_name, $email_address, $reply_to, $signature, ''); - $td_str = ''; - $td_str .= '