diff options
Diffstat (limited to 'weblog-viewblocklog-html.lsp')
-rw-r--r-- | weblog-viewblocklog-html.lsp | 8 |
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> |