/**
* options_identities.php
*
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Display Identities Options
define('SM_PATH','../');
/* SquirrelMail required files. */
-require_once(SM_PATH . 'src/validate.php');
+require_once(SM_PATH . 'include/validate.php');
+require_once(SM_PATH . 'functions/global.php');
require_once(SM_PATH . 'functions/display_messages.php');
require_once(SM_PATH . 'functions/html.php');
+/* POST data var names are dynamic because
+ of the possible multiple idents so lets get
+ them all
+*/
+if (!empty($_POST)) {
+ extract($_POST);
+}
+/* got 'em all */
+
if (isset($return)) {
SaveUpdateFunction();
header('Location: options_personal.php');