summaryrefslogtreecommitdiffstats
path: root/app/acf-util/password-status-html.lsp
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
commite4b39f4255aff6f974eb1a1e4e78fe01587814aa (patch)
treef59de39a0fb4325e2b8623d734cf23ab7a6ada56 /app/acf-util/password-status-html.lsp
parent4bf00bc98b36c0233e1ea833571acffefe2ec73b (diff)
downloadacf-core-e4b39f4255aff6f974eb1a1e4e78fe01587814aa.tar.bz2
acf-core-e4b39f4255aff6f974eb1a1e4e78fe01587814aa.tar.xz
use <% %> instead of <? ?>
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/acf-util/password-status-html.lsp')
-rwxr-xr-xapp/acf-util/password-status-html.lsp34
1 files changed, 17 insertions, 17 deletions
diff --git a/app/acf-util/password-status-html.lsp b/app/acf-util/password-status-html.lsp
index c16e0d6..26416ce 100755
--- a/app/acf-util/password-status-html.lsp
+++ b/app/acf-util/password-status-html.lsp
@@ -1,14 +1,14 @@
-<? local form, viewlibrary, pageinfo, session = ... ?>
-<? require("viewfunctions") ?>
-<?
+<% local form, 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(form))
io.write("</span>")
--]]
-?>
+%>
-<? displaycommandresults({"deleteuser"}, session) ?>
+<% displaycommandresults({"deleteuser"}, session) %>
<H1>User Accounts</H1>
<H2>Create new account</H2>
@@ -17,26 +17,26 @@ io.write("</span>")
</form>
<H2>Existing account</H2>
<DL>
-<? for name,user in pairs(form.value) do ?>
- <DT><IMG SRC='/skins/static/tango/16x16/apps/system-users.png' HEIGHT='16' WIDTH='16'> <?= name ?></DT>
+<% for name,user in pairs(form.value) do %>
+ <DT><IMG SRC='/skins/static/tango/16x16/apps/system-users.png' HEIGHT='16' WIDTH='16'> <%= name %></DT>
<DD><TABLE>
<TR>
- <TD STYLE='border:none;'><B><?= user.value.userid.label ?></B></TD>
- <TD STYLE='border:none;' WIDTH='90%'><?= user.value.userid.value ?></TD>
+ <TD STYLE='border:none;'><B><%= user.value.userid.label %></B></TD>
+ <TD STYLE='border:none;' WIDTH='90%'><%= user.value.userid.value %></TD>
</TR><TR>
- <TD STYLE='border:none;'><B><?= user.value.username.label ?></B></TD>
- <TD STYLE='border:none;'><?= user.value.username.value ?></TD>
+ <TD STYLE='border:none;'><B><%= user.value.username.label %></B></TD>
+ <TD STYLE='border:none;'><%= user.value.username.value %></TD>
</TR><TR>
- <TD STYLE='border:none;'><B><?= user.value.roles.label ?></B></TD>
- <TD STYLE='border:none;'><?= table.concat(user.value.roles.value, " / ") ?></TD>
+ <TD STYLE='border:none;'><B><%= user.value.roles.label %></B></TD>
+ <TD STYLE='border:none;'><%= table.concat(user.value.roles.value, " / ") %></TD>
</TR><TR>
<TD STYLE='border:none;'><B>Option</B></TD>
<TD STYLE='border:none;'>
- [<A HREF='edituser?userid=<?= name ?>'>Edit this account</A>]
- [<A HREF='deleteuser?userid=<?= name ?>'>Delete this account</A>]
- [<A HREF='<?= pageinfo.script ?>/acf-util/roles/viewuserroles?userid=<?= name ?>'>View roles for this account</A>]
+ [<A HREF='edituser?userid=<%= name %>'>Edit this account</A>]
+ [<A HREF='deleteuser?userid=<%= name %>'>Delete this account</A>]
+ [<A HREF='<%= pageinfo.script %>/acf-util/roles/viewuserroles?userid=<%= name %>'>View roles for this account</A>]
</TD>
</TR>
</TABLE></DD>
-<? end ?>
+<% end %>
</DL>