Fix invalid HTML
This commit is contained in:
parent
b5bd5d7530
commit
fbdfe39a02
10 changed files with 19 additions and 0 deletions
|
@ -10,6 +10,7 @@ use wishthis\Page;
|
|||
|
||||
$page = new page(__FILE__, 'Home');
|
||||
$page->header();
|
||||
$page->bodyStart();
|
||||
$page->navigation();
|
||||
?>
|
||||
|
||||
|
@ -74,4 +75,5 @@ $page->navigation();
|
|||
|
||||
<?php
|
||||
$page->footer();
|
||||
$page->bodyEnd();
|
||||
?>
|
||||
|
|
|
@ -15,6 +15,7 @@ if ($options && $options->getOption('isInstalled')) {
|
|||
|
||||
$page = new page(__FILE__, 'Install');
|
||||
$page->header();
|
||||
$page->bodyStart();
|
||||
|
||||
$step = isset($_POST['step']) ? $_POST['step'] : 1;
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ if (isset($_POST['email'])) {
|
|||
}
|
||||
|
||||
$page->header();
|
||||
$page->bodyStart();
|
||||
$page->navigation();
|
||||
?>
|
||||
<main>
|
||||
|
@ -56,3 +57,4 @@ $page->navigation();
|
|||
|
||||
<?php
|
||||
$page->footer();
|
||||
$page->bodyEnd();
|
||||
|
|
|
@ -37,6 +37,7 @@ if (isset($_SESSION['user'])) {
|
|||
}
|
||||
|
||||
$page->header();
|
||||
$page->bodyStart();
|
||||
$page->navigation();
|
||||
?>
|
||||
<main>
|
||||
|
@ -69,3 +70,4 @@ $page->navigation();
|
|||
|
||||
<?php
|
||||
$page->footer();
|
||||
$page->bodyEnd();
|
||||
|
|
|
@ -18,6 +18,7 @@ if (PHP_SESSION_ACTIVE === session_status()) {
|
|||
}
|
||||
|
||||
$page->header();
|
||||
$page->bodyStart();
|
||||
$page->navigation();
|
||||
?>
|
||||
<main>
|
||||
|
@ -33,3 +34,4 @@ $page->navigation();
|
|||
|
||||
<?php
|
||||
$page->footer();
|
||||
$page->bodyEnd();
|
||||
|
|
|
@ -10,6 +10,7 @@ use wishthis\Page;
|
|||
|
||||
$page = new page(__FILE__, 'Insufficient power');
|
||||
$page->header();
|
||||
$page->bodyStart();
|
||||
$page->navigation();
|
||||
?>
|
||||
|
||||
|
@ -29,4 +30,5 @@ $page->navigation();
|
|||
|
||||
<?php
|
||||
$page->footer();
|
||||
$page->bodyEnd();
|
||||
?>
|
||||
|
|
|
@ -82,6 +82,7 @@ if (isset($_POST['email'], $_POST['password']) && !empty($_POST['planet'])) {
|
|||
}
|
||||
|
||||
$page->header();
|
||||
$page->bodyStart();
|
||||
$page->navigation();
|
||||
?>
|
||||
<main>
|
||||
|
@ -140,3 +141,4 @@ $page->navigation();
|
|||
</main>
|
||||
<?php
|
||||
$page->footer();
|
||||
$page->bodyEnd();
|
||||
|
|
|
@ -10,6 +10,7 @@ use wishthis\{Page, User};
|
|||
|
||||
$page = new page(__FILE__, 'Update', 100);
|
||||
$page->header();
|
||||
$page->bodyStart();
|
||||
$page->navigation();
|
||||
|
||||
/**
|
||||
|
@ -127,4 +128,5 @@ if ('POST' === $_SERVER['REQUEST_METHOD']) {
|
|||
|
||||
<?php
|
||||
$page->footer();
|
||||
$page->bodyEnd();
|
||||
?>
|
||||
|
|
|
@ -43,6 +43,7 @@ if (!$userIsAuthenticated) {
|
|||
|
||||
$page = new page(__FILE__, $wish->title);
|
||||
$page->header();
|
||||
$page->bodyStart();
|
||||
$page->navigation();
|
||||
|
||||
$referer = '/?page=wishlists&wishlist=' . $wish->wishlist;
|
||||
|
@ -213,4 +214,5 @@ $referer = '/?page=wishlists&wishlist=' . $wish->wishlist;
|
|||
|
||||
<?php
|
||||
$page->footer();
|
||||
$page->bodyEnd();
|
||||
?>
|
||||
|
|
|
@ -21,6 +21,7 @@ if (!$wishlist->exists) {
|
|||
|
||||
$page = new page(__FILE__, $wishlist->data['name']);
|
||||
$page->header();
|
||||
$page->bodyStart();
|
||||
$page->navigation();
|
||||
?>
|
||||
|
||||
|
@ -84,4 +85,5 @@ $page->navigation();
|
|||
|
||||
<?php
|
||||
$page->footer();
|
||||
$page->bodyEnd();
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue