diff options
Diffstat (limited to 'squid-listfiles-html.lsp')
-rw-r--r-- | squid-listfiles-html.lsp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/squid-listfiles-html.lsp b/squid-listfiles-html.lsp index d1ff90f..6a1b1f3 100644 --- a/squid-listfiles-html.lsp +++ b/squid-listfiles-html.lsp @@ -33,6 +33,8 @@ end %> <tr> <th>Action</th> <th>File</th> + <th>Size</th> + <th>Last Modified</th> </tr> </thead><tbody> <% local filename = cfe({ type="hidden", value="" }) %> @@ -41,7 +43,7 @@ end %> <tr> <td> <% - filename.value = file + filename.value = file.filename if viewlibrary.check_permission("editfile") then htmlviewfunctions.displayitem(cfe({type="link", value={filename=filename, redir=redir}, label="", option="Edit", action="editfile"}), page_info, -1) end @@ -50,7 +52,9 @@ end %> 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> |