Pman.Tab.AdminContactsGroup.js
"ec211f7c20af43e742bf2570c3cb84f9" : "Add",
"a37ede293936e29279ed543129451ec3" : "Groups",
"7dce122004969d56ae2e0245cb754d35" : "Edit",
"ec211f7c20af43e742bf2570c3cb84f9" : "Add",
"a37ede293936e29279ed543129451ec3" : "Groups",
"7dce122004969d56ae2e0245cb754d35" : "Edit",
+ "b891a85b57a6261132a613eabd235f32" : "Manage Groups????",
"4d1c8263ba1036754f8db14a98f9f006" : "Reload",
"f2a6c498fb90ee345d997f888fce3b18" : "Delete",
"4d1c8263ba1036754f8db14a98f9f006" : "Reload",
"f2a6c498fb90ee345d997f888fce3b18" : "Delete",
- "49ee3087348e8d44e1feda1917443987" : "Name",
- "aba9f7d7443652e858969bfc280690b1" : "Manage Groups"
+ "49ee3087348e8d44e1feda1917443987" : "Name"
},
"items" : [
{
"listeners" : {
"|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.ds.load({});\n }\n}"
},
},
"items" : [
{
"listeners" : {
"|activate" : "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.ds.load({});\n }\n}"
},
"background" : true,
"region" : "west",
"background" : true,
"region" : "west",
"title" : "Groups",
"xtype" : "GridPanel",
"fitContainer" : true,
"title" : "Groups",
"xtype" : "GridPanel",
"fitContainer" : true,
"|render" : "function() \n{\n _this.grid = this; \n _this.dialog = Pman.Dialog.Groups;\n if (_this.panel.active) {\n _this.grid.ds.load({});\n }\n}"
},
"autoExpandColumn" : "name",
"|render" : "function() \n{\n _this.grid = this; \n _this.dialog = Pman.Dialog.Groups;\n if (_this.panel.active) {\n _this.grid.ds.load({});\n }\n}"
},
"autoExpandColumn" : "name",
"ddGroup" : "groupDD",
"loadMask" : true,
"$ xns" : "Roo.grid",
"ddGroup" : "groupDD",
"loadMask" : true,
"$ xns" : "Roo.grid",
"items" : [
{
"$ url" : "baseURL + '/Roo/Groups.php'",
"items" : [
{
"$ url" : "baseURL + '/Roo/Groups.php'",
"$ xns" : "Roo.data",
"* prop" : "proxy"
},
"$ xns" : "Roo.data",
"* prop" : "proxy"
},
"* prop" : "toolbar",
"items" : [
{
"* prop" : "toolbar",
"items" : [
{
- "text" : "Manage Groups",
+ "text" : "Manage Groups????",
"xtype" : "Button",
"$ xns" : "Roo.Toolbar",
"items" : [
"xtype" : "Button",
"$ xns" : "Roo.Toolbar",
"items" : [
},
{
"xtype" : "ColumnModel",
},
{
"xtype" : "ColumnModel",
"$ renderer" : "function(v,x,r) { \n if (r.data.id == -1) {\n return '<b>' + \"Not in a Group\" + '</b>';\n }\n if ((r.data.id == 0) && (_this.type == 0)) {\n return '<b>' + \"All Staff (Default Permissions)\" + '</b>';\n }\n if ((r.data.id == 0) && (_this.type == 2)) {\n return '<b>' + \"Everybody\" + '</b>';\n }\n if (r.data.id == 0) {\n return '<b>' + \"All Staff\" + '</b>';\n }\n if (v == 'Administrators') {\n return '<b>' + \"Adminstrators\" + '</b>';\n }\n if (r.data.leader) {\n return v + ' (' + r.data.leader_name + ')';\n }\n \n return v;\n}",
"$ xns" : "Roo.grid",
"* prop" : "colModel[]",
"$ renderer" : "function(v,x,r) { \n if (r.data.id == -1) {\n return '<b>' + \"Not in a Group\" + '</b>';\n }\n if ((r.data.id == 0) && (_this.type == 0)) {\n return '<b>' + \"All Staff (Default Permissions)\" + '</b>';\n }\n if ((r.data.id == 0) && (_this.type == 2)) {\n return '<b>' + \"Everybody\" + '</b>';\n }\n if (r.data.id == 0) {\n return '<b>' + \"All Staff\" + '</b>';\n }\n if (v == 'Administrators') {\n return '<b>' + \"Adminstrators\" + '</b>';\n }\n if (r.data.leader) {\n return v + ' (' + r.data.leader_name + ')';\n }\n \n return v;\n}",
"$ xns" : "Roo.grid",
"* prop" : "colModel[]",
'ec211f7c20af43e742bf2570c3cb84f9' :"Add",
'a37ede293936e29279ed543129451ec3' :"Groups",
'7dce122004969d56ae2e0245cb754d35' :"Edit",
'ec211f7c20af43e742bf2570c3cb84f9' :"Add",
'a37ede293936e29279ed543129451ec3' :"Groups",
'7dce122004969d56ae2e0245cb754d35' :"Edit",
+ 'b891a85b57a6261132a613eabd235f32' :"Manage Groups????",
'4d1c8263ba1036754f8db14a98f9f006' :"Reload",
'f2a6c498fb90ee345d997f888fce3b18' :"Delete",
'4d1c8263ba1036754f8db14a98f9f006' :"Reload",
'f2a6c498fb90ee345d997f888fce3b18' :"Delete",
- '49ee3087348e8d44e1feda1917443987' :"Name",
- 'aba9f7d7443652e858969bfc280690b1' :"Manage Groups"
+ '49ee3087348e8d44e1feda1917443987' :"Name"
},
part : ["Admin", "ContactsGroup" ],
},
part : ["Admin", "ContactsGroup" ],
var _this = this;
var MODULE = this;
return {
var _this = this;
var MODULE = this;
return {
background : true,
fitContainer : true,
fitToframe : true,
region : 'west',
tableName : 'Groups',
title : _this._strings['a37ede293936e29279ed543129451ec3'] /* Groups */,
background : true,
fitContainer : true,
fitToframe : true,
region : 'west',
tableName : 'Groups',
title : _this._strings['a37ede293936e29279ed543129451ec3'] /* Groups */,
- xns : Roo,
- '|xns' : 'Roo',
- xtype : 'GridPanel',
listeners : {
activate : function() {
_this.panel = this;
listeners : {
activate : function() {
_this.panel = this;
+ xns : Roo,
+ '|xns' : 'Roo',
autoExpandColumn : 'name',
ddGroup : 'groupDD',
enableDrop : true,
loadMask : true,
autoExpandColumn : 'name',
ddGroup : 'groupDD',
enableDrop : true,
loadMask : true,
- xns : Roo.grid,
- '|xns' : 'Roo.grid',
- xtype : 'Grid',
listeners : {
render : function()
{
listeners : {
render : function()
{
+ xns : Roo.grid,
+ '|xns' : 'Roo.grid',
xns : Roo,
'|xns' : 'Roo',
xns : Roo,
'|xns' : 'Roo',
- text : _this._strings['aba9f7d7443652e858969bfc280690b1'] /* Manage Groups */,
+ xtype : 'Button',
+ text : _this._strings['b891a85b57a6261132a613eabd235f32'] /* Manage Groups???? */,
xns : Roo.Toolbar,
'|xns' : 'Roo.Toolbar',
xns : Roo.Toolbar,
'|xns' : 'Roo.Toolbar',
xns : Roo.menu,
'|xns' : 'Roo.menu',
xns : Roo.menu,
'|xns' : 'Roo.menu',
cls : 'x-btn-text-icon',
icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
text : _this._strings['ec211f7c20af43e742bf2570c3cb84f9'] /* Add */,
cls : 'x-btn-text-icon',
icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
text : _this._strings['ec211f7c20af43e742bf2570c3cb84f9'] /* Add */,
- xns : Roo.menu,
- '|xns' : 'Roo.menu',
- xtype : 'Item',
listeners : {
click : function()
{
listeners : {
click : function()
{
_this.grid.ds.load({});
});
}
_this.grid.ds.load({});
});
}
+ },
+ xns : Roo.menu,
+ '|xns' : 'Roo.menu'
cls : 'x-btn-text-icon',
icon : Roo.rootURL + 'images/default/tree/leaf.gif',
text : _this._strings['7dce122004969d56ae2e0245cb754d35'] /* Edit */,
cls : 'x-btn-text-icon',
icon : Roo.rootURL + 'images/default/tree/leaf.gif',
text : _this._strings['7dce122004969d56ae2e0245cb754d35'] /* Edit */,
- xns : Roo.menu,
- '|xns' : 'Roo.menu',
- xtype : 'Item',
listeners : {
click : function()
{
listeners : {
click : function()
{
+ },
+ xns : Roo.menu,
+ '|xns' : 'Roo.menu'
cls : 'x-btn-text-icon',
icon : rootURL + '/Pman/templates/images/trash.gif',
text : _this._strings['f2a6c498fb90ee345d997f888fce3b18'] /* Delete */,
cls : 'x-btn-text-icon',
icon : rootURL + '/Pman/templates/images/trash.gif',
text : _this._strings['f2a6c498fb90ee345d997f888fce3b18'] /* Delete */,
- xns : Roo.menu,
- '|xns' : 'Roo.menu',
- xtype : 'Item',
listeners : {
click : function()
{
Pman.genericDelete(_this, 'Groups');
}
listeners : {
click : function()
{
Pman.genericDelete(_this, 'Groups');
}
+ },
+ xns : Roo.menu,
+ '|xns' : 'Roo.menu'
- '|xns' : 'Roo.menu',
- xtype : 'Separator'
- text : _this._strings['4d1c8263ba1036754f8db14a98f9f006'] /* Reload */,
- xns : Roo.menu,
- '|xns' : 'Roo.menu',
+ text : _this._strings['4d1c8263ba1036754f8db14a98f9f006'] /* Reload */,
listeners : {
click : function (_self, e)
{
_this.grid.ds.load({});
}
listeners : {
click : function (_self, e)
{
_this.grid.ds.load({});
}
+ },
+ xns : Roo.menu,
+ '|xns' : 'Roo.menu'
remoteSort : true,
sortInfo : { field : 'name', direction: 'ASC' },
remoteSort : true,
sortInfo : { field : 'name', direction: 'ASC' },
- xns : Roo.data,
- '|xns' : 'Roo.data',
- xtype : 'Store',
listeners : {
beforeload : function (_self, o)
{
listeners : {
beforeload : function (_self, o)
{
Pman.Tab.AdminContacts.grid.footer.onClick('first');
}
},
Pman.Tab.AdminContacts.grid.footer.onClick('first');
}
},
+ xns : Roo.data,
+ '|xns' : 'Roo.data',
method : 'GET',
url : baseURL + '/Roo/Groups.php',
xns : Roo.data,
method : 'GET',
url : baseURL + '/Roo/Groups.php',
xns : Roo.data,
- '|xns' : 'Roo.data',
- xtype : 'HttpProxy'
fields : [
{
'name': 'id',
fields : [
{
'name': 'id',
root : 'data',
totalProperty : 'total',
xns : Roo.data,
root : 'data',
totalProperty : 'total',
xns : Roo.data,
- '|xns' : 'Roo.data',
- xtype : 'JsonReader'
- ddGroup : 'groupDD',
- xns : Roo.dd,
- '|xns' : 'Roo.dd',
listeners : {
drop : function (source, e, data)
{
listeners : {
drop : function (source, e, data)
{
+ },
+ xns : Roo.dd,
+ '|xns' : 'Roo.dd'
- singleSelect : true,
- xns : Roo.grid,
- '|xns' : 'Roo.grid',
xtype : 'RowSelectionModel',
xtype : 'RowSelectionModel',
listeners : {
afterselectionchange : function (_self)
{
listeners : {
afterselectionchange : function (_self)
{
c.getActivePanel().grid.footer.onClick('first');
}
c.getActivePanel().grid.footer.onClick('first');
}
+ },
+ xns : Roo.grid,
+ '|xns' : 'Roo.grid'
dataIndex : 'name',
header : _this._strings['49ee3087348e8d44e1feda1917443987'] /* Name */,
renderer : function(v,x,r) {
dataIndex : 'name',
header : _this._strings['49ee3087348e8d44e1feda1917443987'] /* Name */,
renderer : function(v,x,r) {
},
width : 200,
xns : Roo.grid,
},
width : 200,
xns : Roo.grid,
- '|xns' : 'Roo.grid',
- xtype : 'ColumnModel'