summaryrefslogtreecommitdiff
path: root/admin
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 /admin
parentccf2d5ec60e64b924bbb3e0c4462a3c995531615 (diff)
downloadfisheye-2f54b21f30275fd9bd7413a0ba7c84f6f582482e.tar.gz
fisheye-2f54b21f30275fd9bd7413a0ba7c84f6f582482e.tar.bz2
fisheye-2f54b21f30275fd9bd7413a0ba7c84f6f582482e.zip
make public gallery display during file upload optional
Diffstat (limited to 'admin')
-rw-r--r--admin/admin_fisheye_inc.php5
-rw-r--r--admin/schema_inc.php5
2 files changed, 8 insertions, 2 deletions
diff --git a/admin/admin_fisheye_inc.php b/admin/admin_fisheye_inc.php
index d8289b5..e35ad4b 100644
--- a/admin/admin_fisheye_inc.php
+++ b/admin/admin_fisheye_inc.php
@@ -18,6 +18,11 @@ $formGalleryGeneral = array(
'note' => 'Thumbnails will be queued and regenerated by a background command-line script. For more information, see '.FISHEYE_PKG_PATH.'thumbaniler.php or you can <a href="'.FISHEYE_PKG_URL.'thumbnailer.php">run it manually</a>',
'type' => 'checkbox'
)
+ "fisheye_show_public_on_upload" => array(
+ 'label' => 'Show Public Galleries on Upload',
+ 'note' => 'Enable this if you want to have all public galleries visible when uploading files. This might cause problems on large sites with many public galleries.',
+ 'type' => 'checkbox'
+ )
);
if( !$gBitSystem->isPackageActive( 'gigaupload' ) ) {
$formGalleryGeneral["fisheye_extended_upload_slots"] = array(
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index 55c8081..818f99f 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -87,8 +87,9 @@ $gBitInstaller->registerPreferences( FISHEYE_PKG_NAME, array(
array( FISHEYE_PKG_NAME, 'fisheye_image_list_description','y'),
array( FISHEYE_PKG_NAME, 'fisheye_image_default_thumbnail_size','medium'),
array( FISHEYE_PKG_NAME, 'fisheye_menu_text','Image Galleries'),
- )
-);
+ // more intuitive if we can see all galleries we can upload images to
+ array( FISHEYE_PKG_NAME, 'fisheye_show_public_on_upload','y'),
+) );
// ### Default User Permissions
$gBitInstaller->registerUserPermissions( FISHEYE_PKG_NAME, array(