From fe0f414dc0211a4014581dc03fcfd514ed7ed02d Mon Sep 17 00:00:00 2001
From: Jonas Kohl
Date: Thu, 17 Oct 2024 10:56:01 +0200
Subject: Transition templating to Twig
---
src/application/views/alert_error.php | 10 -
src/application/views/alert_info.php | 9 -
src/application/views/alert_success.php | 9 -
src/application/views/form_addpost.php | 53 -----
src/application/views/form_delete_post_confirm.php | 26 ---
.../views/form_delete_topic_confirm.php | 24 --
src/application/views/form_login.php | 51 -----
src/application/views/form_new_password.php | 38 ---
src/application/views/form_newtopic.php | 60 -----
src/application/views/form_password_reset.php | 41 ----
src/application/views/form_register.php | 88 -------
src/application/views/form_search.php | 30 ---
src/application/views/nav_guest.php | 23 --
src/application/views/nav_logged_in.php | 12 -
src/application/views/template_end.php | 165 -------------
src/application/views/template_navigation.php | 9 -
src/application/views/template_navigation_end.php | 4 -
.../views/template_navigation_start.php | 15 --
src/application/views/template_start.php | 30 ---
src/application/views/view_logintoreply.php | 7 -
src/application/views/view_post.php | 150 ------------
src/application/views/view_search_results.php | 35 ---
src/application/views/view_topic_end.php | 0
src/application/views/view_topic_locked.php | 4 -
src/application/views/view_topic_start.php | 254 ---------------------
src/application/views/view_topiclog.php | 67 ------
src/application/views/view_topics.php | 24 --
src/application/views/view_user.php | 209 -----------------
28 files changed, 1447 deletions(-)
delete mode 100644 src/application/views/alert_error.php
delete mode 100644 src/application/views/alert_info.php
delete mode 100644 src/application/views/alert_success.php
delete mode 100644 src/application/views/form_addpost.php
delete mode 100644 src/application/views/form_delete_post_confirm.php
delete mode 100644 src/application/views/form_delete_topic_confirm.php
delete mode 100644 src/application/views/form_login.php
delete mode 100644 src/application/views/form_new_password.php
delete mode 100644 src/application/views/form_newtopic.php
delete mode 100644 src/application/views/form_password_reset.php
delete mode 100644 src/application/views/form_register.php
delete mode 100644 src/application/views/form_search.php
delete mode 100644 src/application/views/nav_guest.php
delete mode 100644 src/application/views/nav_logged_in.php
delete mode 100644 src/application/views/template_end.php
delete mode 100644 src/application/views/template_navigation.php
delete mode 100644 src/application/views/template_navigation_end.php
delete mode 100644 src/application/views/template_navigation_start.php
delete mode 100644 src/application/views/template_start.php
delete mode 100644 src/application/views/view_logintoreply.php
delete mode 100644 src/application/views/view_post.php
delete mode 100644 src/application/views/view_search_results.php
delete mode 100644 src/application/views/view_topic_end.php
delete mode 100644 src/application/views/view_topic_locked.php
delete mode 100644 src/application/views/view_topic_start.php
delete mode 100644 src/application/views/view_topiclog.php
delete mode 100644 src/application/views/view_topics.php
delete mode 100644 src/application/views/view_user.php
(limited to 'src/application/views')
diff --git a/src/application/views/alert_error.php b/src/application/views/alert_error.php
deleted file mode 100644
index e3b48ba..0000000
--- a/src/application/views/alert_error.php
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-= $message; ?>
-
diff --git a/src/application/views/alert_info.php b/src/application/views/alert_info.php
deleted file mode 100644
index 7bf2e7b..0000000
--- a/src/application/views/alert_info.php
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-= $message; ?>
-
diff --git a/src/application/views/alert_success.php b/src/application/views/alert_success.php
deleted file mode 100644
index de3e023..0000000
--- a/src/application/views/alert_success.php
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-= $message; ?>
-
diff --git a/src/application/views/form_addpost.php b/src/application/views/form_addpost.php
deleted file mode 100644
index b2fb2f2..0000000
--- a/src/application/views/form_addpost.php
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
- $_formError]);
-}
-?>
-
diff --git a/src/application/views/form_delete_post_confirm.php b/src/application/views/form_delete_post_confirm.php
deleted file mode 100644
index e127235..0000000
--- a/src/application/views/form_delete_post_confirm.php
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
= __("Do you want to delete this post?") ?>
-
-
- = __("Are you sure you want to delete the following post:") ?>
- true
- ]) ?>
-
-
-
diff --git a/src/application/views/form_delete_topic_confirm.php b/src/application/views/form_delete_topic_confirm.php
deleted file mode 100644
index 4f9deec..0000000
--- a/src/application/views/form_delete_topic_confirm.php
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
= __("Do you want to delete this topic?") ?>
-
-
- = __("Are you sure you want to delete the topic %topic% including all posts and attachments?", [
- "topic" => htmlentities($topic->title),
- ]) ?>
-
-
-
diff --git a/src/application/views/form_login.php b/src/application/views/form_login.php
deleted file mode 100644
index 5fa79ad..0000000
--- a/src/application/views/form_login.php
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
diff --git a/src/application/views/form_new_password.php b/src/application/views/form_new_password.php
deleted file mode 100644
index 7431bd5..0000000
--- a/src/application/views/form_new_password.php
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
diff --git a/src/application/views/form_newtopic.php b/src/application/views/form_newtopic.php
deleted file mode 100644
index e7050c7..0000000
--- a/src/application/views/form_newtopic.php
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
- $_formError]);
-}
-?>
-
diff --git a/src/application/views/form_password_reset.php b/src/application/views/form_password_reset.php
deleted file mode 100644
index 57d8ed2..0000000
--- a/src/application/views/form_password_reset.php
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
- $_formError]);
-}
-?>
-
-
-
diff --git a/src/application/views/form_register.php b/src/application/views/form_register.php
deleted file mode 100644
index 54da2c4..0000000
--- a/src/application/views/form_register.php
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/application/views/form_search.php b/src/application/views/form_search.php
deleted file mode 100644
index 394a0e7..0000000
--- a/src/application/views/form_search.php
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
- $_formError]);
-}
-?>
-
diff --git a/src/application/views/nav_guest.php b/src/application/views/nav_guest.php
deleted file mode 100644
index 95c236e..0000000
--- a/src/application/views/nav_guest.php
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
\ No newline at end of file
diff --git a/src/application/views/nav_logged_in.php b/src/application/views/nav_logged_in.php
deleted file mode 100644
index 8dbb325..0000000
--- a/src/application/views/nav_logged_in.php
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
diff --git a/src/application/views/template_end.php b/src/application/views/template_end.php
deleted file mode 100644
index b162def..0000000
--- a/src/application/views/template_end.php
+++ /dev/null
@@ -1,165 +0,0 @@
-
-
-
-
-
-
-
-