summaryrefslogtreecommitdiffstats
path: root/app/acf-util/password-status-html.lsp
diff options
context:
space:
mode:
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>