X-Git-Url: http://git.hcoop.net/hcoop/zz_old/portal.git/blobdiff_plain/78304862b144979558eb1b9d082ab4f8dac21ac0..77c62700505ceea96f459d328baf0a9fd69be7dd:/domain.mlt?ds=sidebyside diff --git a/domain.mlt b/domain.mlt index b5f07de..9b7889d 100644 --- a/domain.mlt +++ b/domain.mlt @@ -7,24 +7,24 @@ 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 %>


- - - - - +
By: <% name %>
Time: <% #stamp req %>
Domain: <% #data req %>
Reason: <% Web.html (#msg req) %>
+ + + +
By: <% name %>
Time: <% #stamp req %>
Domain: <% #data req %>
Reason: <% Web.html (#msg req) %>
<% if admin then %> @@ -37,15 +37,15 @@ elseif $"cmd" = "open" then <% end elseif $"cmd" = "list" then - %>

All requests

<% + %>

All requests

<% foreach (name, req) in Domain.list () do %>


- - - - - +
By: <% name %>
Time: <% #stamp req %>
Domain: <% #data req %>
Reason: <% Web.html (#msg req) %>
+ + + +
By: <% name %>
Time: <% #stamp req %>
Domain: <% #data req %>
Reason: <% Web.html (#msg req) %>
<% 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) %> -

Handle request

+

Handle request

-
+ - - - -
Requestor: <% #name user %>
Time: <% #stamp req %>
Status: + + + - - + +
Requestor: <% #name user %>
Time: <% #stamp req %>
Status:
Domain:
Message:
Domain:
Message:
@@ -88,10 +88,10 @@ elseif $"mod" <> "" then Domain.modify {req with data = $"dom", msg = $"msg", status = newStatus}; if oldStatus <> newStatus then if not (Domain.notifyMod (oldStatus, newStatus, Init.getUserName(), id)) then - %>

Error sending e-mail notification

<% + %>

Error sending e-mail notification

<% end end - %>

Request modified

+ %>

Request modified

Back to: open requests, all requests <% elseif $"del" <> "" then @@ -99,26 +99,26 @@ elseif $"mod" <> "" then val id = Web.stoi ($"del"); val req = Domain.lookup id; val user = Init.lookupUser (#usr req) - %>

Are you sure you want to delete request by <% #name user %> for <% #data req %>?

+ %>

Are you sure you want to delete request by <% #name user %> for <% #data req %>?

Yes, I'm sure! <% elseif $"del2" <> "" then Group.requireGroupName "server"; val id = Web.stoi ($"del2"); Domain.delete id - %>

Request deleted

+ %>

Request deleted

Back to: open requests, all requests <% else %> -

Request new domain

+

Request new domain

Enter the full Internet domain name that you own and would like set up here. We don't do domain registration, so it is your responsibility to register this name with your registrar of choice before submitting it here. The "Reason" field is optional. -
- - - + +
Domain:
Reason:
+ +
Domain:
Reason: