git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
354c05a
Branches
Tags
master
ticket
webinterface.git
modules
contacts
test.php
Spaces between string concat (.) operator, new PER codingstyle
Hanno Böck
commited
354c05a
at 2023-10-31 17:49:30
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'); }