diff options
Diffstat (limited to 'tcpproxy-listsmtpfiles-html.lsp')
-rw-r--r-- | tcpproxy-listsmtpfiles-html.lsp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tcpproxy-listsmtpfiles-html.lsp b/tcpproxy-listsmtpfiles-html.lsp index a303f47..ac8de32 100644 --- a/tcpproxy-listsmtpfiles-html.lsp +++ b/tcpproxy-listsmtpfiles-html.lsp @@ -29,6 +29,8 @@ html = require("acf.html") <tr> <th>Action</th> <th>File</th> + <th>Size</th> + <th>Last Modified</th> </tr> </thead><tbody> <% local filename = cfe({ type="hidden", value="" }) %> @@ -37,7 +39,7 @@ html = require("acf.html") <tr> <td> <% - filename.value = file + filename.value = file.filename if viewlibrary.check_permission("editsmtpfile") then htmlviewfunctions.displayitem(cfe({type="link", value={filename=filename, redir=redir}, label="", option="Edit", action="editsmtpfile"}), page_info, -1) end @@ -46,7 +48,9 @@ html = require("acf.html") end %> </td> - <td><%= html.html_escape(file) %></td> + <td><%= html.html_escape(file.filename) %></td> + <td><span class="hide"><%= html.html_escape(file.size or 0) %>b</span><%= format.formatfilesize(file.size) %></td> + <td><%= format.formattime(file.mtime) %></td> </tr> <% end %> </tbody></table> |