コード例 #1
0
 public function Init()
 {
     parent::Init();
     $this->SetI18N(true);
     $this->AddJsFile('js/CAboutViewModel.js');
     $this->AddTemplate('AboutTemplate', 'templates/AboutTemplate.html');
 }
コード例 #2
0
 public function Init()
 {
     parent::Init();
     $this->SetI18N(true);
     $this->AddJsFile('js/CAboutViewModel.js');
     $this->AddTemplate('AboutTemplate', 'templates/AboutTemplate.html');
     $this->AddJsonHook('AjaxPluginGetAjaxData', 'AjaxPluginGetAjaxData');
 }
コード例 #3
0
 public function Init()
 {
     parent::Init();
     $this->SetI18N(true);
     $this->AddJsFile('js/include.js');
     $this->AddJsFile('js/ExamplePopup.js');
     $this->IncludeTemplate('Mail_LayoutSidePane_MessagePaneViewModel', 'Message-Pane-More-Actions-Menu', 'templates/include.html');
     $this->AddTemplate('ExamplePopup', 'templates/ExamplePopup.html', 'Layout', 'Screens-Bottom', 'popup');
 }
コード例 #4
0
 public function Init()
 {
     parent::Init();
     $this->AddJsFile('js/iframeAppScreen.js');
     $this->AddJsFile('js/include.js');
     $this->AddTemplate('IframeAppScreen', 'templates/iframeAppScreen.html', 'Layout', 'Screens-Middle');
     $this->AddJsonHook('AjaxAccountSettingsGet', 'AjaxAccountSettingsGet');
     $this->mAllowOrigin = \CApi::GetConf('plugins.iframe-app.allow-origin', false);
 }
コード例 #5
0
 public function Init()
 {
     parent::Init();
     $this->AddCssFile('css/style.css');
     $this->AddHook('filestorage.get-external-storages', 'GetExternalStorage');
     $this->AddHook('filestorage.file-exists', 'FileExists');
     $this->AddHook('filestorage.get-file-info', 'GetFileInfo');
     $this->AddHook('filestorage.get-file', 'GetFile');
     $this->AddHook('filestorage.get-files', 'GetFiles');
     $this->AddHook('filestorage.create-folder', 'CreateFolder');
     $this->AddHook('filestorage.create-file', 'CreateFile');
     $this->AddHook('filestorage.create-public-link', 'CreatePublicLink');
     $this->AddHook('filestorage.delete', 'Delete');
     $this->AddHook('filestorage.rename', 'Rename');
     $this->AddHook('filestorage.move', 'Move');
     $this->AddHook('filestorage.copy', 'Copy');
 }
コード例 #6
0
ファイル: index.php プロジェクト: pkdevboxy/webmail-lite
 public function Init()
 {
     parent::Init();
     $this->SetI18N(true);
     $this->AddJsFile('js/include.js');
     $this->AddJsFile('js/CExternalServicesViewModel.js');
     $this->AddTemplate('ExternalServicesSettings', 'templates/settings.html');
     $this->aEnableConnectors = $this->GetEnabledConnectors();
     foreach ($this->aEnableConnectors as $sKey) {
         $this->AddCssFile('connectors/' . strtolower($sKey) . '/css/styles.css');
         $this->AddImageFile(strtolower($sKey) . '-icon.png', 'connectors/' . strtolower($sKey) . '/images/icon.png');
         if ($sKey === 'google') {
             $this->AddJsFile('js/GooglePickerPopup.js');
             $this->AddTemplate('GooglePickerPopup', 'templates/GooglePickerPopup.html', 'Layout', 'Screens-Bottom', 'plugin_external_services popup google');
         }
     }
     $this->IncludeTemplate('Login_WrapLoginViewModel', 'Login-Before-Description', 'templates/login.html');
     $this->IncludeTemplate('Helpdesk_Login', 'Login-Before-Description', 'templates/helpdesk-login.html');
     $this->IncludeTemplate('Mail_ComposeViewModel', 'Compose-Attach-Buttons', 'templates/attach-from.html');
     $this->AddQueryHook('external-services', 'QueryHookExternalServices');
     $this->AddQueryHook('invite-auth', 'QueryHookInviteAuth');
 }
コード例 #7
0
 /**
  * @param CApiPluginManager $oPluginManager
  */
 public function __construct(CApiPluginManager $oPluginManager)
 {
     parent::__construct('1.0', $oPluginManager);
     $this->AddHook('api-domain-construct', 'PluginDomainConstruct');
 }
コード例 #8
0
 /**
  * @param string $sVersion
  * @param CApiPluginManager $oPluginManager
  */
 public function __construct($sVersion, CApiPluginManager $oPluginManager)
 {
     parent::__construct($sVersion, $oPluginManager);
     $this->AddHook('api-change-account-by-id', 'PluginChangeAccountById');
     $this->AddHook('api-update-account', 'PluginUpdateAccount');
 }
コード例 #9
0
 /**
  * @param string $sVersion
  * @param CApiPluginManager $oPluginManager
  */
 public function __construct($sVersion, CApiPluginManager $oPluginManager)
 {
     parent::__construct($sVersion, $oPluginManager);
     $this->AddHook('webmail.supports-expanding-attachments', 'WebmailSupportsExpandingAttachments');
     $this->AddHook('webmail.expand-attachment', 'WebmailExpandAttachment');
 }
コード例 #10
0
 /**
  * @param string $sVersion
  * @param CApiPluginManager $oPluginManager
  */
 public function __construct($sVersion, CApiPluginManager $oPluginManager)
 {
     parent::__construct($sVersion, $oPluginManager);
     $this->oApiTwofactorauth = null;
     $this->addHook('api-integrator-set-account-as-logged-in', 'SetAccountIsLoggedIn');
 }
コード例 #11
0
 /**
  * @param string $sVersion
  * @param CApiPluginManager $oPluginManager
  */
 public function __construct($sVersion, CApiPluginManager $oPluginManager)
 {
     parent::__construct($sVersion, $oPluginManager);
 }
コード例 #12
0
 public function Init()
 {
     parent::Init();
 }