BxIntercomStudioPage.php 790 B

123456789101112131415161718192021222324252627
  1. <?php defined('BX_DOL') or die('hack attempt');
  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 Intercom Intercom integration module
  7. * @ingroup TridentModules
  8. *
  9. * @{
  10. */
  11. class BxIntercomStudioPage extends BxTemplStudioModule
  12. {
  13. function getHelp ()
  14. {
  15. return _t('_bx_intercom_information_block');
  16. }
  17. protected function getPageCaptionHelp()
  18. {
  19. $oTemplate = BxDolStudioTemplate::getInstance();
  20. $sContent = '<a href="' . BX_DOL_URL_STUDIO . 'module.php?name=bx_intercom&page=help">' . _t('_bx_intercom_information') . "</a>";
  21. return $oTemplate->parseHtmlByName('page_caption_help.html', array('content' => $sContent));
  22. }
  23. }
  24. /** @} */