From 903f241d33d4f714d03410d7d43aa599ca2bb06e Mon Sep 17 00:00:00 2001 From: Expo on server Date: Sun, 16 Jun 2024 10:51:36 +0100 Subject: [PATCH] Update signup form 2004 to 2024 and fix quoting so it actually appears Update signup page so it actually displays. It does not yet work however. Fix quoting in signup form so it actually appears --- signup/submit.php | 65 ++++++++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 29 deletions(-) diff --git a/signup/submit.php b/signup/submit.php index 58b5805a5..2c185ebe3 100644 --- a/signup/submit.php +++ b/signup/submit.php @@ -1,4 +1,4 @@ - + 9)) $error = "Invalid Base Camp tent capacity given."; if ($error != "") { - echo "Expo 2004 Application Form Error -- Cambridge University Caving Club"; + echo "Expo 2024 Application Form Error -- Cambridge University Caving Club"; echo ""; echo "
"; printHidden (); echo <<Expo 2004 Application Form Error +

Expo 2004 Application Form Error

Sorry, but you have made a mistake on your form:

$error
@@ -144,23 +144,25 @@ function showForm () global $vars; echo <<Expo 2004 Application Form -- Cambridge University Caving Club + Expo 2024 Application Form -- Cambridge University Caving Club END; echo <<Expo 2004 Application Form +

Expo 2024 Signup Form

-

This is the application form for Expo 2004, which runs from 10th July until 14th August. +

This is the official signup form for Expo 2024, which runs from 6th July until 17th August. -

This form is not secure and by submitting +

This form is not secure and by submitting this form you consent to its contents being used for Expo purposes and - being included in the Bier Book on Expo.

+ being included in the Bier Book on Expo.

+ +

You also give permission for any information you collect on expo (survey data, photos, trip writeups, etc) to be used in perpetuity for expo-related purposes.

-
- +
+ -

Section A: Personal information

+

Section A: Personal information

General

@@ -223,7 +225,7 @@ END;

Transport

-

Please look now at the transport arrangements page (will open in a new window). Then select one of the following. +

Please look now at the transport arrangements page (will open in a new window). Then select one of the following.

Tents -

There will be two high camps in 2004: +

There will be two high camps in 2024:

  • the stone bridge bivvy site;
  • the old Top Camp site, to be used for exploration of Eislüfthöhle. @@ -256,7 +258,7 @@ END; At the stone bridge, a bivvy bag is not essential but useful if you have one. -

    Will you be taking any of the following (please tick/complete as appropriate):
    +

    Will you be taking any of the following (please tick/complete as appropriate):
    Please list any allergies which you have: -

    +

    Please list any allergies which you have: +

    -

    Please list any medication which you may be taking in Austria: -

    +

    Please list any medication which you may be taking in Austria: +

    -

    Please list any other medical conditions you have that the expedition should be aware of:
    -

    +

    Please list any other medical conditions you have that the expedition should be aware of:
    +

    Other

    -

    Any other information, including any skills e.g. first aid, languages, etc. that you have:
    -

    +

    Any other information, including any skills e.g. first aid, languages, etc. that you have:
    +

    Section B - Caving/surface work projects

    @@ -345,15 +347,15 @@ function previewForm () global $vars; echo <<Expo 2004 Application Form Preview -- Cambridge University Caving Club + Expo 2024 Application Form Preview -- Cambridge University Caving Club END; echo <<Expo 2004 Application Form Preview -

    Please check the details below and then select one of the options at the +

    Expo 2024 Application Form Preview

    +

    Please check the details below and then select one of the options at the bottom of the page.


    -

    Contact details

    +

    Contact details

    Your details

    @@ -420,6 +422,7 @@ END; echo nl2br($vars[aims]); } +echo <<Other information

    "; echo nl2br($vars[extra_info]); @@ -437,6 +440,7 @@ END; echo "

"; if ($vars[transport_info] != "") { +echo <<Other transport information

"; echo nl2br($vars[transport_info]); } @@ -453,6 +457,7 @@ END;

If you want to change something...

If there is an error in the above details, press the button below to change them. +echo << @@ -531,6 +536,7 @@ function updateDatabase () function submitForm () { +echo << END; echo <<Expo 2004 Application +

Expo 2024 Application

Submission successful!

Thank you for your application. Please address any questions - to the Expo Leader, Olly Madge. + to the Expo Leader, Jono Lester.

Return to the main Expo page. END; @@ -553,7 +559,8 @@ END; virtual("main.css"); -switch ($_GET[action]) { +switch ($_GET["action"]) { + case "blank": initVars (); showForm ();