diff --git a/app/i18n/en.php b/app/i18n/en.php index bd5c7290f..2cd415deb 100644 --- a/app/i18n/en.php +++ b/app/i18n/en.php @@ -214,6 +214,8 @@ return array ( 'forbidden_access' => 'Forbidden access', 'forbidden_access_description' => 'Access is password protected, please sign in to read your feeds.', + 'confirm_action' => 'Are you sure you want perform this action? It cannot be canceled!', + // DATE 'january' => 'january', 'february' => 'february', diff --git a/app/i18n/fr.php b/app/i18n/fr.php index 17a0fb702..fac1ac4f8 100644 --- a/app/i18n/fr.php +++ b/app/i18n/fr.php @@ -214,6 +214,8 @@ return array ( 'forbidden_access' => 'Accès interdit', 'forbidden_access_description' => 'L’accès est protégé par un mot de passe, veuillez vous connecter pour accéder aux flux.', + 'confirm_action' => 'Êtes-vous sûr de vouloir continuer ? Cette action ne peut être annulée !', + // DATE 'january' => 'janvier', 'february' => 'février', 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'); ?> +
diff --git a/app/views/helpers/confirm_action_script.phtml b/app/views/helpers/confirm_action_script.phtml new file mode 100644 index 000000000..f77006fcc --- /dev/null +++ b/app/views/helpers/confirm_action_script.phtml @@ -0,0 +1,5 @@ + \ No newline at end of file