menu.php 596 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  4. * CC-BY License - http://creativecommons.org/licenses/by/3.0/
  5. *
  6. * @defgroup TridentCore Trident Core
  7. * @{
  8. */
  9. require_once('./inc/header.inc.php');
  10. require_once(BX_DIRECTORY_PATH_INC . "design.inc.php");
  11. require_once(BX_DIRECTORY_PATH_INC . "utils.inc.php");
  12. bx_import('BxDolLanguages');
  13. $sObject = bx_process_input(bx_get('o'));
  14. if (!$sObject)
  15. exit;
  16. $oMenu = BxDolMenu::getObjectInstance($sObject);
  17. if (!$oMenu)
  18. exit;
  19. header('Content-type: text/html; charset=utf-8');
  20. echo $oMenu->getCode ();
  21. /** @} */