Source for file view_post_image.php
Documentation is available at view_post_image.php
// Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See below for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details.
require_once( '../kernel/setup_inc.php' );
include_once( BLOGS_PKG_PATH. 'BitBlog.php' );
if (!isset ($_REQUEST["image_id"])) {
$gBitSmarty->assign('msg', tra("No image id given"));
$gBitSystem->display( 'error.tpl' , NULL, array( 'display_mode' => 'display' ));
$imageInfo = $gBlog->getStorageFileInfo($_REQUEST["image_id"]);
$gBitSmarty->assign( 'imageInfo' , $imageInfo );
$gBitSystem->display( 'bitpackage:blogs/view_post_image.tpl' , NULL, array( 'display_mode' => 'display' ));
|