diff options
Diffstat (limited to 'views')
| -rw-r--r-- | views/sample_archive/index.html | 13 | ||||
| -rw-r--r-- | views/sample_archive/index.php | 11 |
2 files changed, 11 insertions, 13 deletions
diff --git a/views/sample_archive/index.html b/views/sample_archive/index.html deleted file mode 100644 index ea21c31..0000000 --- a/views/sample_archive/index.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<html lang="bg"> -<head> - <meta charset="UTF-8"> - <title>Archive a page</title> -</head> -<body> - <form action="../../src/archive_page.php" method="POST"> - <input type="text" name="page_url"> - <input type="submit" name"archive_page_button"> - </form> -</body> -</html> diff --git a/views/sample_archive/index.php b/views/sample_archive/index.php new file mode 100644 index 0000000..9d7addd --- /dev/null +++ b/views/sample_archive/index.php @@ -0,0 +1,11 @@ +<?php + include '../meta.php'; + runController('archive_page'); +?> + +<form action="/sample_archive/index.php" method="POST"> + <input type="text" name="page_url"> + <input type="submit" name="archive_page_button"> +</form> + +<?php end_page(); ?> |
