BxChatPlusStudioPage.php 766 B

123456789101112131415161718192021222324252627
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup RocketChat Rocket.Chat integration module
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxChatPlusStudioPage extends BxTemplStudioModule
  12. {
  13. function getHelp ()
  14. {
  15. return _t('_bx_chat_plus_information_block');
  16. }
  17. protected function getPageCaptionHelp()
  18. {
  19. $oTemplate = BxDolStudioTemplate::getInstance();
  20. $sContent = '<a href="' . BX_DOL_URL_STUDIO . 'module.php?name=bx_chat_plus&page=help">' . _t('_bx_chat_plus_information') . "</a>";
  21. return $oTemplate->parseHtmlByName('page_caption_help.html', array('content' => $sContent));
  22. }
  23. }
  24. /** @} */