2022-09-23 23:10:13 +03:00
<!DOCTYPE html>
<html lang="en">
2023-05-25 17:23:31 +03:00
<%- include(dataset.getFile(dataset.theme.codename +"/views/extra/meta"), {title: "Setup the Akf-forum!" }) %>
2022-09-23 23:10:13 +03:00
<body style="text-align: center;">
2023-05-25 17:23:31 +03:00
<%- include(dataset.getFile(dataset.theme.codename +"/views/extra/navbar")) %>
2023-05-24 15:40:09 +03:00
2022-09-23 23:10:13 +03:00
<h1 style="color: var(--main);">Setup</h1>
<h2 style="color: var(--second);">There is default settings for akf-forum, you not need to edit them, but you can! And, the first registered user will be admin.</h2>
2023-05-24 15:40:09 +03:00
<form class="search" method="POST">
2022-10-10 00:04:25 +03:00
2022-09-23 23:10:13 +03:00
Forum name:
2023-05-24 15:40:09 +03:00
<input class="input" type="text" name="forum_name" value="akf" required>
2022-09-23 23:10:13 +03:00
Forum description:
2023-05-24 15:40:09 +03:00
<input class="input" type="text" name="description" value="Akf-forum!" required>
2022-09-23 23:10:13 +03:00
Default state for new threads, change with "APPROVAL" for approval system:
2023-05-24 15:40:09 +03:00
<input class="input" type="text" name="default_thread_state" value="OPEN" required>
Default state for new users, change with "APPROVAL" for approval system:
<input class="input" type="text" name="default_thread_state" value="ACTIVE" required>
2022-09-23 23:10:13 +03:00
Domain of the forum, defaulty setted:
2023-05-24 15:40:09 +03:00
<input class="input" type="text" name="host" id="domain" value="Akf-forum!" required>
2023-05-25 17:58:47 +03:00
2022-09-23 23:10:13 +03:00
<input type="submit" class="btn-primary" value="Setup">
</form>
<script>
document.getElementById("domain").value = location.origin;
</script>
</body>
</html>