Fixes more root references
This commit is contained in:
parent
85e8307cd3
commit
9f12fad184
|
@ -92,7 +92,7 @@
|
|||
<?php endif; ?>
|
||||
<details>
|
||||
<summary>New Post</summary>
|
||||
<form action="/new-post.php" method="post">
|
||||
<form action="new-post.php" method="post">
|
||||
<h2>New Post</h2>
|
||||
<p>
|
||||
<label>Title: <input type="text" name="post_title"></label>
|
||||
|
@ -150,7 +150,7 @@ HTML;
|
|||
</details>
|
||||
<details>
|
||||
<summary>Upload Media</summary>
|
||||
<form action="/upload.php" method="post" enctype="multipart/form-data">
|
||||
<form action="upload.php" method="post" enctype="multipart/form-data">
|
||||
<h2>New Media</h2>
|
||||
<p>
|
||||
<label>File: <input type="file" name="mediaUpload"></label>
|
||||
|
|
|
@ -1,56 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title><?php echo $page_title; ?></title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1><?php echo $site_name; ?></h1>
|
||||
</header>
|
||||
<main>
|
||||
<form action="/new-post.php">
|
||||
<h2>New Post</h2>
|
||||
<label>Title: <input type="text" name="post_title"></label>
|
||||
<label>Post (markdown):<br><textarea name="post_body"></textarea>
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
<hr class="small-divider">
|
||||
<details>
|
||||
<summary>Posts</summary>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Post Title</th>
|
||||
<th>Post Date</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</details>
|
||||
<hr>
|
||||
<form action="/new-post.php">
|
||||
<h2>New Page</h2>
|
||||
<label>Page Name <input type="text" name="page_name"></label>
|
||||
<label>Add to menu? <input type="checkbox" name="page_in_menu"></label>
|
||||
<label>Post (markdown):<br><textarea name="page_body"></textarea>
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
<hr class="small-divider">
|
||||
<details>
|
||||
<summary>Pages</summary>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Page URL</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</details>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
|
@ -71,7 +71,7 @@ PHP;
|
|||
</p>
|
||||
<?php endif; ?>
|
||||
<div class="slant"></div>
|
||||
<form action="/blog_log.php" method="post">
|
||||
<form action="blog_log.php" method="post">
|
||||
<h1>Log In</h1>
|
||||
<p>
|
||||
<label>Username<br><input type="text" required name="user" <?php echo $invalid ? 'aria-describedby="error-message"' : ''; ?>></label>
|
||||
|
|
Loading…
Reference in New Issue