diff options
-rw-r--r-- | render/directory.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/render/directory.c b/render/directory.c index b6a9e05ba..f2233a153 100644 --- a/render/directory.c +++ b/render/directory.c @@ -124,7 +124,7 @@ bool directory_convert(struct content *c) { if(up[strlen(up) - 1] == '/') up[strlen(up) - 1] = '\0'; snprintf(buffer, sizeof(buffer), "<tr bgcolor=\"#CCCCFF\"><td><b><a href=\"%s\">%s</a></td>" \ - "<td>%s</td><td> </td><td> </td></tr>\n", + "<td> </td><td> </td><td>%s</td></tr>\n", up, messages_get("FileParent"), messages_get("FileDirectory")); binding_parse_chunk(c->data.html.parser_binding, @@ -190,12 +190,12 @@ bool directory_convert(struct content *c) { if(S_ISDIR(filestat.st_mode)) { snprintf(buffer, sizeof(buffer), - "<td>%s</td><td>%s</td><td> </td>\n", - messages_get("FileDirectory"), modtime); + "<td> </td><td>%s</td><td>%s</td>\n", + modtime, messages_get("FileDirectory")); } else { snprintf(buffer, sizeof(buffer), - "<td>%d</td><td>%s</td><td>%s</td>\n", + "<td>%ld</td><td>%s</td><td>%s</td>\n", filestat.st_size, modtime, mimetype); } } |