1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00
freshrss_ynh/sources/app/views/javascript/actualize.phtml
2016-07-24 12:51:49 +02:00

13 lines
410 B
PHTML
Executable file

<?php
$feeds = array();
foreach ($this->feeds as $feed) {
$feeds[] = array(
'url' => Minz_Url::display(array('c' => 'feed', 'a' => 'actualize', 'params' => array('id' => $feed->id(), 'ajax' => '1')), 'php'),
'title' => $feed->name(),
);
}
echo json_encode(array(
'feeds' => $feeds,
'feedback_no_refresh' => _t('feedback.sub.feed.no_refresh'),
'feedback_actualize' => _t('feedback.sub.actualize'),
));