This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Register a new singer ====== <phpwikify> $alphabet = '6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz'; $id_size = 8; $id = ''; while (1 <= $id_size--) { $rand = mt_rand()/(mt_getrandmax() + 1); $id .= $alphabet[intval($rand*strlen($alphabet))]; } echo '<form>', "\n"; echo 'action mail membership@bristolacappella.co.uk', "\n"; echo 'usemailtemplate committee:induction:templates:welcome', "\n"; echo 'subject "Welcome to Bristol A Cappella"', "\n"; echo 'action template people:templates:public people:@@ID@@', "\n"; echo 'hidden "person_id" "=' . $id . '"', "\n"; echo 'fieldset "First rehearsal"', "\n"; echo 'textbox "Given name"', "\n"; echo 'textbox "Family name"', "\n"; echo 'select "Name order" "given-family|family-given"', "\n"; echo 'textbox "Pronouns (optional)" !', "\n"; echo 'email "Email"', "\n"; echo 'date "First rehearsal date" "=%Y-%m-%d"', "\n"; echo 'yesno "Add full member details?"', "\n"; echo 'fieldset "Details" "Add full member details?"', "\n"; echo 'textbox "Postcode"', "\n"; echo 'textbox "Mobile"', "\n"; echo 'radio "Voice part" "Unsure|Soprano|Alto|Tenor|Bass" "=Unsure"', "\n"; echo 'textbox "How did you hear about Bristol A Cappella?"', "\n"; echo 'addpage people:templates:internal internal', "\n"; echo 'addpage people:templates:restricted restricted', "\n"; echo 'addpage people:templates:restricted-committee restricted-committee', "\n"; echo 'fieldset "Finish"', "\n"; echo 'submit "Register"', "\n"; echo '</form>', "\n"; </phpwikify>