summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acfupdate-html.lsp20
1 files changed, 10 insertions, 10 deletions
diff --git a/acfupdate-html.lsp b/acfupdate-html.lsp
index 50391b6..60e8ceb 100644
--- a/acfupdate-html.lsp
+++ b/acfupdate-html.lsp
@@ -1,4 +1,4 @@
-<? local view = ... ?>
+<% local view = ... %>
<h1>Fetch ACF updates</h1>
@@ -8,16 +8,16 @@ But if you have manually checked it out, you will get a update on it by pressing
<h2>Available projects</h2>
-<pre><?= view.projects ?></pre>
+<pre><%= view.projects %></pre>
-<? if (view.updates) then ?>
+<% if (view.updates) then %>
<h2>Summary</h2>
- <? for i = 1, table.maxn(view["updates"]["cmdresult"]) do ?>
- <? if (view["updates"]["cmdresult"][i]["updates"] ~= "") then ?>
- <h3><?= view["updates"]["cmdresult"][i]["name"] ?></h3>
- <pre><?= view["updates"]["cmdresult"][i]["updates"] ?></pre>
- <? end ?>
- <? end ?>
+ <% for i = 1, table.maxn(view["updates"]["cmdresult"]) do %>
+ <% if (view["updates"]["cmdresult"][i]["updates"] ~= "") then %>
+ <h3><%= view["updates"]["cmdresult"][i]["name"] %></h3>
+ <pre><%= view["updates"]["cmdresult"][i]["updates"] %></pre>
+ <% end %>
+ <% end %>
<h3>-- End of updates --</h3>
-<? end ?>
+<% end %>