" +
this.user_displayname_short +
"
" +
this.user_status +
"" +
this.Base.Language.Translate(1113) +
" " +
this.Base.Language.TranslateFormatted(773, [1]) +
"
";
}
},
userStatusChangeSubmit: function () {
if (!$("ajax_status")) {
return false;
}
var b = this;
var a = new Request.JSON({
url: this.options.ajaxURL,
method: this.options.ajaxMethod,
secure: this.options.ajaxSecure,
data: { task: "status_change", status: $("status_new").value },
onComplete: function (c, d) {
b.user_status = c.status;
b.userStatusChangeReturn();
},
}).send();
},
userDelete: function () {
opendivmodal("confirmdelete");
},
userDeleteConfirm: function (b) {
var c = this;
var a = new Request.JSON({
url: "user_account_delete.php",
method: this.options.ajaxMethod,
secure: this.options.ajaxSecure,
data: { task: "dodelete", token: b },
onComplete: function (d, e) {
window.location = "home.php";
},
}).send();
},
userActionDelete: function (a) {
var c = this;
var b = new Request.JSON({
url: this.options.ajaxURL,
method: this.options.ajaxMethod,
secure: this.options.ajaxSecure,
data: { task: "action_delete", action_id: a },
onComplete: function (d, e) {
if ($("action_" + a)) {
$("action_" + a).style.display = "none";
total_actions--;
if (total_actions == 0) {
$("actions").style.display = "none";
}
}
},
}).send();
},
userNotifyShow: function () {
this.user_notify_cookie = new Hash.Cookie("se_show_newupdates", { duration: 3600 });
var a = parseInt(this.user_notify_cookie.get("total"));
if (!$type(a)) {
a = 0;
}
if (a < this.user_notify_count) {
this.user_notify_cookie.set("total", 0);
$("newupdates").style.display = "block";
$("newupdatesmobile").style.display = "block";
$("newupdates").fade("in");
$("newupdatesmobile").fade("in");
}
},
userNotifyPopup: function () {
opendivmodal("newupdates_popup");
},
userNotifyUpdate: function () {
var b = this;
var a = new Request.JSON({
url: this.options.ajaxURL,
method: this.options.ajaxMethod,
secure: this.options.ajaxSecure,
data: { task: "notify_get" },
onComplete: function (c, d) {
b.userNotifyGenerate(c);
b.userNotifyShow();
},
}).send();
},
userNotifyGenerate: function (a) {
if (!$type(a.notifys) || a.notifys.length == 0 || !$("newupdates_popup")) {
$("notify_total").innerHTML = this.user_notify_count = 0;
$("notify_total1").innerHTML = this.user_notify_count = 0;
return;
}
$("notify_total").innerHTML = this.user_notify_count = a.total;
$("notify_total1").innerHTML = this.user_notify_count = a.total;
var b = "