mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Add "custom-admin-settings-tab" plugin
This commit is contained in:
parent
613ab074d9
commit
3bcf23f8fa
11 changed files with 115 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ class CustomSettingsTabPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
$this->addAjaxHook('AjaxGetCustomUserData', 'AjaxGetCustomUserData');
|
||||
$this->addAjaxHook('AjaxSaveCustomUserData', 'AjaxSaveCustomUserData');
|
||||
|
||||
$this->addTemplate('templates/PluginCustomSettingsTag.html');
|
||||
$this->addTemplate('templates/PluginCustomSettingsTab.html');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -64,10 +64,10 @@
|
|||
}
|
||||
|
||||
}, 'AjaxGetCustomUserData');
|
||||
|
||||
|
||||
};
|
||||
|
||||
window.rl.addSettingsViewModel(CustomUserSettings, 'PluginCustomSettingsTag',
|
||||
window.rl.addSettingsViewModel(CustomUserSettings, 'PluginCustomSettingsTab',
|
||||
'SETTINGS_CUSTOM_PLUGIN/TAB_NAME', 'custom');
|
||||
|
||||
}());
|
||||
Loading…
Add table
Add a link
Reference in a new issue