diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | samba-listfiles-html.lsp | 4 | ||||
-rw-r--r-- | samba-listshares-html.lsp | 6 |
3 files changed, 6 insertions, 6 deletions
@@ -1,6 +1,6 @@ APP_NAME=samba PACKAGE=acf-$(APP_NAME) -VERSION=0.3.2 +VERSION=0.3.3 APP_DIST=\ samba* \ diff --git a/samba-listfiles-html.lsp b/samba-listfiles-html.lsp index 13bd484..a4373fc 100644 --- a/samba-listfiles-html.lsp +++ b/samba-listfiles-html.lsp @@ -9,7 +9,7 @@ require("viewfunctions") end %> <h1><%= html.html_escape(data.label) %></h1> -<TABLE> +<DL><TABLE> <TR style="background:#eee;font-weight:bold;"> <TD style="padding-right:20px;white-space:nowrap;text-align:left;" class="header">File</TD> <TD style="padding-right:20px;white-space:nowrap;text-align:left;" class="header">Size</TD> @@ -25,7 +25,7 @@ end %> <TD style="white-space:nowrap;" width="90%"><%= html.html_escape(file.mtime) %></TD> </TR> <% end %> -</TABLE> +</TABLE></DL> <% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("startstop") diff --git a/samba-listshares-html.lsp b/samba-listshares-html.lsp index 7489601..0e36fdf 100644 --- a/samba-listshares-html.lsp +++ b/samba-listshares-html.lsp @@ -14,9 +14,6 @@ require("viewfunctions") <TD style="padding-right:20px;white-space:nowrap;text-align:left;" class="header">Path</TD> <TD style="white-space:nowrap;text-align:left;" class="header">Comment</TD> </TR> -<% if #view.value == 0 then %> -No Shares Found -<% end %> <% for i,share in ipairs(view.value) do %> <TR> <TD style="padding-right:20px;white-space:nowrap;"> @@ -33,6 +30,9 @@ No Shares Found </TR> <% end %> </TABLE> +<% if #view.value == 0 then %> +No Shares Found +<% end %> </DL> <% if viewlibrary and viewlibrary.dispatch_component and session.permissions.samba.createshare then %> |