summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-12-10 15:30:35 +0000
committerTed Trask <ttrask01@yahoo.com>2009-12-10 15:30:35 +0000
commit7f15ba6d31bae6ccb09e69df2be05de9b052a2ea (patch)
tree3f18fc28b55c884776b21c43d19a062cbc58ef18
parent63c6c400bdf374e394858dab4ed67f46c502f4b1 (diff)
downloadacf-samba-7f15ba6d31bae6ccb09e69df2be05de9b052a2ea.tar.bz2
acf-samba-7f15ba6d31bae6ccb09e69df2be05de9b052a2ea.tar.xz
UI fix, bumped to 0.3.3v0.3.3
-rw-r--r--Makefile2
-rw-r--r--samba-listfiles-html.lsp4
-rw-r--r--samba-listshares-html.lsp6
3 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 9c3a7a1..cd250ac 100644
--- a/Makefile
+++ b/Makefile
@@ -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 %>