summaryrefslogtreecommitdiffstats
path: root/weblog-viewblocklog-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-08-28 14:59:58 +0000
committerTed Trask <ttrask01@yahoo.com>2009-08-28 14:59:58 +0000
commit138ae855953c6ba7dadd62a092d53feb46777579 (patch)
tree35186954708fa0a56f130a78108b8b2f9f751857 /weblog-viewblocklog-html.lsp
parent48a8fe99954ac0dc8ea9bd666fad1af3a97eb910 (diff)
downloadacf-weblog-138ae855953c6ba7dadd62a092d53feb46777579.tar.bz2
acf-weblog-138ae855953c6ba7dadd62a092d53feb46777579.tar.xz
Added parameter validation, bumped to 0.3.2v0.3.2
Diffstat (limited to 'weblog-viewblocklog-html.lsp')
-rw-r--r--weblog-viewblocklog-html.lsp8
1 files changed, 7 insertions, 1 deletions
diff --git a/weblog-viewblocklog-html.lsp b/weblog-viewblocklog-html.lsp
index 0c10e0a..29197f4 100644
--- a/weblog-viewblocklog-html.lsp
+++ b/weblog-viewblocklog-html.lsp
@@ -13,23 +13,29 @@
<% end %>
<H1>Search Parameters</H1>
+<% if data.errtxt then %><p class="error"><%= html.html_escape(data.errtxt) %></p><% end %>
<form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action) %>" method="POST">
<DL>
<DT>Start Time</DT>
<DD><%= html.html_escape(data.value.starttime.value) %>
<input class="text" type="text" name="starttime" value="<%= html.html_escape(data.value.starttime.value) %>" >
+<% if data.value.starttime.errtxt then %><p class="error"><%= html.html_escape(data.value.starttime.errtxt) %></p><% end %>
</DD>
<DT>User ID</DT>
<DD><%= html.html_escape(data.value.clientuserid.value) %>
<input class="text" type="text" name="clientuserid" value="<%= html.html_escape(data.value.clientuserid.value) %>" >
+<% if data.value.clientuserid.errtxt then %><p class="error"><%= html.html_escape(data.value.clientuserid.errtxt) %></p><% end %>
</DD>
<DT>Client IP</DT>
<DD><%= html.html_escape(data.value.clientip.value) %>
<input class="text" type="text" name="clientip" value="<%= html.html_escape(data.value.clientip.value) %>" >
+<% if data.value.clientip.errtxt then %><p class="error"><%= html.html_escape(data.value.clientip.errtxt) %></p><% end %>
</DD>
<DT>End Time</DT>
-<DD><%= html.html_escape(data.value.endtime.value) %>
+<DD><%= html.html_escape(data.value.endtime
+.value) %>
<input class="text" type="text" name="endtime" value="<%= html.html_escape(data.value.endtime.value) %>" >
+<% if data.value.endtime.errtxt then %><p class="error"><%= html.html_escape(data.value.endtime.errtxt) %></p><% end %>
</DD>
<DT></DT><DD><input class="submit" type="submit" name="Update" value="Update"></DD>
</DL>