summaryrefslogtreecommitdiff
path: root/view_image_details.php
blob: 2fbd8b5a20b301edf4ab6ecbb0a693454bd4ef54 (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
<?php
/**
 * @version $Header: /cvsroot/bitweaver/_bit_fisheye/view_image_details.php,v 1.1 2010/11/11 22:58:23 spiderr Exp $
 * @package fisheye
 * @subpackage functions
 */

/**
 * required setup
 */
require_once( '../kernel/includes/setup_inc.php' );

$gBitSystem->verifyPackage( 'fisheye' );
require_once( FISHEYE_PKG_CLASS_PATH.'FisheyeGallery.php');
require_once( FISHEYE_PKG_CLASS_PATH.'FisheyeImage.php');

global $gBitSystem, $gDebug;

include_once( FISHEYE_PKG_INCLUDE_PATH.'image_lookup_inc.php' );

$gContent->invokeServices( 'content_display_function', $displayHash );

if( is_object( $gGallery ) && $gGallery->isCommentable() ) {
	$commentsParentId = $gContent->mContentId;
	$comments_vars = Array('fisheyeimage');
	$comments_prefix_var='fisheyeimage:';
	$comments_object_var='fisheyeimage';
	$comments_return_url = FISHEYE_PKG_URL."view_image.php?image_id=".$gContent->mImageId;
	include_once( LIBERTY_PKG_INCLUDE_PATH.'comments_inc.php' );
}

$gBitSmarty->display( 'bitpackage:fisheye/view_image_details.tpl' );