diff options
| author | Lester Caine ext:(%22) <lester@lsces.co.uk> | 2012-04-29 16:32:01 +0100 |
|---|---|---|
| committer | Lester Caine ext:(%22) <lester@lsces.co.uk> | 2012-04-29 16:32:01 +0100 |
| commit | a8868a5c98ea26ff7066a9e89f540b1d6ba0db80 (patch) | |
| tree | 074f6a1bbb930a9ea04d61619d3e3da1db772b5e /edit.php | |
| parent | fad791a43aea469023b37a8c1293ff795816e33e (diff) | |
| download | fisheye-a8868a5c98ea26ff7066a9e89f540b1d6ba0db80.tar.gz fisheye-a8868a5c98ea26ff7066a9e89f540b1d6ba0db80.tar.bz2 fisheye-a8868a5c98ea26ff7066a9e89f540b1d6ba0db80.zip | |
Roll back getContentUrl to alternate static getDisplayUrl fix
getDisplayUrlFrom Hash used for static calls
Diffstat (limited to 'edit.php')
| -rw-r--r-- | edit.php | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -63,7 +63,7 @@ if( !empty( $_REQUEST['savegallery'] ) ) { if( !empty( $_REQUEST['generate_thumbnails'] ) ) { $gContent->generateThumbnails(); } - header("location: ".$gContent->getContentUrl() ); + header("location: ".$gContent->getDisplayUrl() ); die(); } } elseif( !empty( $_REQUEST['delete'] ) ) { @@ -78,8 +78,8 @@ if( !empty( $_REQUEST['savegallery'] ) ) { '<label><input name="recurse" value="" type="radio" checked="checked" /> '.tra( 'Delete only images in this gallery. Sub-galleries will not be removed.' ).'</label>', '<label><input name="recurse" value="all" type="radio" /> '.tra( 'Permanently delete all contents, even if they appear in other galleries.' ).'</label>', ); - $gBitSystem->confirmDialog( $formHash, - array( + $gBitSystem->confirmDialog( $formHash, + array( 'warning' => tra('Are you sure you want to delete this gallery?') . ' ' . $gContent->getTitle(), 'error' => tra('This cannot be undone!'), ) @@ -95,7 +95,7 @@ if( !empty( $_REQUEST['savegallery'] ) ) { } } elseif( !empty($_REQUEST['cancelgallery'] ) ) { - header( 'Location: '.$gContent->getContentUrl() ); + header( 'Location: '.$gContent->getDisplayUrl() ); die(); } |
