git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
bf9c600
Branches
Tags
master
ticket
webinterface.git
modules
contacts
test.php
UI-Änderung, man kann Kontakte als Ganzes anklicken und dort dann bearbeiten
Bernd Wurst
commited
bf9c600
at 2018-01-25 12:36:32
test.php
Blame
History
Raw
<?php require_once('contactapi.php'); require_once('inc/base.php'); require_once('contacts.php'); title('Kontakt hochladen'); if (isset($_SESSION['contacts_upload'])) { $c = get_contact($_SESSION['contacts_upload']); unset($_SESSION['contacts_upload']); unset($_SESSION['contacts_choose_key']); unset($_SESSION['contacts_choose_header']); unset($_SESSION['contacts_choose_redirect']); upload_contact($c); output('<p>Kontakt gewählt:</p>'.display_contact($c)); } else { $_SESSION['contacts_choose_header'] = 'Wählen Sie einen Kontakt zum Hochladen.'; $_SESSION['contacts_choose_key'] = 'contacts_upload'; $_SESSION['contacts_choose_redirect'] = 'test'; redirect('choose'); }