Show
Ignore:
Timestamp:
02/03/08 14:43:25 (10 months ago)
Author:
cfriesen
Message:

Allow manual setting of output count by setting a GET variable

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/index.php

    r1754 r1780  
    128128 
    129129    _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     
    131136    $numItems = getConfig('rss.output.frontpage.numitems'); 
    132137     
     
    238243} 
    239244 
    240  
    241245?>