git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
dd7da2b
Branches
Tags
master
ticket
webinterface.git
modules
domains
choose.php
Prüfe die Tauglichkeit eines Domain-Kontakts für die spezifische Endung
Bernd Wurst
commited
dd7da2b
at 2025-12-24 16:33:25
choose.php
Blame
History
Raw
<?php /* This file belongs to the Webinterface of schokokeks.org Hosting Written by schokokeks.org Hosting, namely Bernd Wurst <bernd@schokokeks.org> Hanno Böck <hanno@schokokeks.org> 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_domainname'] = $_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_domainname']); unset($_SESSION['contacts_choose_redirect']); $backto = $_SESSION['domains_choose_redirect']; unset($_SESSION['domains_choose_redirect']); redirect($backto); }