diff --git a/admin.php b/admin.php index 48461f9..adb0538 100644 --- a/admin.php +++ b/admin.php @@ -13,6 +13,16 @@ $config_data = json_decode($raw_json_config, false); + style)) { + print(""); + } + ?> +

headline ?? "One Word Each"); ?> - Administration

+

Startseite

+ - Du bist angemeldet. +

Archiv erstellen

+ + Bisherige Archive: + + + Neues Archiv:
+
+
+ Vorschau
+ Dateiname:
+ Linktext:
+ Inhalt:
+ @@ -70,5 +96,84 @@ $config_data = json_decode($raw_json_config, false); endif; ?>

+ + + diff --git a/archive_creator.php b/archive_creator.php new file mode 100644 index 0000000..d519a93 --- /dev/null +++ b/archive_creator.php @@ -0,0 +1,21 @@ +\n".$linktext.""; + file_put_contents("data/archive-links.txt", $html_link, FILE_APPEND); + http_response_code(200); + print("Neues Archiv erstellt."); +} + +?>