summaryrefslogtreecommitdiffstats
path: root/lbu-listbackups-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'lbu-listbackups-html.lsp')
-rw-r--r--lbu-listbackups-html.lsp24
1 files changed, 12 insertions, 12 deletions
diff --git a/lbu-listbackups-html.lsp b/lbu-listbackups-html.lsp
index 5995c2b..cc6e3d8 100644
--- a/lbu-listbackups-html.lsp
+++ b/lbu-listbackups-html.lsp
@@ -1,31 +1,31 @@
-<? local view, viewlibrary, pageinfo, session = ...
+<% local view, viewlibrary, pageinfo, session = ...
require("viewfunctions")
-?>
-<?
+%>
+<%
--[[ DEBUG INFORMATION
io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
io.write(html.cfe_unpack(view))
io.write("</span>")
--]]
-?>
+%>
-<? displaycommandresults({"selectbackup"}, session) ?>
+<% displaycommandresults({"selectbackup"}, session) %>
<H1>Backup Archive</H1>
<DL>
-<? if #view.value == 0 then ?>
+<% if #view.value == 0 then %>
No backup files
-<? else ?>
+<% else %>
<table><tr>
<td class="header">Action</td>
<td class="header">File</td>
</tr>
- <? for i,name in ipairs(view.value) do ?>
+ <% for i,name in ipairs(view.value) do %>
<tr><td>
- <?= html.link{value="selectbackup?backup="..name, label="Select "} ?>
+ <%= html.link{value="selectbackup?backup="..name, label="Select "} %>
</td>
- <td><?= name ?></td></tr>
- <? end
-end ?>
+ <td><%= name %></td></tr>
+ <% end
+end %>
</table>
</DL>