This commit is contained in:
2023-04-28 12:22:26 +08:00
parent 88e0a25ecd
commit c9723008af
1047 changed files with 443540 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
$acceptancetext = $dialog.extend({});
$acceptancetext.prototype.show = function (msg) {
var width = 650;
var height = 400;
// 获取当前语言ID
var lang = _utility.currentLang;
this.title = GetLanguageByKey("LHBIS_FIC_CLIENT_MODULES_SYSTEMOPTIONSCTRL_A037", "Terms and Conditions");
var dialog = this.createDialog(width, height);
dialog.css("top", (document.documentElement.clientHeight - height) / 2);
var src = "AcceptanceText.aspx?l=" + lang;
var ele = $('<div style="width: 97%;height: 80%; margin: 10px auto auto auto;border: 1px solid;"></div>').appendTo(dialog);
ele.load(sitePath + src);
//TODO: 添加一些按钮
$('<input type="button" style="margin-right: 23px;float: right;margin-top: 5px;width: 110px;" value="' + GetLanguageByKey("LHBIS_FIC_SILVERLIGHT_LOGIN_LOGINPAGE_A059", "Do Not Accept") + '"/>').click(this,
function (e) {
e.data.close();
}
).appendTo(dialog);
$('<input type="button" style="margin-right: 23px;float: right;margin-top: 5px;width: 70px;" value="' + GetLanguageByKey("LHBIS_FIC_SILVERLIGHT_LOGIN_LOGINPAGE_A058", "Accept") + '"/>').click(this,
function (e) {
reLoginAcceptanceText();
e.data.close();
}
).appendTo(dialog);
dialog.appendTo($(document.body));
};