-// Copyright (c) 2016-2022 by the citadel.org team
+// Copyright (c) 2016-2023 by the citadel.org team
//
// This program is open source software. Use, duplication, or
-// disclosure are subject to the GNU General Public License v3.
+// disclosure is subject to the GNU General Public License v3.
do_biff = async() => {
document.getElementById("current_user").innerHTML = current_user ;
if (logged_in) {
- document.getElementById("lilo").innerHTML = "<a href=\"/ctdl/a/logout\"><i class=\"fa fa-right-from-bracket\"></i>" + _("Log off") + "</a>" ;
+ document.getElementById("lilo").innerHTML = "<a href=\"/ctdl/a/logout\"><i class=\"fa fa-right-from-bracket\"></i> " + _("Log off") + "</a>" ;
}
else {
- document.getElementById("lilo").innerHTML = "<a href=\"javascript:display_login_screen('')\"><i class=\"fa fa-right-to-bracket\"></i>" + _("Log in") + "</a>" ;
+ document.getElementById("lilo").innerHTML = "<a href=\"javascript:display_login_screen('')\"><i class=\"fa fa-right-to-bracket\"></i> " + _("Log in") + "</a>" ;
}
}
// Activate the "Loading..." modal
function activate_loading_modal() {
document.getElementById("ctdl_big_modal").innerHTML =
- "<div class=\"w3-modal-content\">"
- + " <div class=\"w3-container\">"
-
- + "<i class=\"fas fa-spinner fa-spin\"></i> "
- + _("Loading messages from server, please wait")
-
- + " </div>"
- + "</div>";
+ "<i class=\"fas fa-spinner fa-spin\"></i> "
+ + _("Loading messages from server, please wait");
document.getElementById("ctdl_big_modal").style.display = "block";
}