Hanno Böck This code is published under a 0BSD license. Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code. */ if (isset($_GET['type'])) { $caller = 'detail'; if (isset($_REQUEST['backto'])) { $caller = $_REQUEST['backto']; } $_SESSION['domains_choose_redirect'] = $caller; $function = 'owner'; if ($_GET['type'] == 'admin_c') { if (isset($_GET['detach'])) { $_SESSION['domains_'.$caller.'_detach'] = $_GET['detach']; } $function = 'admin_c'; } $t = 'Inhaber'; if ($function == 'admin_c') { $t = 'Verwalter'; } $_SESSION['contacts_choose_header'] = 'Wählen Sie einen neuen '.$t.' für die Domain '.$_SESSION['domains_'.$caller.'_domainname']; $_SESSION['contacts_choose_key'] = 'domains_'.$caller.'_'.$function; $_SESSION['contacts_choose_redirect'] = '../domains/choose'; redirect('../contacts/choose'); } else { unset($_SESSION['contacts_choose_key']); unset($_SESSION['contacts_choose_header']); unset($_SESSION['contacts_choose_redirect']); $backto = $_SESSION['domains_choose_redirect']; unset($_SESSION['domains_choose_redirect']); redirect($backto); }