plugins/gallery/browser.php
changeset 34 5e9bd8e5c6bf
parent 17 ecb96b051d08
child 38 512951548faa
equal deleted inserted replaced
33:6dc190e2158b 34:5e9bd8e5c6bf
   439   $renderer = new SnaprFormatter();
   439   $renderer = new SnaprFormatter();
   440   $callers = array(
   440   $callers = array(
   441     'img_id' => array($renderer, 'render')
   441     'img_id' => array($renderer, 'render')
   442     );
   442     );
   443   
   443   
   444   $renderer->icons_per_row = $rows_in_browser;
   444   $renderer->icons_per_row = 5;
   445   
   445   
   446   $start = 0;
   446   $start = 0;
   447   if ( isset($_GET['start']) && preg_match('/^[0-9]+$/', $_GET['start']) )
   447   if ( isset($_GET['start']) && preg_match('/^[0-9]+$/', $_GET['start']) )
   448   {
   448   {
   449     $start = intval($_GET['start']);
   449     $start = intval($_GET['start']);