Explicitely allow max. 32 chars as affiliation
Change-Id: I4014b9a6bc3a195208c538eec4d06ef3aeb7a249
diff --git a/templates/register.htm b/templates/register.htm
index 9af0e3c..1aaa151 100644
--- a/templates/register.htm
+++ b/templates/register.htm
@@ -61,13 +61,13 @@
<div class="form-outline md-6">
<label class="form-label fw-bold" for="organization">Affiliation</label>
- <input required name="organization" type="text" id="organization" class="form-control fs-4 <?php if(isset($error) && $error && !isset($_POST['organization'])){echo 'border-danger';}?>" placeholder="Example University" pattern=".{3,32}" type="text" value="<?php echo isset($_POST['organization']) ? htmlspecialchars($_POST['organization']) : '' ?>"
+ <input required name="organization" maxlength="32" type="text" id="organization" class="form-control fs-4 <?php if(isset($error) && $error && !isset($_POST['organization'])){echo 'border-danger';}?>" placeholder="Example University" pattern=".{3,32}" type="text" value="<?php echo isset($_POST['organization']) ? htmlspecialchars($_POST['organization']) : '' ?>"
/>
<div class="invalid-feedback">
Please indicate the institution or organization you are affiliated with.
</div>
<?php if($CONFERENCE_REGISTRATION ): ?>
- <div id="totalHelp" class="form-text fs-4">… as it will appear on your badge</div>
+ <div id="totalHelp" class="form-text">max. 32 characters so that it fits legibly on your badge</div>
<?php endif; ?>
</div>
@@ -465,7 +465,7 @@
<label class="form-check-label fs-4" for="participation_confirmed">I confirm that I will be attending the <?php echo $SERVICE_ACRONYM; ?> conference.
<?php if(new DateTimeImmutable("now") <= new DateTimeImmutable($EARLYBIRD_DEADLINE." 23:59:59 HST")) {
echo "The early bird conference fee of <strong>€ <span id='conference_fee'>". $EARLYBIRD_CONFERENCE_FEE."</span></strong> is still valid until ".$EARLYBIRD_DEADLINE.".
- (afterwards the fee fee will be € <span id='conference_fee'>". $REGULAR_CONFERENCE_FEE.")";
+ Afterwards the fee fee will be € <span id='conference_fee'>". $REGULAR_CONFERENCE_FEE.".";
echo '<input type="hidden" name="conference_fee" value="' . $EARLYBIRD_CONFERENCE_FEE . '">';
echo '<input type="hidden" name="earlybird_registration" value="earlybird_registration">';
} else {
@@ -515,7 +515,7 @@
<label class="form-check-label fs-4" for="privacy_policy">I have read and agree
to to the
<?php echo $SERVICE_ACRONYM; ?> <a
- href="https://www2.ids-mannheim.de/cosmas2/web-app/datenschutz.html">Privacy Policy</a>.
+ href="https://iclc10.ids-mannheim.de/privacy_policy.shtml">Privacy Policy</a>.
</label>
<div class="invalid-feedback">
You need to agree to the privacy policy in order to proceed.