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.LoginNotice= function() {}
8 Roo.apply(Pman.Dialog.LoginNotice.prototype, {
11 '095afbf2f1f0e5be678f5dac5c54e717' :"Access Denied",
12 '24efa7ee4511563b16144f39706d594f' :"Notice"
18 show : function(data, cb)
26 this.dialog.show(this.data._el);
29 this.form.setValues(data);
30 this.form.fireEvent('actioncomplete', this.form, { type: 'setdata', data: data });
38 this.dialog = Roo.factory({
41 cls : 'enable-overflow',
42 title : _this._strings['24efa7ee4511563b16144f39706d594f'] /* Notice */,
44 show : function (_self)
46 _this.dialog.footerEl.setVisibilityMode(Roo.Element.DISPLAY).hide();
48 var msg = String.format(
49 'Sorry your IP has been blocked from using this system. Please contact our administrator to resolve this.<br/>' +
54 if(_this.data.status == 'NEW-IP-ADDRESS') {
56 'Notify administrator that you have requested access.<br/>' +
62 if(_this.data.status == 'PENDING-IP-ADDRESS') {
64 'Administrator has been notified, however you may want to contact them directly to get it approved.<br/>' +
70 _this.notice.el.dom.innerHTML = msg;
74 '|xns' : 'Roo.bootstrap',
79 '|xns' : 'Roo.bootstrap',
83 html : _this._strings['095afbf2f1f0e5be678f5dac5c54e717'] /* Access Denied */,
85 style : 'margin-bottom: 15px;',
87 render : function (_self)
93 '|xns' : 'Roo.bootstrap'
101 Roo.apply(Pman.Dialog.LoginNotice, Pman.Dialog.LoginNotice.prototype);