From f8887806a07eef84583464c4aa5c8ecdf49255cf Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 15 Mar 2021 16:46:59 +0100 Subject: [PATCH] =?UTF-8?q?Bouton=20=C3=A9dition=20l=C3=A9ger=20blog=20et?= =?UTF-8?q?=20download?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/blog/view/article/article.php | 33 +++++++++++-------------- module/download/view/item/item.php | 36 +++++++++++++--------------- 2 files changed, 31 insertions(+), 38 deletions(-) diff --git a/module/blog/view/article/article.php b/module/blog/view/article/article.php index 2e07f34d..62263c9a 100755 --- a/module/blog/view/article/article.php +++ b/module/blog/view/article/article.php @@ -10,7 +10,7 @@
-
+
@@ -22,19 +22,7 @@ : utf8_encode(strftime('%H:%M', $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'publishedOn']))); echo $date . ' à ' . $heure; ?> - - getData(['module',$this->getUrl(0), 'config', 'feeds'])): ?> - - -
-
+ getUser('password') === $this->getInput('ZWII_USER_PASSWORD') @@ -59,12 +47,19 @@ ) ): ?> - + Editer - helper::baseUrl() . $this->getUrl(0) . '/edit/' . $this->getUrl(1) . '/' . $_SESSION['csrf'], - 'value' => template::ico('pencil') - ]); ?> + + + getData(['module',$this->getUrl(0), 'config', 'feeds'])): ?> +
diff --git a/module/download/view/item/item.php b/module/download/view/item/item.php index 2eeba01c..5831143b 100644 --- a/module/download/view/item/item.php +++ b/module/download/view/item/item.php @@ -6,7 +6,7 @@
-
+
getData(['module', $this->getUrl(0), 'items', $this->getUrl(1), 'publishedOn'])), 'UTF-8', true) @@ -17,20 +17,8 @@ : utf8_encode(strftime('%H:%M', $this->getData(['module', $this->getUrl(0), 'items', $this->getUrl(1), 'publishedOn']))); echo $date . ' à ' . $heure; ?> - - getData(['module',$this->getUrl(0), 'config', 'feeds'])): ?> - - + -
-
getUser('password') === $this->getInput('ZWII_USER_PASSWORD') AND @@ -53,11 +41,21 @@ ) ) ): ?> - helper::baseUrl() . $this->getUrl(0) . '/edit/' . $this->getUrl(1) . '/' . $_SESSION['csrf'], - 'value' => template::ico('pencil') - ]); ?> - + + Editer + + + + getData(['module',$this->getUrl(0), 'config', 'feeds'])): ?> + +