From 5aa9c604943cbb93f4d401914dafeedfddb0007e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 1 Dec 2018 01:03:01 +0300 Subject: bring back (debloated) version of unexpanded combined mode --- include/functions.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index a30a3cf4f..f6d09fe67 100755 --- a/include/functions.php +++ b/include/functions.php @@ -1164,6 +1164,7 @@ "feed_debug_viewfeed" => __("Debug viewfeed()"), "catchup_all" => __("Mark all feeds as read"), "cat_toggle_collapse" => __("Un/collapse current category"), + "toggle_cdm_expanded" => __("Toggle auto expand in combined mode"), "toggle_combined_mode" => __("Toggle combined mode")), __("Go to") => array( "goto_all" => __("All articles"), @@ -1232,6 +1233,7 @@ "f *d" => "feed_debug_update", "f *g" => "feed_debug_viewfeed", "f *c" => "toggle_combined_mode", + "f c" => "toggle_cdm_expanded", "*q" => "catchup_all", "x" => "cat_toggle_collapse", // "goto" => array( @@ -1306,6 +1308,7 @@ $data["num_feeds"] = (int) $num_feeds; $data['last_article_id'] = Article::getLastArticleId(); + $data['cdm_expanded'] = get_pref('CDM_EXPANDED'); $data['dep_ts'] = calculate_dep_timestamp(); $data['reload_on_ts_change'] = !defined('_NO_RELOAD_ON_TS_CHANGE'); -- cgit v1.2.3