mirror of
https://github.com/dducret/kopano-webapp-passwd
synced 2026-08-04 22:45:45 +02:00
added dialog for password change
implemented skeleton for php code
This commit is contained in:
parent
843f674854
commit
b434706684
7 changed files with 340 additions and 12 deletions
34
js/PasswdContentPanel.js
Normal file
34
js/PasswdContentPanel.js
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
Ext.namespace('Zarafa.plugins.passwd');
|
||||
|
||||
/**
|
||||
* @class Zarafa.plugins.passwd.PasswdContentPanel
|
||||
* @extends Zarafa.core.ui.ContentPanel
|
||||
*
|
||||
* Content panel that will layout the container
|
||||
*/
|
||||
Zarafa.plugins.passwd.PasswdContentPanel = Ext.extend(Zarafa.core.ui.ContentPanel, {
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @param {Object} config configuration object that needs to be used when creating this dialog
|
||||
*/
|
||||
constructor : function(config)
|
||||
{
|
||||
config = config || {};
|
||||
|
||||
Ext.applyIf(config, {
|
||||
xtype : 'zarafa.passwdcontentpanel',
|
||||
layout : 'fit',
|
||||
height : 175,
|
||||
width : 400,
|
||||
title : _('Change password'),
|
||||
items : [{
|
||||
xtype : 'zarafa.passwdpanel'
|
||||
}]
|
||||
});
|
||||
|
||||
Zarafa.plugins.passwd.PasswdContentPanel.superclass.constructor.apply(this, arguments);
|
||||
}
|
||||
});
|
||||
|
||||
Ext.reg('zarafa.passwdcontentpanel', Zarafa.plugins.passwd.PasswdContentPanel);
|
||||
Loading…
Add table
Add a link
Reference in a new issue