From 8b6848dfb5d469076f05be226e862fab928cd53f Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Wed, 16 Oct 2019 18:06:37 +0200 Subject: generate better media codes and remove w-nav menu --- app/view/templates/admin.php | 24 ------------------------ app/view/templates/alert.php | 5 ----- app/view/templates/media.php | 16 +--------------- app/view/templates/read.php | 12 +----------- 4 files changed, 2 insertions(+), 55 deletions(-) (limited to 'app/view') diff --git a/app/view/templates/admin.php b/app/view/templates/admin.php index 97442ac..c1f3b73 100644 --- a/app/view/templates/admin.php +++ b/app/view/templates/admin.php @@ -204,30 +204,6 @@ (This modifications need re-rendering) -

Edit quick menu

- -
- - > - -
- - - - - diff --git a/app/view/templates/alert.php b/app/view/templates/alert.php index 0adfc9a..24f77ed 100644 --- a/app/view/templates/alert.php +++ b/app/view/templates/alert.php @@ -23,12 +23,7 @@ $this->stop();
- insert('navart', ['user' => $user, 'art' => $art, 'artexist' => $artexist, 'canedit' => $canedit]); - } - ?> diff --git a/app/view/templates/media.php b/app/view/templates/media.php index 0f60368..ecd61b8 100644 --- a/app/view/templates/media.php +++ b/app/view/templates/media.php @@ -141,21 +141,7 @@ foreach ($medialist as $media) { width() ?> height() ?> length() ?> - - type() == 'image') { - ?> - ![id() ?>](getincludepath() ?>) - type() == 'other') { - ?> - [id() ?>](getincludepath() ?>) - getincludepath(); - } - ?> - + getcode() ?> stop(); - - insert('navart', ['user' => $user, 'art' => $art, 'artexist' => $artexist, 'canedit' => $canedit]); - } - - - - echo $body; - - ?> + -- cgit v1.2.3