This commit is contained in:
Jay Trees 2022-03-04 11:03:19 +01:00
parent 4ec947a9aa
commit 77d470dd60
9 changed files with 9 additions and 9 deletions

View file

@ -8,7 +8,7 @@
use wishthis\Page;
$page = new page(__FILE__, 'Home');
$page = new Page(__FILE__, 'Home');
$page->header();
$page->bodyStart();
$page->navigation();

View file

@ -13,7 +13,7 @@ if ($options && $options->getOption('isInstalled')) {
die();
}
$page = new page(__FILE__, 'Install');
$page = new Page(__FILE__, 'Install');
$page->header();
$page->bodyStart();

View file

@ -8,7 +8,7 @@
use wishthis\Page;
$page = new page(__FILE__, 'Logout');
$page = new Page(__FILE__, 'Logout');
if (PHP_SESSION_ACTIVE === session_status()) {
session_destroy();

View file

@ -8,7 +8,7 @@
use wishthis\Page;
$page = new page(__FILE__, 'Insufficient power');
$page = new Page(__FILE__, 'Insufficient power');
$page->header();
$page->bodyStart();
$page->navigation();

View file

@ -13,7 +13,7 @@ $passwordReset = isset($_GET['password-reset'], $_GET['token']);
$pageTitle = $passwordReset ? 'Reset password' : 'Register';
$buttonSubmit = $passwordReset ? 'Reset' : 'Register';
$page = new page(__FILE__, $pageTitle);
$page = new Page(__FILE__, $pageTitle);
if (isset($_POST['email'], $_POST['password']) && !empty($_POST['planet'])) {
$users = $database->query('SELECT * FROM `users`;')->fetchAll();

View file

@ -8,7 +8,7 @@
use wishthis\Page;
$page = new page(__FILE__, 'Settings');
$page = new Page(__FILE__, 'Settings');
$page->header();
$page->bodyStart();
$page->navigation();

View file

@ -8,7 +8,7 @@
use wishthis\{Page, User};
$page = new page(__FILE__, 'Update', 100);
$page = new Page(__FILE__, 'Update', 100);
$page->header();
$page->bodyStart();
$page->navigation();

View file

@ -19,7 +19,7 @@ if (!$wishlist->exists) {
die();
}
$page = new page(__FILE__, $wishlist->data['name']);
$page = new Page(__FILE__, $wishlist->data['name']);
$page->header();
$page->bodyStart();
$page->navigation();

View file

@ -8,7 +8,7 @@
use wishthis\{Page, User, Wishlist};
$page = new page(__FILE__, 'My lists');
$page = new Page(__FILE__, 'My lists');
$page->header();
$page->bodyStart();
$page->navigation();