update to look prettier

This commit is contained in:
Andrew Pamment 2018-05-25 22:29:09 +10:00
parent fb90c8b397
commit 23fb3df703

View File

@ -474,7 +474,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i
if (strcmp(nodename, "Unknown") == 0) { if (strcmp(nodename, "Unknown") == 0) {
sprintf(buffer, "<div class=\"msg-view-from\">From: %s (%s)</div>\n", from_s, oaddress); sprintf(buffer, "<div class=\"msg-view-from\">From: %s (%s)</div>\n", from_s, oaddress);
} else { } else {
sprintf(buffer, "<div class=\"msg-view-from\">From: %s (%s - %s)</div>\n", from_s, oaddress, nodename); sprintf(buffer, "<div class=\"msg-view-from\">From: %s (<span class=\"bbsname\">%s</span> - %s)</div>\n", from_s, nodename, oaddress);
} }
free(nodename); free(nodename);
free(nodeno); free(nodeno);