remove angeltype contact radios for now

This commit is contained in:
msquare 2016-12-05 14:09:30 +01:00
parent e26eb952f4
commit 2f0a63a4a1
1 changed files with 0 additions and 3 deletions

View File

@ -67,9 +67,6 @@ function AngelType_edit_view($angeltype, $supporter_mode) {
$supporter_mode ? form_info(_("Restricted"), $angeltype['restricted'] ? _("Yes") : _("No")) : form_checkbox('restricted', _("Restricted"), $angeltype['restricted']), $supporter_mode ? form_info(_("Restricted"), $angeltype['restricted'] ? _("Yes") : _("No")) : form_checkbox('restricted', _("Restricted"), $angeltype['restricted']),
$supporter_mode ? form_info(_("No Self Sign Up"), $angeltype['no_self_signup'] ? _("Yes") : _("No")) : form_checkbox('no_self_signup', _("No Self Sign Up"), $angeltype['no_self_signup']), $supporter_mode ? form_info(_("No Self Sign Up"), $angeltype['no_self_signup'] ? _("Yes") : _("No")) : form_checkbox('no_self_signup', _("No Self Sign Up"), $angeltype['no_self_signup']),
$supporter_mode ? form_info(_("Requires driver license"), $angeltype['requires_driver_license'] ? _("Yes") : _("No")) : form_checkbox('requires_driver_license', _("Requires driver license"), $angeltype['requires_driver_license']), $supporter_mode ? form_info(_("Requires driver license"), $angeltype['requires_driver_license'] ? _("Yes") : _("No")) : form_checkbox('requires_driver_license', _("Requires driver license"), $angeltype['requires_driver_license']),
form_radio('mode', _("No contact"), $contact_info == null, 'no_contact'),
form_radio('mode', _("Supporter contact"), isset($angeltype['contact_user_id']), 'user_contact'),
form_radio('mode', _("Free contact"), ! isset($angeltype['contact_user_id']), 'free_contact'),
form_text('contact_name', _("Name"), $angeltype['contact_name']), form_text('contact_name', _("Name"), $angeltype['contact_name']),
form_text('contact_dect', _("DECT"), $angeltype['contact_dect']), form_text('contact_dect', _("DECT"), $angeltype['contact_dect']),
form_text('contact_email', _("E-Mail"), $angeltype['contact_email']), form_text('contact_email', _("E-Mail"), $angeltype['contact_email']),