public function Init() { parent::Init(); $this->SetI18N(true); $this->AddJsFile('js/CAboutViewModel.js'); $this->AddTemplate('AboutTemplate', 'templates/AboutTemplate.html'); }
public function Init() { parent::Init(); $this->SetI18N(true); $this->AddJsFile('js/CAboutViewModel.js'); $this->AddTemplate('AboutTemplate', 'templates/AboutTemplate.html'); $this->AddJsonHook('AjaxPluginGetAjaxData', 'AjaxPluginGetAjaxData'); }
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'); }
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); }
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'); }
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'); }
public function Init() { parent::Init(); }