summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2009-03-30 15:02:44 +0000
committerLester Caine <lester@lsces.co.uk>2009-03-30 15:02:44 +0000
commite480dc15a5f637ff50f62928361db9450e39835f (patch)
treeb3945e0cd9ad1ed6997af7ae886a83fb3c46d786 /edit.php
parentf902ca35de984cf4013226976a3efb82f77848ba (diff)
downloadfisheye-e480dc15a5f637ff50f62928361db9450e39835f.tar.gz
fisheye-e480dc15a5f637ff50f62928361db9450e39835f.tar.bz2
fisheye-e480dc15a5f637ff50f62928361db9450e39835f.zip
Fix setting of number of entries for simple_list and ajax_scroller
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/edit.php b/edit.php
index 7bf502b..70e6e00 100644
--- a/edit.php
+++ b/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit.php,v 1.34 2009/03/30 13:23:01 lsces Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit.php,v 1.35 2009/03/30 15:02:44 lsces Exp $
* @package fisheye
* @subpackage functions
*/
@@ -42,6 +42,12 @@ if( !empty( $_REQUEST['savegallery'] ) ) {
if( $_REQUEST['gallery_pagination'] == 'auto_flow' ) {
$_REQUEST['rows_per_page'] = $_REQUEST['total_per_page'];
$_REQUEST['cols_per_page'] = '1';
+ } elseif ( $_REQUEST['gallery_pagination'] == 'simple_list' ) {
+ $_REQUEST['rows_per_page'] = $_REQUEST['lines_per_page'];
+ $_REQUEST['cols_per_page'] = '1';
+ } elseif ( $_REQUEST['gallery_pagination'] == 'ajax_scroller' ) {
+ $_REQUEST['rows_per_page'] = $_REQUEST['images_per_page'];
+ $_REQUEST['cols_per_page'] = '1';
}
if( $gContent->store( $_REQUEST ) ) {