X-Git-Url: https://git.hcoop.net/hcoop/zz_old/portal.git/blobdiff_plain/add44c001af25ce13aff411079be8138877342f9..57215bc36b90e2395e31240faea44cb84f93ae39:/list.mlt diff --git a/list.mlt b/list.mlt index 6ea2716..e48b5c7 100644 --- a/list.mlt +++ b/list.mlt @@ -7,24 +7,24 @@ if $"req" <> "" then if Util.validEmail dom then val id = MailingList.add (Init.getUserId(), dom, $"msg"); if not (MailingList.notifyNew id) then - %>

Error sending e-mail notification

<% + %>

Error sending e-mail notification

<% end - %>

Request added

<% + %>

Request added

<% else - %>

Invalid list e-mail address

<% + %>

Invalid list e-mail address

<% end elseif $"cmd" = "open" then - %>

Open requests

+ %>

Open requests

List all requests<% foreach (name, req) in MailingList.listOpen () do %>


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

All requests

<% + %>

All requests

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


- - - - - +
By: <% name %>
Time: <% #stamp req %>
List name: <% #data req %>
Reason: <% Web.html (#msg req) %>
+ + + +
By: <% name %>
Time: <% #stamp req %>
List name: <% #data req %>
Reason: <% Web.html (#msg req) %>
<% if admin then %> @@ -62,20 +62,20 @@ elseif $"mod" <> "" then val id = Web.stoi ($"mod"); val req = MailingList.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:
List name:
Message:
List name:
Message:
@@ -89,10 +89,10 @@ elseif $"mod" <> "" then MailingList.modify {req with data = $"dom", msg = $"msg", status = newStatus}; if oldStatus <> newStatus then if not (MailingList.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 @@ -100,28 +100,28 @@ elseif $"mod" <> "" then val id = Web.stoi ($"del"); val req = MailingList.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 "lists"; val id = Web.stoi ($"del2"); MailingList.delete id - %>

Request deleted

+ %>

Request deleted

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

Request new mailing list

+

Request new mailing list

Enter here the e-mail address you would like for your list. Please keep in mind that the part of your list address before the "@" must be unique across all mailing lists we run. We may reject applications with overly general names here, especially names of current users or UNIX usernames that are likely to be chosen by future members. The "Reason" field is optional.

-

If you want to use the Mailman web interface on your new list, and you want this to appear on a different web virtual host than hcoop.net, you should create a file .mailman in the domtool directory for this domain, before submitting a request. In that file, put the hostname of the vhost you want to use, and be sure to include a Mailman directive in that vhost's configuration.

+

If you want to use the Mailman web interface on your new list, and you want this to appear on a different web virtual host than hcoop.net, you should create a file .mailman in the domtool directory for this domain and run domtool, before submitting a request. In that file, put the hostname of the vhost you want to use, and be sure to include a Mailman directive in that vhost's configuration.

- - - +
List name:
Reason:
+ +
List name:
Reason: