diff options
| author | Syndamia <kamen@syndamia.com> | 2025-01-18 20:59:11 +0200 |
|---|---|---|
| committer | Kamen Mladenov <kamen@syndamia.com> | 2025-01-19 07:46:17 +0200 |
| commit | e9af7ba259281472e299ae06daee361b44cfdb42 (patch) | |
| tree | 84a5789f07e31b6c03f40202e650ed05ee9c5c4a /views | |
| parent | 68f9981680844e876636369cb07137b351b23989 (diff) | |
| download | nowayforward_human-e9af7ba259281472e299ae06daee361b44cfdb42.tar nowayforward_human-e9af7ba259281472e299ae06daee361b44cfdb42.tar.gz nowayforward_human-e9af7ba259281472e299ae06daee361b44cfdb42.zip | |
feat(views): Rework sample_archive into the new format
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(); ?> |
