mirror of
https://github.com/dducret/kopano-webapp-passwd
synced 2026-08-06 07:23:11 +02:00
add remaining files
This commit is contained in:
parent
72304986fc
commit
a47e773cfd
6 changed files with 274 additions and 3 deletions
33
js/settings/SettingsPasswdCategory.js
Normal file
33
js/settings/SettingsPasswdCategory.js
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
Ext.namespace('Zarafa.plugins.passwd.settings');
|
||||
|
||||
/**
|
||||
* @class Zarafa.plugins.passwd.settings.SettingsPasswdCategory
|
||||
* @extends Zarafa.settings.ui.SettingsCategory
|
||||
* @xtype zarafa.settingspasswdcategory
|
||||
*
|
||||
* The passwd settings category that will allow users to change their passwords
|
||||
*/
|
||||
Zarafa.plugins.passwd.settings.SettingsPasswdCategory = Ext.extend(Zarafa.settings.ui.SettingsCategory, {
|
||||
/**
|
||||
* @constructor
|
||||
* @param {Object} config Configuration object
|
||||
*/
|
||||
constructor : function(config)
|
||||
{
|
||||
config = config || {};
|
||||
|
||||
Ext.applyIf(config, {
|
||||
title : _('Change Password'),
|
||||
categoryIndex : 9997,
|
||||
xtype : 'zarafa.settingspasswdcategory',
|
||||
items : [{
|
||||
xtype : 'zarafa.settingspasswdwidget',
|
||||
settingsContext : config.settingsContext
|
||||
}]
|
||||
});
|
||||
|
||||
Zarafa.plugins.passwd.settings.SettingsPasswdCategory.superclass.constructor.call(this, config);
|
||||
}
|
||||
});
|
||||
|
||||
Ext.reg('zarafa.settingspasswdcategory', Zarafa.plugins.passwd.settings.SettingsPasswdCategory);
|
||||
Loading…
Add table
Add a link
Reference in a new issue