';
HTML_tab1 += QT.Functions.helper.grepo_btn("qmenu_einstellungen_reset_BTN", QT.Lang.get("settings", "reset"))[0].outerHTML;
HTML_tab1 += QT.Functions.helper.grepo_btn("qmenu_einstellungen_safe_BTN", QT.Lang.get("settings", "save"))[0].outerHTML;
return HTML_tab1;
}
function tab2() {
var supported_lang = [QT.Lang.get("settings", "info"), QT.Lang.get("settings", "add_lang")];
$.each(QT.Lang, function (a, b) {
if (a != "get") {
supported_lang.push(a);
}
});
var HTML_tab2 = '';
var q_translations = {
BR : "==CrAZyWoW==, douglasgoclv",
CZ : "jarajanos",
DE : "Scav77",
ES : "Jonh Snow, F0NT3, cuervobrujo",
FR : "higter, Mazelys",
HU : "Arminno, Betagamer",
IT : "masale81",
NL : "Florent15, sannelos, megaabelleke, Thodoris",
PL : "Slietie, Tropsy Kretts",
RU : "Jest, DJEDIVER, nihondzin"
};
HTML_tab2 += grepoGameBorder + QT.Lang.get("settings", "translations") + '
' + QT.Functions.helper.grepo_dropdown("langdiv", supported_lang)[0].outerHTML + '
';
HTML_tab2 += '';
HTML_tab3 += '
';
HTML_tab3 += '
' + QT.Lang.get("settings", "prologue") + '
';
HTML_tab3 += '
' + QT.Lang.get("settings", "donations") + ':';
$.each(q_donations, function (a, b) {
HTML_tab3 += '';
$.each(b, function (d, e) {
HTML_tab3 += '' + e + ' | ';
});
HTML_tab3 += '
'
});
HTML_tab3 += '
';
HTML_tab3 += '
' + QT.Lang.get("settings", "ingame_name") + '';
HTML_tab3 += '
' + QT.Lang.get("settings", "adfly") + '';
HTML_tab3 += '
';
return HTML_tab3;
}
function handle_and_style() {
$("#qmenu_einstellungen_sendmail").css({
"margin-left" : "1px"
});
$("#qmenu_einstellungen_sendmail").click(function () {
if ($("#trans_lang").length && !$.trim($("#trans_lang").val())) {
uw.HumanMessage.error(QT.Lang.get("settings", "enter_lang_name"));
return;
} else if ($("#langdiv").val() === QT.Lang.get("settings", "info")) {
uw.HumanMessage.error(QT.Lang.get("settings", "choose_lang"));
return;
} else if ($("#trans_content .toSend").length === 0) {
uw.HumanMessage.error(QT.Lang.get("settings", "no_translation"));
return;
}
uw.hOpenWindow.showConfirmDialog('', QT.Lang.get("settings", "trans_sure"), function () {
$("#qtajaxloader").css({
"display" : "block"
});
var trans_HTML_send = pName + "' + AttackUnitsRessources.total_w + ' |  | ' + DefenseUnitsRessources.total_w + ' |
' + AttackUnitsRessources.total_s + ' |  | ' + DefenseUnitsRessources.total_s + ' |
' + AttackUnitsRessources.total_i + ' |  | ' + DefenseUnitsRessources.total_i + ' |
' + AttackUnitsRessources.total_f + ' |  | ' + DefenseUnitsRessources.total_f + ' |
' + AttackUnitsRessources.total_p + ' |  | ' + DefenseUnitsRessources.total_p + " |
")
}
}
},
movereports : function () {
var b = uw.GPWindowMgr.getOpen(uw.Layout.wnd.TYPE_REPORT);
if (b.length == 0)
return;
wnd = b[b.length - 1];
var c = wnd.getID();
var folder = "";
$("DIV#gpwnd_" + c + " #folder_menu_reports a").each(function () {
folder += "