Merge branch 'master' of https://gitea.haschek.at/Crispi/dogstats
All checks were successful
Build and push / Pulling repo on server (push) Successful in 18s

This commit is contained in:
piapassecker
2023-10-22 16:21:41 +02:00
9 changed files with 18 additions and 7 deletions

View File

@ -62,12 +62,12 @@ class Admin extends Page {
catch(Exception $e)
{
$this->set('message', $e->getMessage());
$this->set('template', '/templates/error.html');
$this->set('template', '/templates/partials/error.html');
return;
}
$this->set('message', 'Speichern erfolgreich');
$this->set('template', '/templates/success.html');
$this->set('template', '/templates/partials/success.html');
}
function maySeeThisPage(){return true;}

View File

@ -34,7 +34,7 @@ class Register extends Page {
if($err)
{
$this->set('template', '/templates/error.html');
$this->set('template', '/templates/partials/error.html');
$this->set('title', 'Error');
$this->set('message', $err);
return;
@ -51,7 +51,7 @@ class Register extends Page {
}
catch(Exception $e)
{
$this->set('template', '/templates/error.html');
$this->set('template', '/templates/partials/error.html');
$this->set('title', 'Error');
$this->set('message', $e->getMessage());
return;
@ -65,7 +65,7 @@ class Register extends Page {
function success()
{
$this->set('template', '/templates/success.html');
$this->set('template', '/templates/partials/success.html');
$this->set('title', 'Success');
$this->set('message', 'You have successfully registered. Activate your account from the Link in your email');
}