"permname" : "",
"modOrder" : "001",
"strings" : {
+ "095afbf2f1f0e5be678f5dac5c54e717" : "Access Denied",
"24efa7ee4511563b16144f39706d594f" : "Notice"
},
"items" : [
{
"listeners" : {
- "show" : "function (_self)\n{\n return;\n /*\n _this.dialog.footerEl.setVisibilityMode(Roo.Element.DISPLAY).hide();\n \n if(_this.data.title){\n _this.dialog.titleEl.dom.innerHTML = _this.data.title;\n }\n \n if(_this.data.buttonText){\n _this.acceptBtn.setText(_this.data.buttonText);\n }\n \n if(_this.data.chunk){\n \n Roo.Ajax.request({\n url : baseURL + '/Roo/TermsRender/' + _this.data.chunk,\n method : 'GET',\n success : function(res) {\n \n _this.terms_body.el.dom.innerHTML = res.responseText;\n \n _this.dialog.init();\n }\n });\n \n }\n \n if(_this.data.declaration){\n \n Roo.Ajax.request({\n url : baseURL + '/Roo/DeclarationsRender/' + _this.data.declaration,\n method : 'GET',\n success : function(res) {\n \n _this.terms_body.el.dom.innerHTML = res.responseText;\n \n _this.dialog.init();\n }\n });\n \n }\n \n _this.dialog.el.setStyle('zIndex', '10002');\n */\n}"
+ "show" : "function (_self)\n{\n _this.dialog.footerEl.setVisibilityMode(Roo.Element.DISPLAY).hide();\n \n var msg = String.format(\n 'Sorry your IP has been blocked from using this system. Please contact our administrator to resolve this.<br/>' + \n '[ {0} ]',\n _this.data.ip\n );\n \n if(_this.data.status == 'NEW-IP-ADDRESS') {\n msg = String.format(\n 'Notify administrator that you have requested access.<br/>' + \n '[ {0} ]',\n _this.data.ip\n );\n }\n \n if(_this.data.status == 'PENDING-IP-ADDRESS') {\n msg = String.format(\n 'Administrator has been notified, however you may want to contact them directly to get it approved.<br/>' +\n '[ {0} ]',\n _this.data.ip\n );\n }\n \n _this.notice.el.dom.innerHTML = msg;\n}"
},
"String cls" : "enable-overflow",
- "String size" : "lg",
+ "Boolean allow_close" : false,
"xtype" : "Modal",
"$ xns" : "Roo.bootstrap",
"String title" : "Notice",
"items" : [
{
"listeners" : {
- "render" : "function (_self)\n{\n _this.terms_body = this;\n}"
+ "render" : "function (_self)\n{\n _this.notice = this;\n}"
},
"Number md" : 12,
"xtype" : "Column",
"$ xns" : "Roo.bootstrap",
- "String style" : "max-height: 380px; overflow-y: auto;"
+ "String html" : "Access Denied",
+ "String style" : "margin-bottom: 15px;"
}
]
}