1
0
Fork 0
mirror of https://github.com/silentsakky/zarafa-webapp-passwd synced 2026-08-06 15:31:29 +02:00

add remaining files

This commit is contained in:
Saket Patel 2013-10-17 02:24:14 +05:30
commit a47e773cfd
6 changed files with 274 additions and 3 deletions

View 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);