Add page titles
This commit is contained in:
parent
31518d028d
commit
404a3c7ac7
4 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
use wishthis\{Page, Database};
|
||||
|
||||
$page = new page(__FILE__, 'Home');
|
||||
$page = new page(__FILE__, 'Install');
|
||||
$page->header();
|
||||
|
||||
$step = isset($_POST['step']) ? $_POST['step'] : 1;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
use wishthis\Page;
|
||||
|
||||
$page = new page(__FILE__, 'Home');
|
||||
$page = new page(__FILE__, 'Login');
|
||||
|
||||
if (isset($_POST['email'], $_POST['password'])) {
|
||||
$user = $database->query(
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
use wishthis\Page;
|
||||
|
||||
$page = new page(__FILE__, 'Home');
|
||||
$page = new page(__FILE__, 'Register');
|
||||
|
||||
if (isset($_POST['email'], $_POST['password'])) {
|
||||
$database->query('INSERT INTO `users`
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
use wishthis\Page;
|
||||
|
||||
$page = new page(__FILE__, 'Home');
|
||||
$page = new page(__FILE__, 'Create a wishlist');
|
||||
|
||||
if (isset($_POST['name'])) {
|
||||
$database->query('INSERT INTO `wishlists`
|
||||
|
|
Loading…
Reference in a new issue