blogs
[ class tree: blogs ] [ index: blogs ] [ all elements ]

Source for file view_post_image.php

Documentation is available at view_post_image.php

  1. <?php
  2. /**
  3.  * @version $Header$
  4.  *
  5.  * @package blogs
  6.  * @subpackage functions
  7.  */
  8.  
  9. // Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
  10. // All Rights Reserved. See below for details and a complete list of authors.
  11. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details.
  12.  
  13. /**
  14.  * required setup
  15.  */
  16. require_once'../kernel/setup_inc.php' );
  17.  
  18. include_onceBLOGS_PKG_PATH.'BitBlog.php' );
  19.  
  20. if (!isset($_REQUEST["image_id"])) {
  21.     $gBitSmarty->assign('msg'tra("No image id given"));
  22.     $gBitSystem->display'error.tpl' NULLarray'display_mode' => 'display' ));
  23.     die;
  24. }
  25.  
  26. $imageInfo $gBlog->getStorageFileInfo($_REQUEST["image_id"]);
  27. $gBitSmarty->assign'imageInfo' $imageInfo );
  28. $gBitSystem->display'bitpackage:blogs/view_post_image.tpl' NULLarray'display_mode' => 'display' ));
  29. ?>

Documentation generated on Wed, 29 Jul 2015 13:57:33 +0000 by phpDocumentor 1.5.0-lsces