mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
13 lines
410 B
PHTML
Executable file
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'),
|
|
));
|