-/* Copyright (c) 1996-2021 by Art Cancro and the citadel.org team.
-** This program is open source software. You can redistribute it and/or
-** modify it under the terms of the GNU General Public License, version 3.
+/*
+Copyright (c) 1996-2021 by Art Cancro and the citadel.org team.
+This program is open source software. You can redistribute it and/or
+modify it under the terms of the GNU General Public License, version 3.
*/
html,body,h1,h2,h3,h4,h5 {
float: left;
padding-right: 2px;
}
+
+.ctdl-forum-nav {
+ text-align: center;
+ color: #ffff00;
+}
+
+.ctdl-forum-nav a {
+ text-decoration: none;
+}
function forum_readmessages(target_div, gt_msg, lt_msg) {
original_text = document.getElementById(target_div).innerHTML; // in case we need to replace it after an error
document.getElementById(target_div).innerHTML =
- "<div align=\"center\"><i class=\"fas fa-spinner fa-spin\"></i> "
+ "<div class=\"ctdl-forum-nav\"><i class=\"fas fa-spinner fa-spin\"></i> "
+ _("Loading messages from server, please wait") + "</div>";
if (lt_msg < 9999999999) {
}
document.getElementById(target_div).innerHTML +=
"<div id=\"" + new_old_div_name + "\">" +
- "<div align=\"center\">" +
+ "<div class=\"ctdl-forum-nav\">" +
"<a href=\"javascript:forum_readmessages('" + new_old_div_name + "', 0, " + newlt + ");\">" +
"<i class=\"fa fa-arrow-circle-up\"></i> " +
_("Older posts") + " <i class=\"fa fa-arrow-circle-up\"></a></div></div></a></div></div>" ;
}
document.getElementById(target_div).innerHTML +=
"<div id=\"" + new_new_div_name + "\">" +
- "<div align=\"center\">" +
+ "<div class=\"ctdl-forum-nav\">" +
"<a href=\"javascript:forum_readmessages('" + new_new_div_name + "', " + newgt + ", 9999999999);\">" +
"<i class=\"fa fa-arrow-circle-down\"></i> " +
_("Newer posts") + " <i class=\"fa fa-arrow-circle-down\"></a></div></div>" ;