1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 Roo.namespace('Pman.Dialog');
7 Pman.Dialog.AdminEventLog = {
10 '7a11042f53957727d8667732d7de1102' :"Ipaddr",
11 '231bc72756b5e6de492aaaa1577f61b1' :"Remarks",
12 '87f9f735a1d36793ceaecd4e47124b63' :"Events",
13 'd9578744f1d4b13d40a51fbb8b9d6ea5' :"Person name",
14 'c0a002606fb906d471e04fe02e5e53f9' :"Event history",
15 '6be4aa550791c310e098cd6c234af7d8' :"Event when",
16 'd3d2e617335f08df83599665eef8a418' :"Close",
17 '7205d42d6d975c911bc1147259d78935' :"Displaying Events{0} - {1} of {2}",
18 '004bf6c9a40003140292e97330236c53' :"Action",
19 '90e4ac2e5a22e53df63b6b186d8727ba' :"No Events found"
25 show : function(data, cb)
33 this.dialog.show(this.data._el);
36 this.form.setValues(data);
37 this.form.fireEvent('actioncomplete', this.form, { type: 'setdata', data: data });
45 this.dialog = Roo.factory({
47 title : _this._strings['c0a002606fb906d471e04fe02e5e53f9'] /* Event history */,
51 xtype : 'LayoutDialog',
53 show : function (_self)
55 _this.grid.footer.onClick('first');
61 xtype : 'LayoutRegion'
65 text : _this._strings['d3d2e617335f08df83599665eef8a418'] /* Close */,
70 click : function (_self, e)
84 title : _this._strings['87f9f735a1d36793ceaecd4e47124b63'] /* Events */,
89 activate : function() {
92 _this.grid.footer.onClick('first');
97 autoExpandColumn : 'remarks',
106 //_this.dialog = Pman.Dialog.FILL_IN
107 if (_this.panel.active) {
108 this.footer.onClick('first');
114 displayMsg : _this._strings['7205d42d6d975c911bc1147259d78935'] /* Displaying Events{0} - {1} of {2} */,
115 emptyMsg : _this._strings['90e4ac2e5a22e53df63b6b186d8727ba'] /* No Events found */,
119 xtype : 'PagingToolbar'
123 sortInfo : { field : 'event_when', direction: 'DESC' },
128 beforeload : function (_self,o )
130 if (!_this.data || !_this.data.on_id) {
133 o.params.on_table = _this.data.on_table;
134 o.params.on_id = _this.data.on_id;
136 if (typeof(_this.data.person_table) != 'undefined') {
137 o.params.person_table =_this.data.person_table;
143 url : baseURL + '/Roo/Events.php',
155 'name': 'person_name',
159 'name': 'event_when',
161 'dateFormat': 'Y-m-d'
188 'name': 'person_table',
192 'name': 'person_id_id',
196 'name': 'person_id_office_id',
200 'name': 'person_id_name',
204 'name': 'person_id_phone',
208 'name': 'person_id_fax',
212 'name': 'person_id_email',
216 'name': 'person_id_company_id',
220 'name': 'person_id_role',
224 'name': 'person_id_active',
228 'name': 'person_id_remarks',
232 'name': 'person_id_passwd',
236 'name': 'person_id_owner_id',
240 'name': 'person_id_lang',
244 'name': 'person_id_no_reset_sent',
248 'name': 'person_id_action_type',
252 'name': 'person_id_project_id',
256 'name': 'person_id_deleted_by',
260 'name': 'person_id_deleted_dt',
264 'name': 'person_id_firstname',
268 'name': 'person_id_lastname',
274 totalProperty : 'total',
282 dataIndex : 'event_when',
283 header : _this._strings['6be4aa550791c310e098cd6c234af7d8'] /* Event when */,
284 renderer : function(v) { return String.format('{0}', v ? v.format('d/M/Y') : ''); },
288 xtype : 'ColumnModel'
291 dataIndex : 'person_id_name',
292 header : _this._strings['d9578744f1d4b13d40a51fbb8b9d6ea5'] /* Person name */,
293 renderer : function(v) { return String.format('{0}', v); },
297 xtype : 'ColumnModel'
300 dataIndex : 'action',
301 header : _this._strings['004bf6c9a40003140292e97330236c53'] /* Action */,
302 renderer : function(v) { return String.format('{0}', v); },
306 xtype : 'ColumnModel'
309 dataIndex : 'ipaddr',
310 header : _this._strings['7a11042f53957727d8667732d7de1102'] /* Ipaddr */,
311 renderer : function(v) { return String.format('{0}', v); },
315 xtype : 'ColumnModel'
318 dataIndex : 'remarks',
319 header : _this._strings['231bc72756b5e6de492aaaa1577f61b1'] /* Remarks */,
320 renderer : function(v) { return String.format('{0}', v); },
324 xtype : 'ColumnModel'