From 1b872b166b27f863b5353c2e341674f73184a81b Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Tue, 11 Jan 2022 21:21:45 +0100 Subject: [PATCH] Added News --- Layout/default/Dashboard/Index.php | 27 +++++ Layout/default/News/Form.php | 8 ++ Layout/default/News/Index.php | 77 +++++++++++++ Layout/default/header.php | 1 + Layout/default/menu.php | 12 +- application/Dashboard/DashboardController.php | 3 +- application/News/News.php | 9 ++ application/News/NewsController.php | 86 ++++++++++++++ application/News/NewsModel.php | 108 ++++++++++++++++++ public/assets/css/thetool.css | 2 +- 10 files changed, 330 insertions(+), 3 deletions(-) create mode 100644 Layout/default/News/Form.php create mode 100644 Layout/default/News/Index.php create mode 100644 application/News/News.php create mode 100644 application/News/NewsController.php create mode 100644 application/News/NewsModel.php diff --git a/Layout/default/Dashboard/Index.php b/Layout/default/Dashboard/Index.php index 5af966692..825ddb73b 100644 --- a/Layout/default/Dashboard/Index.php +++ b/Layout/default/Dashboard/Index.php @@ -16,5 +16,32 @@ + +

Neuigkeiten

+ + +
+
+
+
+ create)?>: + subject): ?> + subject?> + +
+
+
+
text?>
+
+
+ +
+
+
+ + + \ No newline at end of file diff --git a/Layout/default/News/Form.php b/Layout/default/News/Form.php new file mode 100644 index 000000000..3ac00faa6 --- /dev/null +++ b/Layout/default/News/Form.php @@ -0,0 +1,8 @@ + + + +
+
+
+
+ +
+

News

+
+
+
+ + +
+
+ +
+
+

Liste aller News

+ + +
+ +
+
+ Betreff: subject?> +
+
+
text?>
+
+ +
+
+ +
+
+ +
+
+

Neuer Newseintrag

+ +
"> +
+ + +
+
+ + +
+ +
+ +
+
+ +
+
+ +
+
+ + + + + diff --git a/Layout/default/header.php b/Layout/default/header.php index d5ebd691c..a46148c2a 100644 --- a/Layout/default/header.php +++ b/Layout/default/header.php @@ -18,6 +18,7 @@ + diff --git a/Layout/default/menu.php b/Layout/default/menu.php index 1521e7bab..c20243e43 100644 --- a/Layout/default/menu.php +++ b/Layout/default/menu.php @@ -4,11 +4,21 @@