summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <natanael.copa@gmail.com>2008-07-28 06:48:16 +0000
committerNatanael Copa <natanael.copa@gmail.com>2008-07-28 06:48:16 +0000
commit40b643f6a2a797b7006f8d855eed69921eccf9b6 (patch)
tree1d59c6cf6646626a0d93b99962a728c83b17f535
parent601c7ea73ab32f92937ceeed8ef05f1ba7022c6d (diff)
downloadacf-devtools-40b643f6a2a797b7006f8d855eed69921eccf9b6.tar.bz2
acf-devtools-40b643f6a2a797b7006f8d855eed69921eccf9b6.tar.xz
use <% %> instead of <? ?>
git-svn-id: svn://svn.alpinelinux.org/acf/devtools/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed
-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 %>