blob: 8d531dcbf81dd743485be598ec7b5c73228f1d9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<?php
/**
* @version $Header: /cvsroot/bitweaver/_bit_fisheye/view.php,v 1.5 2007/06/11 20:16:23 squareing Exp $
* @package fisheye
* @subpackage functions
*/
/**
* required setup
*/
require_once( '../bit_setup_inc.php' );
require_once( FISHEYE_PKG_PATH.'FisheyeGallery.php');
require_once( FISHEYE_PKG_PATH.'FisheyeImage.php');
global $gBitSystem, $fisheyeErrors, $fisheyeWarnings, $fisheyeSuccess;
//$gDebug = TRUE;
include_once( FISHEYE_PKG_PATH.'gallery_lookup_inc.php' );
global $gHideModules;
$gHideModules = $gBitSystem->isFeatureActive( 'fisheye_gallery_hide_modules' );
if ( !$gContent->isValid() ) {
// No gallery was indicated so we will redirect to the browse galleries page
header("location: ".FISHEYE_PKG_URL."list_galleries.php");
die;
}
if( $gContent->isCommentable() ) {
$commentsParentId = $gContent->mContentId;
$comments_vars = Array('fisheyegallery');
$comments_prefix_var='fisheyegallery:';
$comments_object_var='fisheyegallery';
$comments_return_url = $_SERVER['PHP_SELF']."?gallery_id=".$gContent->mGalleryId;
include_once( LIBERTY_PKG_PATH.'comments_inc.php' );
}
require_once( FISHEYE_PKG_PATH.'display_fisheye_gallery_inc.php' );
?>
|