summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--admin/admin_fisheye_inc.php6
-rw-r--r--admin/schema_inc.php2
-rw-r--r--edit_image.php4
-rw-r--r--image_order.php4
-rw-r--r--upload.php4
5 files changed, 10 insertions, 10 deletions
diff --git a/admin/admin_fisheye_inc.php b/admin/admin_fisheye_inc.php
index 1e9fcf2..2db2dfd 100644
--- a/admin/admin_fisheye_inc.php
+++ b/admin/admin_fisheye_inc.php
@@ -23,9 +23,9 @@ $formGalleryGeneral = array(
'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'
),
- "fisheye_show_all_to_editors" => array(
- 'label' => 'Show all Galleries to Editors',
- 'note' => 'This will allow gallery editors to upload and move around images in all galleries. This might cause problems on large sites with many galleries.',
+ "fisheye_show_all_to_admins" => array(
+ 'label' => 'Show all Galleries to Administrators',
+ 'note' => 'This will allow gallery admins to upload and move around images in all galleries. This might cause problems on large sites with many galleries.',
'type' => 'checkbox'
),
);
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index fe352ec..2342293 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -89,7 +89,7 @@ $gBitInstaller->registerPreferences( FISHEYE_PKG_NAME, array(
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'),
- array( FISHEYE_PKG_NAME, 'fisheye_show_all_to_editors','y'),
+ array( FISHEYE_PKG_NAME, 'fisheye_show_all_to_admins','y'),
) );
// ### Default User Permissions
diff --git a/edit_image.php b/edit_image.php
index 144dc60..f28ba22 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.14 2006/12/27 14:27:40 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit_image.php,v 1.15 2007/01/01 16:20:46 squareing Exp $
* @package fisheye
* @subpackage functions
*/
@@ -96,7 +96,7 @@ $listHash = array(
'show_empty' => TRUE,
);
// modify listHash according to global preferences
-if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_editors' ) && $gBitUser->hasPermission( 'p_fisheye_edit' ) ) {
+if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_admins' ) && $gBitUser->hasPermission( 'p_fisheye_admin' ) ) {
unset( $listHash['user_id'] );
} elseif( $gBitSystem->isFeatureActive( 'fisheye_show_public_on_upload' ) ) {
$listHash['show_public'] = TRUE;
diff --git a/image_order.php b/image_order.php
index cef5148..38fe44d 100644
--- a/image_order.php
+++ b/image_order.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/image_order.php,v 1.19 2006/12/27 14:27:40 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/image_order.php,v 1.20 2007/01/01 16:20:46 squareing Exp $
* @package fisheye
* @subpackage functions
*/
@@ -189,7 +189,7 @@ $listHash = array(
'show_empty' => TRUE
);
// modify listHash according to global preferences
-if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_editors' ) && $gBitUser->hasPermission( 'p_fisheye_edit' ) ) {
+if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_admins' ) && $gBitUser->hasPermission( 'p_fisheye_admin' ) ) {
unset( $listHash['user_id'] );
} elseif( $gBitSystem->isFeatureActive( 'fisheye_show_public_on_upload' ) ) {
$listHash['show_public'] = TRUE;
diff --git a/upload.php b/upload.php
index fd9596f..bce5e6a 100644
--- a/upload.php
+++ b/upload.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/upload.php,v 1.28 2006/12/27 18:27:00 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/upload.php,v 1.29 2007/01/01 16:20:46 squareing Exp $
* @package fisheye
* @subpackage functions
*/
@@ -95,7 +95,7 @@ $listHash = array(
'show_empty' => TRUE,
);
// modify listHash according to global preferences
-if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_editors' ) && $gBitUser->hasPermission( 'p_fisheye_edit' ) ) {
+if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_admins' ) && $gBitUser->hasPermission( 'p_fisheye_admin' ) ) {
unset( $listHash['user_id'] );
} elseif( $gBitSystem->isFeatureActive( 'fisheye_show_public_on_upload' ) ) {
$listHash['show_public'] = TRUE;