summaryrefslogtreecommitdiffstats
path: root/samba-listshares-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'samba-listshares-html.lsp')
-rw-r--r--samba-listshares-html.lsp6
1 files changed, 3 insertions, 3 deletions
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 %>