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

Source for file display_fisheye_image_inc.php

Documentation is available at display_fisheye_image_inc.php

  1. <?php
  2. /**
  3.  * @package fisheye
  4.  * @subpackage functions
  5.  */
  6.  
  7. if!$gContent->isValid() ) {
  8.     $gBitSystem->fatalErrortra"No image exists with the given ID" ,'error.tpl'''HttpStatusCodes::HTTP_GONE );
  9. }
  10.  
  11. $displayHash array'perm_name' => 'p_fisheye_view' );
  12. $gContent->invokeServices'content_display_function'$displayHash );
  13.  
  14. // Get the proper thumbnail size to display on this page
  15. ifempty$_REQUEST['size')) {
  16.     $_REQUEST['size'$gBitSystem->getConfig'fisheye_image_default_thumbnail_size'FISHEYE_DEFAULT_THUMBNAIL_SIZE );
  17. }
  18.  
  19. $gBitSystem->setBrowserTitle$gContent->getTitle() );
  20. if$gBitThemes->isAjaxRequest() ) {
  21.     $gBitSmarty->display$gContent->getRenderTemplate() );
  22. else {
  23.     $gBitSystem->display$gContent->getRenderTemplate(NULLarray'display_mode' => 'display' ));
  24. }

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