BxLinkedinStudioPage.php 882 B

12345678910111213141516171819202122232425262728
  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 LinkedInConnect LinkedIn Connect
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxLinkedinStudioPage extends BxTemplStudioModule
  12. {
  13. function getHelp ()
  14. {
  15. $oModule = BxDolModule::getInstance('bx_linkedin');
  16. return _t('_bx_linkedin_information_block', BX_DOL_URL_ROOT . $oModule -> _oConfig -> getBaseUri() . 'handle');
  17. }
  18. protected function getPageCaptionHelp()
  19. {
  20. $oTemplate = BxDolStudioTemplate::getInstance();
  21. $sContent = '<a href="' . BX_DOL_URL_STUDIO . 'module.php?name=bx_linkedin&page=help">' . _t('_sys_connect_information') . "</a>";
  22. return $oTemplate->parseHtmlByName('page_caption_help.html', array('content' => $sContent));
  23. }
  24. }
  25. /** @} */