Enable conference registration
Change-Id: I5e973513d78c63a48e62ff1aa3a5d9a1621f4a4d
diff --git a/templates/strings.php b/templates/strings.php
index 557a60f..dc2f1a3 100644
--- a/templates/strings.php
+++ b/templates/strings.php
@@ -1,4 +1,6 @@
<?php
+include_once 'config.php';
+
$RUNTIME_ERROR = (object)[
"not_found" => "<center><h2>This page does not exist!</h2></center>",
"template_not_found" => "Either you did not create the folder '{{template}}' or strings.php is missing on it. Maybe you have set LANG_CC: '{{langcc}}' wrong on config.php?",
@@ -30,7 +32,7 @@
];
$EMAIL_VALIDATION_ERROR = (object)[
- "registered" => "This email is already belongs to an account. Did you <a href='{{link}}'>forget your password?</a><br>",
+ "registered" => "This email is already belongs to an account. It seems like you are already registered. Please check your mailbox." . ($CONFERENCE_REGISTRATION? "": "Or did you <a href='{{link}}'>forget your password?</a><br>"),
"invalid" => "Invalid email format<br>",
"blacklisted" => "This email service is not allowed<br>",
"pending" => "This email is already pending approval, check your mailbox or try to register with a different email<br>",