From 5fc72aa7feb3212ad9b9c1c71cd2a647dabc6ab6 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Sat, 9 Nov 2013 23:16:13 +0100 Subject: Lance une actualisation des flux après import OPML MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le script d'actualisation est lancé après avoir importé les flux automatiquement Voir issue #196 --- app/views/helpers/javascript_vars.phtml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app/views/helpers') diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml index 101c2e001..58cb3c5ac 100644 --- a/app/views/helpers/javascript_vars.phtml +++ b/app/views/helpers/javascript_vars.phtml @@ -31,4 +31,9 @@ echo 'load_shortcuts=', Request::controllerName () === 'index' && Request::actionName () === 'index' ? 'true' : 'false', ",\n"; - echo 'str_confirmation="', Translate::t('confirm_action'), '"', ";\n"; + echo 'str_confirmation="', Translate::t('confirm_action'), '"', ",\n"; + + echo 'auto_actualize_feeds=', Session::param('actualize_feeds', false) ? 'true' : 'false', ";\n"; + if (Session::param('actualize_feeds', false)) { + Session::_param('actualize_feeds'); + } -- cgit v1.2.3