- Timestamp:
- 02/03/08 14:43:25 (10 months ago)
- Location:
- trunk/gregarius
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/feed.php
r1714 r1780 34 34 define ('ACT_NAV_SUCC_POSTFIX',' →'); 35 35 36 37 38 39 36 // Show unread items on the front page? 40 37 // default to the config value, user can override this via a cookie … … 261 258 $iid = $cid = null; 262 259 } 263 264 265 266 260 267 261 // If we have no channel-id something went terribly wrong. … … 728 722 729 723 function doItems($cids,$fid,$vfid,$title,$iid,$y,$m,$d,$nv,$show_what,$show_private) { 730 731 724 $do_show=$show_what; 732 725 … … 762 755 } 763 756 764 $items = new PaginatedItemList(); 757 if(array_key_exists('count', $_GET) && !empty($_GET['count'])) { 758 $items = new PaginatedItemList($_GET['count']); 759 } else { 760 $items = new PaginatedItemList(); 761 } 762 765 763 $severalFeeds = (($fid != null) || ($vfid != null)); 766 764 -
trunk/gregarius/index.php
r1754 r1780 128 128 129 129 _pf('populate unread items'); 130 $unreadItems = new PaginatedItemList(); 130 if(array_key_exists('count', $_GET) && !empty($_GET['count'])) { 131 $unreadItems = new PaginatedItemList($_GET['count']); 132 } else { 133 $unreadItems = new PaginatedItemList(); 134 } 135 131 136 $numItems = getConfig('rss.output.frontpage.numitems'); 132 137 … … 238 243 } 239 244 240 241 245 ?>
