summaryrefslogtreecommitdiff
path: root/edit_image.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-12-26 21:46:39 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-12-26 21:46:39 +0000
commit4b1721525110b9517ca34ba83978b86717ed9c70 (patch)
tree7947c070078637f8af6e0428e84fffe062ce7a7b /edit_image.php
parentf7aae91e64d7033e65574d9160ea54306949108b (diff)
downloadfisheye-4b1721525110b9517ca34ba83978b86717ed9c70.tar.gz
fisheye-4b1721525110b9517ca34ba83978b86717ed9c70.tar.bz2
fisheye-4b1721525110b9517ca34ba83978b86717ed9c70.zip
show public if requested
Diffstat (limited to 'edit_image.php')
-rw-r--r--edit_image.php13
1 files changed, 11 insertions, 2 deletions
diff --git a/edit_image.php b/edit_image.php
index 63a7b53..dd8485f 100644
--- a/edit_image.php
+++ b/edit_image.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit_image.php,v 1.12 2006/04/11 13:04:24 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit_image.php,v 1.13 2006/12/26 21:46:39 squareing Exp $
* @package fisheye
* @subpackage functions
*/
@@ -88,7 +88,16 @@ $gContent->loadParentGalleries();
// Get a list of all existing galleries
$gFisheyeGallery = new FisheyeGallery();
-$listHash = array( 'user_id' => $gContent->isValid() ? $gContent->getField( 'user_id' ) : $gBitUser->mUserId, 'max_records' => -1, 'no_thumbnails' => TRUE, 'sort_mode' => 'title_asc', 'show_empty' => TRUE );
+$listHash = array(
+ 'user_id' => $gContent->isValid() ? $gContent->getField( 'user_id' ) : $gBitUser->mUserId,
+ 'max_records'=>-1,
+ 'no_thumbnails'=>TRUE,
+ 'sort_mode'=>'title_asc',
+ 'show_empty' => TRUE,
+);
+if( $gBitSystem->isFeatureActive( 'fisheye_show_public_on_upload' ) ) {
+ $listHash['show_public'] = TRUE;
+}
$galleryList = $gFisheyeGallery->getList( $listHash );
$gBitSmarty->assign_by_ref( 'galleryList', $galleryList['data'] );