X-Git-Url: http://git.hcoop.net/hcoop/zz_old/portal.git/blobdiff_plain/78304862b144979558eb1b9d082ab4f8dac21ac0..cee714e26f7f0b852ff5fae23f9a39718ad22200:/domain.mlt
diff --git a/domain.mlt b/domain.mlt
index b5f07de..78dc955 100644
--- a/domain.mlt
+++ b/domain.mlt
@@ -7,45 +7,45 @@ if $"req" <> "" then
if Util.validDomain dom then
val id = Domain.add (Init.getUserId(), dom, $"msg");
if not (Domain.notifyNew id) then
- %>
Error sending e-mail notification
<%
+ %>
Error sending e-mail notification
<%
end
- %>
Request added
<%
+ %>
Request added
<%
else
- %>
Invalid domain name
<%
+ %>
Invalid domain name
<%
end
elseif $"cmd" = "open" then
- %>
Open requests
+ %>
Open requests
List all requests<%
foreach (name, req) in Domain.listOpen () do %>
-
<% if admin then %>
[Modify][Delete]
- To set up, run: domtool.real mkdom <% #data req %> <% name %>
+ To set up, run: domtool-admin grant <% name %> domain <% #data req %>
<% end %>
<% end
elseif $"cmd" = "list" then
- %>
<% if admin then %>
@@ -61,20 +61,20 @@ elseif $"mod" <> "" then
val id = Web.stoi ($"mod");
val req = Domain.lookup id;
val user = Init.lookupUser (#usr req) %>
-