summaryrefslogtreecommitdiff
path: root/upload.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-11-10 16:39:49 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-11-10 16:39:49 +0000
commit2f54b21f30275fd9bd7413a0ba7c84f6f582482e (patch)
tree7370f1b49b6883ad26ff531c3d2ca490a65cdf94 /upload.php
parentccf2d5ec60e64b924bbb3e0c4462a3c995531615 (diff)
downloadfisheye-2f54b21f30275fd9bd7413a0ba7c84f6f582482e.tar.gz
fisheye-2f54b21f30275fd9bd7413a0ba7c84f6f582482e.tar.bz2
fisheye-2f54b21f30275fd9bd7413a0ba7c84f6f582482e.zip
make public gallery display during file upload optional
Diffstat (limited to 'upload.php')
-rw-r--r--upload.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/upload.php b/upload.php
index 2320b73..8b18675 100644
--- a/upload.php
+++ b/upload.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/upload.php,v 1.20 2006/11/10 15:49:13 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/upload.php,v 1.21 2006/11/10 16:39:49 squareing Exp $
* @package fisheye
* @subpackage functions
*/
@@ -86,6 +86,9 @@ $listHash = array(
'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'] );