menu.php 540 B

1234567891011121314151617181920212223242526
  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 . "utils.inc.php");
  11. bx_import('BxDolLanguages');
  12. $sObject = bx_process_input(bx_get('o'));
  13. if (!$sObject)
  14. exit;
  15. $oMenu = BxDolMenu::getObjectInstance($sObject);
  16. if (!$oMenu)
  17. exit;
  18. header('Content-type: text/html; charset=utf-8');
  19. echo $oMenu->getCode ();
  20. /** @} */