X-Git-Url: http://git.hcoop.net/hcoop/portal.git/blobdiff_plain/b6dd1aafb4c9cddf89b06c2eeac1b5277046ad9f..9da4f9396351fe3a5877fc3a782d97edc5607ca3:/domain.mlt diff --git a/domain.mlt b/domain.mlt index 9b7889d..0493788 100644 --- a/domain.mlt +++ b/domain.mlt @@ -4,14 +4,19 @@ val admin = Group.inGroupName "server"; if $"req" <> "" then val dom = $"req"; - if Util.validDomain dom then + if not (Util.validDomain dom) then + %>
You probably meant to request <% base %> instead, which would grant you the ability to configure <% dom %> as well. Unless you've registered <% dom %> directly with your registrar, you will be unable to configure it without the right to set nameservers for <% base %>.
+">Yes, go ahead and place the request!
<% + else val id = Domain.add (Init.getUserId(), dom, $"msg"); if not (Domain.notifyNew id) then %>By: | <% name %> | |
Time: | <% #stamp req %> | |
Time: | <% #stamp req %> (<% Util.diffFromNow (#stamp req) %> ago) | |
Domain: | <% #data req %> | |
Reason: | <% Web.html (#msg req) %> |
By: | <% name %> | |
Time: | <% #stamp req %> | |
Time: | <% #stamp req %> (<% Util.diffFromNow (#stamp req) %> ago) | |
Domain: | <% #data req %> | |
Reason: | <% Web.html (#msg req) %> |
Requestor: | <% #name user %> |
Time: | <% #stamp req %> |
Time: | <% #stamp req %> (<% Util.diffFromNow (#stamp req) %> ago) |
Status: |