diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-08-01 18:40:27 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-08-01 18:40:27 +0000 |
| commit | e0855901be732e522fb3e300b2e70af702124464 (patch) | |
| tree | 8f6a68c00ad0bebdb986586ef5287242e2bd4cc6 /edit_gallery_perms.php | |
| parent | 18c7d1bed3043cbb682431cc297f4d235b137d1e (diff) | |
| download | fisheye-e0855901be732e522fb3e300b2e70af702124464.tar.gz fisheye-e0855901be732e522fb3e300b2e70af702124464.tar.bz2 fisheye-e0855901be732e522fb3e300b2e70af702124464.zip | |
merge recent changes with HEAD - R1 and HEAD are identical now
Diffstat (limited to 'edit_gallery_perms.php')
| -rw-r--r-- | edit_gallery_perms.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/edit_gallery_perms.php b/edit_gallery_perms.php index f89a18a..c0d4266 100644 --- a/edit_gallery_perms.php +++ b/edit_gallery_perms.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit_gallery_perms.php,v 1.2 2005/06/28 07:45:42 spiderr Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit_gallery_perms.php,v 1.3 2005/08/01 18:40:07 squareing Exp $ * @package fisheye * @subpackage functions */ @@ -17,7 +17,7 @@ global $gBitSystem, $fisheyePermNameMap; // Make sure an gallery has been specified if (empty($_REQUEST['gallery_id'])) { - $smarty->assign('msg', tra("No gallery specified")); + $gBitSmarty->assign('msg', tra("No gallery specified")); $gBitSystem->display( "error.tpl" ); die; } @@ -25,12 +25,12 @@ if (empty($_REQUEST['gallery_id'])) { include_once( FISHEYE_PKG_PATH.'gallery_lookup_inc.php' ); if (empty($gContent->mContentId)) { - $smarty->assign( 'msg', tra( "The specified gallery does not exist" )); + $gBitSmarty->assign( 'msg', tra( "The specified gallery does not exist" )); $gBitSystem->display("error.tpl"); die; } elseif ($gContent->mInfo['user_id'] != $gBitUser->mUserId && $gContent->mInfo['perm_level'] < FISHEYE_PERM_ADMIN) { // This user does not own this gallery and they have not been granted the permission to edit user permissions for this gallery - $smarty->assign( 'msg', tra( "You cannot edit this image gallery" ) ); + $gBitSmarty->assign( 'msg', tra( "You cannot edit this image gallery" ) ); $gBitSystem->display( "error.tpl" ); die; } @@ -44,7 +44,7 @@ if (!empty($_REQUEST['submitNewPermissions'])) { } $userPerms = $gContent->getAllUserPermissions(); -$smarty->assign_by_ref('userPerms', $userPerms); +$gBitSmarty->assign_by_ref('userPerms', $userPerms); if (!empty($_REQUEST['submitUpdatePerms'])) { $existingPerms = $_REQUEST['existingPerms']; |
