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_image.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_image.php')
| -rw-r--r-- | edit_image.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/edit_image.php b/edit_image.php index 619cefb..83818b3 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.3 2005/07/17 17:36:02 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit_image.php,v 1.4 2005/08/01 18:40:07 squareing Exp $ * @package fisheye * @subpackage functions */ @@ -20,7 +20,7 @@ include_once( FISHEYE_PKG_PATH.'image_lookup_inc.php' ); if ( (!empty($gContent->mImageId)) && ($gContent->mInfo['user_id'] != $gBitUser->mUserId && !$gBitUser->isAdmin()) ) { // This user does not own this image and they are not an Administrator - $smarty->assign( 'msg', tra( "You do not own this image!" ) ); + $gBitSmarty->assign( 'msg', tra( "You do not own this image!" ) ); $gBitSystem->display( "error.tpl" ); die; } @@ -28,7 +28,7 @@ if ( (!empty($gContent->mImageId)) && ($gContent->mInfo['user_id'] != $gBitUser- if( !empty($_REQUEST['saveImage']) || !empty($_REQUEST['regenerateThumbnails'] ) ) { if (empty($_REQUEST['gallery_id']) && empty($_REQUEST['image_id'])) { // We have no way to know what gallery to add an image to or what image to edit! - $smarty->assign( 'msg', tra( "No gallery or image was specified" ) ); + $gBitSmarty->assign( 'msg', tra( "No gallery or image was specified" ) ); $gBitSystem->display( "error.tpl" ); die; } @@ -91,7 +91,7 @@ if ( $gBitSystem->isPackageActive('categories') ) { } $errors = $gContent->mErrors; -$smarty->assign_by_ref('errors', $errors); +$gBitSmarty->assign_by_ref('errors', $errors); $gContent->loadParentGalleries(); @@ -99,13 +99,13 @@ $gContent->loadParentGalleries(); $gFisheyeGallery = new FisheyeGallery(); $listHash = array( 'user_id'=>$gContent->mInfo['user_id'], 'max_records' => -1, 'no_thumbnails' => TRUE, 'sort_mode'=>'title_asc' ); $galleryList = $gFisheyeGallery->getList( $listHash ); -$smarty->assign_by_ref('galleryList', $galleryList); +$gBitSmarty->assign_by_ref('galleryList', $galleryList); -$smarty->assign('requested_gallery', !empty($_REQUEST['gallery_id']) ? $_REQUEST['gallery_id'] : NULL); +$gBitSmarty->assign('requested_gallery', !empty($_REQUEST['gallery_id']) ? $_REQUEST['gallery_id'] : NULL); if( $gBitSystem->isPackageActive( 'gatekeeper' ) ) { global $gGatekeeper; - $smarty->assign( 'securities', $gGatekeeper->getSecurityList( $gBitUser->mUserId ) ); + $gBitSmarty->assign( 'securities', $gGatekeeper->getSecurityList( $gBitUser->mUserId ) ); } $gBitSystem->display( 'bitpackage:fisheye/edit_image.tpl', 'Edit Image: '.$gContent->getTitle() ); |
