1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 Roo.namespace('Pman.Tab');
7 Pman.Tab.AdminSettings = new Roo.XComponent({
10 '7e17f8478e121357b78646ca5b5d5ac9' :"Displaying Settings {0} - {1} of {2}",
11 '689202409e48743b914713f96d93947c' :"Value",
12 'e4709a73a287a5f033f5b1b5142cb74d' :"System Settings",
13 '662de0725ac8055bff7edae51fbf3c78' :"No Settings Found",
14 'f2a6c498fb90ee345d997f888fce3b18' :"Delete",
15 'e55f75a29310d7b60f7ac1d390c8ae42' :"Module",
16 '49ee3087348e8d44e1feda1917443987' :"Name",
17 'b5a7adde1af5c87d7fd797b6245c2a39' :"Description"
20 part : ["Admin", "Settings" ],
21 order : '600-Pman.Tab.AdminSettings',
23 parent : 'Pman.Tab.Admin',
24 name : "unnamed module",
27 _tree : function(_data)
37 title : _this._strings['e4709a73a287a5f033f5b1b5142cb74d'] /* System Settings */,
39 activate : function() {
43 _this.grid.footer.onClick('first');
51 autoExpandColumn : 'val',
57 //_this.dialog = Pman.Dialog.FILL_IN
58 if (_this.panel.active) {
59 this.footer.onClick('first');
62 rowdblclick : function (_self, rowIndex, e)
67 _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {
68 _this.grid.footer.onClick('refresh');
75 xtype : 'PagingToolbar',
77 displayMsg : _this._strings['7e17f8478e121357b78646ca5b5d5ac9'] /* Displaying Settings {0} - {1} of {2} */,
78 emptyMsg : _this._strings['662de0725ac8055bff7edae51fbf3c78'] /* No Settings Found */,
91 '|xns' : 'Roo.Toolbar'
95 cls : 'x-btn-text-icon',
96 icon : rootURL + '/Pman/templates/images/trash.gif',
97 text : _this._strings['f2a6c498fb90ee345d997f888fce3b18'] /* Delete */,
101 Pman.genericDelete(_this, 'core_setting');
105 '|xns' : 'Roo.Toolbar'
112 sortInfo : { field : 'name', direction: 'ASC' },
114 beforeload : function (_self, o)
117 o.params = o.params ? o.params : {};
127 url : baseURL + '/Roo/core_setting',
132 xtype : 'JsonReader',
135 totalProperty : 'total',
141 xtype : 'RowSelectionModel',
144 afterselectionchange : function (_self)
146 // load project members.
154 xtype : 'ColumnModel',
155 dataIndex : 'module',
156 header : _this._strings['e55f75a29310d7b60f7ac1d390c8ae42'] /* Module */,
163 xtype : 'ColumnModel',
165 header : _this._strings['49ee3087348e8d44e1feda1917443987'] /* Name */,
166 renderer : function(v) { return String.format('{0}', v); },
172 xtype : 'ColumnModel',
173 dataIndex : 'description',
174 header : _this._strings['b5a7adde1af5c87d7fd797b6245c2a39'] /* Description */,
175 renderer : function(v) { return String.format('{0}', v); },
182 xtype : 'ColumnModel',
184 header : _this._strings['689202409e48743b914713f96d93947c'] /* Value */,
185 renderer : function(v) { return String.format('{0}', v); },