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

Source for file ajax_attachment_browser.php

Documentation is available at ajax_attachment_browser.php

  1. <?php
  2. /**
  3.  * @version $Header$
  4.  * @package liberty
  5.  * @subpackage functions
  6.  */
  7.  
  8. /**
  9.  * required setup
  10.  */
  11. require_once'../kernel/setup_inc.php' );
  12. global $gContent$gBitSmarty;
  13.  
  14. $gContent new LibertyMime();
  15. ifisset$_REQUEST['content_id')) {
  16.     $gContent->mContentId $_REQUEST['content_id'];
  17. }
  18. $gBitSmarty->assign'attachmentBrowser'TRUE );
  19. include_onceLIBERTY_PKG_PATH.'attachment_browser.php' );
  20.  
  21. ifisset$_REQUEST['json')){
  22.     header'Content-type:application/json' );
  23.     $gBitSmarty->display'bitpackage:liberty/attachment_browser_json.tpl' );
  24. else {
  25.     echo $gBitSmarty->fetch'bitpackage:liberty/attachment_browser.tpl' );
  26. }
  27. ?>

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