+
+
+
+
+
+ " . $this->t('{lshostel:pwd_reset:header}') . "";
+$userName = "";
+if (isset($_POST['username'])) {
+ $userName = $_POST['username'];
+ try {
+ if (!$_POST['passwordResetOk']) {
+ sendPasswordResetEmail($userName);
+ $_POST['passwordResetOk'] = true;
+ unset($_POST['username']);
+ }
+ ?>
+
+
+
+ t('{lshostel:pwd_reset:ok_header}');?>
+
+
t('{lshostel:pwd_reset:ok_text}');?>
+
+
+
+
+
+
+
+
t('{lshostel:pwd_reset:text}'); ?>
+
+
+
+
+
+
+
+
+ includeAtTemplateBase('includes/footer.php');
diff --git a/themes/lshostel2/consent/consentform.php b/themes/lshostel-bbmri/consent/consentform.php
similarity index 100%
rename from themes/lshostel2/consent/consentform.php
rename to themes/lshostel-bbmri/consent/consentform.php
diff --git a/themes/lshostel2/consent/noconsent.php b/themes/lshostel-bbmri/consent/noconsent.php
similarity index 100%
rename from themes/lshostel2/consent/noconsent.php
rename to themes/lshostel-bbmri/consent/noconsent.php
diff --git a/themes/lshostel2/core/loginuserpass.php b/themes/lshostel-bbmri/core/loginuserpass.php
similarity index 98%
rename from themes/lshostel2/core/loginuserpass.php
rename to themes/lshostel-bbmri/core/loginuserpass.php
index 05945bd..111f04c 100644
--- a/themes/lshostel2/core/loginuserpass.php
+++ b/themes/lshostel-bbmri/core/loginuserpass.php
@@ -68,7 +68,7 @@
?>
-
+
@@ -196,7 +196,7 @@
t('{lshostel:lshostel:register_acc_hostel}') ?>
|
-
">
+ ">
t('{lshostel:lshostel:forgot_password}') ?>
diff --git a/themes/lshostel2/default/error.php b/themes/lshostel-bbmri/default/error.php
similarity index 100%
rename from themes/lshostel2/default/error.php
rename to themes/lshostel-bbmri/default/error.php
diff --git a/themes/lshostel2/default/errorreport.php b/themes/lshostel-bbmri/default/errorreport.php
similarity index 100%
rename from themes/lshostel2/default/errorreport.php
rename to themes/lshostel-bbmri/default/errorreport.php
diff --git a/themes/lshostel-bbmri/default/includes/footer.php b/themes/lshostel-bbmri/default/includes/footer.php
new file mode 100644
index 0000000..26be6d1
--- /dev/null
+++ b/themes/lshostel-bbmri/default/includes/footer.php
@@ -0,0 +1,33 @@
+data['htmlinject']['htmlContentPost'])) {
+ foreach($this->data['htmlinject']['htmlContentPost'] AS $c) {
+ echo $c;
+ }
+}
+?>
+