From c06aede546514aa35ab5369575f15710b30a2a23 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Tue, 8 Oct 2013 11:19:49 +0200 Subject: Ajout d'un "popup" de confirmation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On vérifie que l'utilisateur a conscience de ce qu'il fait lorsqu'il supprime un flux ou vide une catégorie --- app/views/configure/categorize.phtml | 4 +++- app/views/configure/feed.phtml | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'app/views/configure') diff --git a/app/views/configure/categorize.phtml b/app/views/configure/categorize.phtml index b6ba5c3c7..9dac49ff8 100644 --- a/app/views/configure/categorize.phtml +++ b/app/views/configure/categorize.phtml @@ -15,7 +15,7 @@
- (nbFeed ()); ?>) + (nbFeed ()); ?>) id () == $this->defaultCategory->id ()) { ?> @@ -39,3 +39,5 @@
+ +renderHelper ('confirm_action_script'); ?> diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtml index 43bcd64b9..49e2f3cf1 100644 --- a/app/views/configure/feed.phtml +++ b/app/views/configure/feed.phtml @@ -106,11 +106,14 @@
- +
+ +renderHelper ('confirm_action_script'); ?> +
-- cgit v1.2.3