Make it prettier
This commit is contained in:
parent
a98c5a3fe0
commit
fa3af4fe78
@ -220,3 +220,8 @@
|
|||||||
display: table-column;
|
display: table-column;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.msgbody {
|
||||||
|
background-color: black;
|
||||||
|
color: white;
|
||||||
|
}
|
@ -456,7 +456,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i
|
|||||||
}
|
}
|
||||||
strcat(page, buffer);
|
strcat(page, buffer);
|
||||||
len += strlen(buffer);
|
len += strlen(buffer);
|
||||||
sprintf(buffer, "<div id=\"msgbody\">\n");
|
sprintf(buffer, "<div id=\"msgbody\"><pre>\n");
|
||||||
if (len + strlen(buffer) > max_len - 1) {
|
if (len + strlen(buffer) > max_len - 1) {
|
||||||
max_len += 4096;
|
max_len += 4096;
|
||||||
page = (char *)realloc(page, max_len);
|
page = (char *)realloc(page, max_len);
|
||||||
@ -480,7 +480,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i
|
|||||||
free(aha_out);
|
free(aha_out);
|
||||||
free(aha_text);
|
free(aha_text);
|
||||||
|
|
||||||
sprintf(buffer, "</div>\n");
|
sprintf(buffer, "</pre></div>\n");
|
||||||
if (len + strlen(buffer) > max_len - 1) {
|
if (len + strlen(buffer) > max_len - 1) {
|
||||||
max_len += 4096;
|
max_len += 4096;
|
||||||
page = (char *)realloc(page, max_len);
|
page = (char *)realloc(page, max_len);
|
||||||
|
Reference in New Issue
Block a user