Index: cls/channels.php
===================================================================
--- cls/channels.php	(revision 1093)
+++ cls/channels.php	(working copy)
@@ -138,8 +138,10 @@
 	}
 	
 	function render() {		
-		$GLOBALS['rss']->currentFeedsFolder = $this;
-		require($GLOBALS['rss'] ->getTemplateFile("feedsfolder.php"));
+		if ((!getConfig('rss.output.mimimalchannellist')) || ($this->feeds)) {
+			$GLOBALS['rss']->currentFeedsFolder = $this;
+			require($GLOBALS['rss'] ->getTemplateFile("feedsfolder.php"));
+		}
 	}
 }
 
@@ -276,7 +278,10 @@
 			if (!array_key_exists($cparent, $this->folders)) {
 				$this->folders[$cparent] = new FeedFolder($fname, $cparent,$this);
 			}
-			$this->folders[$cparent]->feeds[] = $f;
+			if(($ucc != 0) || (!getConfig('rss.output.mimimalchannellist')))
+			{
+				$this->folders[$cparent]->feeds[] = $f;
+			}
 			$this->folders[$cparent]->isCollapsed = in_array($cparent, $this->collapsed_ids) && ($cparent > 0);
 
 		}
Index: schema.php
===================================================================
--- schema.php	(revision 1093)
+++ schema.php	(working copy)
@@ -285,6 +285,7 @@
 		"rss.output.frontpage.numitems"	=>		array("100","100","num","Maximum number of items displayed on the main page. Set this variable to 0 to show no items on the main page.",NULL),
 		"rss.output.frontpage.mixeditems"	=> array('true','true','boolean','Show read items along with unread items on the front page?',NULL),
 		"rss.output.frontpage.numreaditems"	=> array(-1,-1,'num','If there are no unread items then how many items to show on the frontpage. Set this to -1 if you want it to be the same as rss.output.numitemsonmainpage',NULL),
+		"rss.output.mimimalchannellist"	=> array('false','false','boolean','Exclude folders and channels without unread items in channel list?',NULL),
 		"rss.output.theme"			=>		array('default','default','string','The theme to use. Download more themes from the <a href="http://themes.gregarius.net/">Gregarius Themes Repository</a>.',NULL),
 		"rss.output.cachecontrol"	=>		array('false','false','boolean','If true, Gregarius will negotiate with the browser and check whether it should get a fresh document or not.',NULL),
 		"rss.config.plugins"		=>		array('a:2:{i:0;s:13:"urlfilter.php";i:1;s:18:"roundedcorners.php";}','a:2:{i:0;s:13:"urlfilter.php";i:1;s:18:"roundedcorners.php";}','array','Plugins are third-party scripts that offer extended functionalities. More plugins can be found at the <a href="http://plugins.gregarius.net/">Plugin Repository</a>.' , NULL),
		