summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/admin_faq.html6
-rw-r--r--templates/admin_faq_edit_form.html41
-rw-r--r--templates/layout.html2
3 files changed, 1 insertions, 48 deletions
diff --git a/templates/admin_faq.html b/templates/admin_faq.html
deleted file mode 100644
index 0eee8d20..00000000
--- a/templates/admin_faq.html
+++ /dev/null
@@ -1,6 +0,0 @@
-%faqs%
-<hr/>Create new FAQ:
-<form action="%link%&action=create" method="post">
-%new_form%
- <input type="submit" name="submit" value="Create" />
-</form>
diff --git a/templates/admin_faq_edit_form.html b/templates/admin_faq_edit_form.html
deleted file mode 100644
index 1ef791aa..00000000
--- a/templates/admin_faq_edit_form.html
+++ /dev/null
@@ -1,41 +0,0 @@
-Edit FAQ:
-<form action="%link%&action=save" method="post">
- <table>
- <tr>
- <td>
- Frage
- </td>
- <td>
- <textarea name="frage">%frage%</textarea>
- </td>
- </tr>
- <tr>
- <td>
- Antwort
- </td>
- <td>
- <textarea name="antwort">%antwort%</textarea>
- </td>
- </tr>
- <tr>
- <td>
- Question
- </td>
- <td>
- <textarea name="question">%question%</textarea>
- </td>
- </tr>
- <tr>
- <td>
- Answer
- </td>
- <td>
- <textarea name="answer">%answer%</textarea>
- </td>
- </tr>
- </table>
- <input type="hidden" name="id" value="%id%" /><input type="submit" name="submit" value="Save" />
-</form><hr/>
-<form action="%link%&action=delete" method="post">
- Delete FAQ: <input type="hidden" name="id" value="%id%" /><input type="submit" name="submit" value="Delete" />
-</form> \ No newline at end of file
diff --git a/templates/layout.html b/templates/layout.html
index e1ecd9b9..936f5660 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -26,7 +26,7 @@
%menu%
<nav class="container small">
<ul>
- <li><a href="?p=faq">FAQ</a></li>
+ <li><a href="%faq_url%">FAQ</a></li>
<li><a href="mailto:erzengel@lists.ccc.de">Contact <img src="pic/icons/email.png" alt="E-Mail"></a></li>
<li><a href="mailto:bugs@engelsystem.de">Bugs / Features <img src="pic/icons/email.png" alt="E-Mail"></a></li>
<li><a href="https://vcs.wybt.net/engelsystem/trac/">Development Platform</a></li>