From f94551200d095d42b721a44086d6eafcecacbd88 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 28 Jul 2008 06:48:16 +0000 Subject: use <% %> instead of git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lbu-config-html.lsp | 16 ++++++++-------- lbu-listbackups-html.lsp | 24 ++++++++++++------------ lbu-listchanges-html.lsp | 16 ++++++++-------- lbu-status-html.lsp | 12 ++++++------ 4 files changed, 34 insertions(+), 34 deletions(-) diff --git a/lbu-config-html.lsp b/lbu-config-html.lsp index 5072423..4b8212d 100644 --- a/lbu-config-html.lsp +++ b/lbu-config-html.lsp @@ -1,20 +1,20 @@ - - +<% --[[ DEBUG INFORMATION io.write("

DEBUGGING

DEBUG INFO: CFE

") io.write(html.cfe_unpack(form)) io.write("
") --]] -?> +%> - +end %>

Config

- viewlibrary.dispatch_component("editexcluded") viewlibrary.dispatch_component("listbackups") end -?> +%> 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 @@ - - +<% --[[ DEBUG INFORMATION io.write("

DEBUGGING

DEBUG INFO: CFE

") io.write(html.cfe_unpack(view)) io.write("
") --]] -?> +%> - +<% displaycommandresults({"selectbackup"}, session) %>

Backup Archive

- +<% if #view.value == 0 then %> No backup files - +<% else %> - + <% for i,name in ipairs(view.value) do %> - - + + <% end +end %>
Action File
- + <%= html.link{value="selectbackup?backup="..name, label="Select "} %>
<%= name %>
diff --git a/lbu-listchanges-html.lsp b/lbu-listchanges-html.lsp index 0cc7f03..d2a9692 100644 --- a/lbu-listchanges-html.lsp +++ b/lbu-listchanges-html.lsp @@ -1,25 +1,25 @@ - - +<% --[[ DEBUG INFORMATION io.write("

DEBUGGING

DEBUG INFO: CFE

") io.write(html.cfe_unpack(view)) io.write("
") --]] -?> +%> - +end %>

Changes Since Last Commit

Files changed since last commit
-
<% 
 		if (#view.value == 0) then
 			io.write("None")
 		else
@@ -27,5 +27,5 @@ end ?>
 				io.write(file.status .. "\t" .. file.name .. "\n")
 			end
 		end
-	?>
+ %>
diff --git a/lbu-status-html.lsp b/lbu-status-html.lsp index 6b8a77d..6da9025 100644 --- a/lbu-status-html.lsp +++ b/lbu-status-html.lsp @@ -1,17 +1,17 @@ - - +<% --[[ DEBUG INFORMATION io.write("

DEBUGGING

DEBUG INFO: CFE

") io.write(html.cfe_unpack(view)) io.write("
") --]] -?> +%>

System Info

- +end %>
-- cgit v1.2.3