+elseif $"cmd" = "list" then
+ showNormal := false %>
+ <h3>All issues</h3>
+
+<table>
+<% foreach (name, issue) in Support.listCategoryIssues catId do
+ if (iff admin then true else (iff #priv issue then (#usr issue = you) else true)) then %>
+ <tr> <td><a href="issue?cat=<% catId %>&id=<% #id issue %>"><% Web.html (#title issue) %></a>
+<% if #priv issue then %><i>(private)</i><% end %>
+ </td>
+ <td><a href="user?id=<% #usr issue %>"><% name %></a></td>
+ <td><% #stamp issue %></td>
+ <td><% switch #status issue of
+ Support.NEW => %>New<%
+ | Support.PENDING => %>Pending<%
+ | Support.CLOSED => %>Closed<%
+ end %></td> </tr>
+<% end
+end %>
+</table>
+
+<% elseif $"mod" <> "" then