Introduce SERVICE_URL
Change-Id: I2efd7d0aed3fdd9481ab7d54b1f295efe1c89aa8
diff --git a/config.php.example b/config.php.example
index 7d58bc2..722ed0f 100755
--- a/config.php.example
+++ b/config.php.example
@@ -15,6 +15,8 @@
$SERVICE_ACRONYM = "Test Service";
#$CONFERENCE_REGISTRATION = true;
+
+$SERVICE_URL = "https://www.example.org";
$SERVICE_LOGO = "./static/Test_Logo.svg";
$SERVICE_NAME = "International Test Corpus";
diff --git a/templates/register.htm b/templates/register.htm
index bf1171c..085b03a 100644
--- a/templates/register.htm
+++ b/templates/register.htm
@@ -1,6 +1,6 @@
<header class="d-flex flex-wrap py-340 mb-8 pb-5">
<div class="col-md-2 justify-content-start align-self-center pb-1 float-start">
- <a href="/">
+ <a href="<?php echo $SERVICE_URL;?>">
<img class="" width="80" src="<?php echo $SERVICE_LOGO;?>" alt="<?php echo $SERVICE_NAME; ?>" />
</a>
</div>
@@ -47,7 +47,7 @@
<option value="Dr.">Dr.</option>
<option value="Prof. Dr.">Prof. Dr.</option>
</select>
- </div>
+ </div>
<?php endif; ?>
<!-- 2 column grid layout with text inputs for the first and last names -->
<div class="col-md-4">