From e1762e7764d4ee4f37757ecd2630f62a440dbf0e Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Thu, 20 Jul 2017 02:22:18 +0200 Subject: replaced template_render with dynamic renderer class --- public/index.php | 2 +- public/maintenance.html | 86 ------------------------------------------------- 2 files changed, 1 insertion(+), 87 deletions(-) delete mode 100644 public/maintenance.html (limited to 'public') diff --git a/public/index.php b/public/index.php index 52f32438..f22721c8 100644 --- a/public/index.php +++ b/public/index.php @@ -166,7 +166,7 @@ if ( $event_config = EventConfig(); -echo template_render(__DIR__ . '/../templates/layout.html', [ +echo view(__DIR__ . '/../templates/layout.html', [ 'theme' => isset($user) ? $user['color'] : config('theme'), 'title' => $title, 'atom_link' => ($page == 'news' || $page == 'user_meetings') diff --git a/public/maintenance.html b/public/maintenance.html deleted file mode 100644 index 3f7dae8a..00000000 --- a/public/maintenance.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - Maintenance - Engelsystem - - - - - - - - - - -
-
-
-
-

- - - -

-
-

- The ENGELSYSTEM is in maintenance mode. -

-

This may be due to...

-

- ...archangels closing the gates of heaven.
- ...somebody's stolen the power chord and now the battery is empty.
- ...DHCP decided to give me another ip address. -

-
-
- -
-
-
-
-
- -
-
- - - - - - - - - - -- cgit v1.2.3-54-g00ecf