display('footer.tpl'); die(); } if (!sqgetGlobalVar('identities', $identities, SQ_SESSION)) { $identities = get_identities(); } sqgetGlobalVar('newidentities', $newidentities, SQ_POST); sqgetGlobalVar('smaction', $smaction, SQ_POST); sqgetGlobalVar('return', $return, SQ_POST); // First lets see if there are any actions to perform // if (!empty($smaction) && is_array($smaction)) { $doaction = ''; $identid = 0; foreach($smaction as $action=>$row) { // we only need to extract the action and the identity we are // altering foreach($row as $iKey=>$data) { $identid = $iKey; } $doaction = $action; } $identities = sqfixidentities( $newidentities , $identid , $action ); save_identities($identities); } if (!empty($return)) { header('Location: ' . get_location() . '/options_personal.php'); exit; } displayPageHeader($color, 'None'); /* since 1.1.3 */ do_hook('options_identities_top'); $td_str = ''; $td_str .= '
'; echo '