|
|
@@ -4,7 +4,8 @@ echo '"use strict";', "\n";
|
|
|
|
|
|
$mark = $this->conf->mark_when;
|
|
|
echo 'var ',
|
|
|
- 'hide_posts=', ($this->conf->display_posts || Minz_Request::param('output') === 'reader') ? 'false' : 'true',
|
|
|
+ 'help_url="', FRESHRSS_WIKI, '"',
|
|
|
+ ',hide_posts=', ($this->conf->display_posts || Minz_Request::param('output') === 'reader') ? 'false' : 'true',
|
|
|
',display_order="', Minz_Request::param('order', $this->conf->sort_order), '"',
|
|
|
',auto_mark_article=', $mark['article'] ? 'true' : 'false',
|
|
|
',auto_mark_site=', $mark['site'] ? 'true' : 'false',
|
|
|
@@ -25,7 +26,9 @@ echo ',shortcuts={',
|
|
|
'collapse_entry:"', $s['collapse_entry'], '",',
|
|
|
'load_more:"', $s['load_more'], '",',
|
|
|
'auto_share:"', $s['auto_share'], '",',
|
|
|
- 'focus_search:"', $s['focus_search'], '"',
|
|
|
+ 'focus_search:"', $s['focus_search'], '",',
|
|
|
+ 'user_filter:"', $s['user_filter'], '",',
|
|
|
+ 'help:"', $s['help'], '"',
|
|
|
"},\n";
|
|
|
|
|
|
if (Minz_Request::param ('output') === 'global') {
|