summaryrefslogtreecommitdiff
path: root/FisheyeGallery.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-09-15 02:44:57 +0000
committerChristian Fowler <spider@viovio.com>2006-09-15 02:44:57 +0000
commit9951bec0c9435ea5ea7c9e23c72cd05bde20d075 (patch)
treec7dc473980dd12b7ff68db56a9fb8208e1ba3841 /FisheyeGallery.php
parentcf9b37e2a6af8f31e5740dab33ec355ca63e2083 (diff)
downloadfisheye-9951bec0c9435ea5ea7c9e23c72cd05bde20d075.tar.gz
fisheye-9951bec0c9435ea5ea7c9e23c72cd05bde20d075.tar.bz2
fisheye-9951bec0c9435ea5ea7c9e23c72cd05bde20d075.zip
add getLayout call, clean up some pagination, more needed
Diffstat (limited to 'FisheyeGallery.php')
-rw-r--r--FisheyeGallery.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/FisheyeGallery.php b/FisheyeGallery.php
index 1709c84..30b2146 100644
--- a/FisheyeGallery.php
+++ b/FisheyeGallery.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.37 2006/09/08 00:48:14 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.38 2006/09/15 02:44:57 spiderr Exp $
* @package fisheye
*/
@@ -483,6 +483,15 @@ vd( $this->mErrors );
}
/**
+ * Returns the layout of the gallery accounting for various defaults
+ * @return the layout string preference
+ */
+ function getLayout() {
+ global $gBitSystem;
+ return $this->getPreference( 'gallery_pagination', $gBitSystem->getConfig( 'default_gallery_pagination', 'fixed_grid' ) );
+ }
+
+ /**
* Returns include file that will
* @return the fully specified path to file to be included
*/