diff --git a/app/i18n/en.php b/app/i18n/en.php index 4dbfde715..209bbcd87 100644 --- a/app/i18n/en.php +++ b/app/i18n/en.php @@ -119,7 +119,7 @@ return array ( 'or' => 'or', 'informations' => 'Informations', - 'feed_in_error' => 'This feed has encountered a problem. Please verify that it is always reachable.', + 'feed_in_error' => 'This feed has encountered a problem. Please verify that it is always reachable then actualize it.', 'website_url' => 'Website URL', 'feed_url' => 'Feed URL', 'number_articles' => 'Number of articles', diff --git a/app/i18n/fr.php b/app/i18n/fr.php index 7a58b984c..172f06953 100644 --- a/app/i18n/fr.php +++ b/app/i18n/fr.php @@ -119,7 +119,7 @@ return array ( 'or' => 'ou', 'informations' => 'Informations', - 'feed_in_error' => 'Ce flux a rencontré un problème. Veuillez vérifier qu\'il est toujours accessible.', + 'feed_in_error' => 'Ce flux a rencontré un problème. Veuillez vérifier qu\'il est toujours accessible puis actualisez-le.', 'website_url' => 'URL du site', 'feed_url' => 'URL du flux', 'number_articles' => 'Nombre d\'articles', diff --git a/app/models/Feed.php b/app/models/Feed.php index 15568d06a..4c6a3d229 100644 --- a/app/models/Feed.php +++ b/app/models/Feed.php @@ -292,7 +292,7 @@ class FeedDAO extends Model_pdo { } public function updateLastUpdate ($id) { - $sql = 'UPDATE feed SET lastUpdate=? WHERE id=?'; + $sql = 'UPDATE feed SET lastUpdate=?, error=0 WHERE id=?'; $stm = $this->bd->prepare ($sql); $values = array ( diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtml index 650da5641..ec2ff3bdb 100644 --- a/app/views/configure/feed.phtml +++ b/app/views/configure/feed.phtml @@ -31,6 +31,14 @@ flux->url (); ?> +
+ +
+ + + +
+