head	1.3;
access;
symbols
	TIGRIS_0_9_0:1.2.0.8
	TIGRIS_0_8_4:1.2.0.6
	TIGRIS_NOV_12_2000:1.2
	OLDHELM:1.2.0.4
	TIGRIS_NOV_11_2000:1.2
	TIGRIS_SEP_13_2000:1.2.0.2
	TIGRIS_BASELINE:1.2;
locks; strict;
comment	@# @;


1.3
date	2001.01.02.18.13.27;	author leonardr;	state dead;
branches;
next	1.2;

1.2
date	2000.06.01.01.00.45;	author ed;	state Exp;
branches;
next	1.1;

1.1
date	2000.02.02.05.22.43;	author jrobbins;	state Exp;
branches;
next	;


desc
@@


1.3
log
@/admin templates no longer used.
@
text
@<h1>Mailing List $listname In Project $project</h1>

<ul>
#if ($changed) {
    <li>Updated information for mailing list $listname@@$project
}
<font color=red>
#foreach $field in $missingFields {
    <li>Missing required field <strong>$field</strong>
}
#foreach $field in $validationErrors {
    <li>Validation Error: <strong>$field</strong>
}
</font>
</ul>

<hr>

<h2>List Options</h2>

#if ( $UserPermissions.accessAllowed("ProjMail - Change") && $isProjectOwner) {

<form method="POST" action="$servletName">
<input type=hidden name=project value="$project">
<input type=hidden name=list value="$listname">

<table border>
#foreach $opt in $options {
    #if ($opt.ShouldDisplay) {
        #if ($opt.Value) {
            #set $checked = " checked"
        } #else {
            #set $checked = ""
        }
        <tr><td colspan=2><input type=checkbox name="$opt.Name"
                           value=true$checked>$opt.Text</td></tr>
    } #else {
        #if ($opt.Value) {
            <input type="hidden" name="$opt.Name" value="true">
        }
    }
}
<tr><th>Owner (blank for none)</th>
<td><input type=text name=owner value="$owner" size=40></td></tr>
</table>

<p>
<input type=submit name="Button" value="Make Changes">
<input type=reset NAME="Button" value="Reset Form">
<input type=submit name="Button" value="Cancel">
</p>

</form>

Edit the list of:
<form method="POST" action="ProjMailFileEdit">
<input type=hidden name=project value="$project">
<input type=hidden name=list value="$listname">
#if ($moderation_enabled) {
    <input type=submit name=file value="Moderators">
}
#if ($digest_enabled) {
    <input type=submit name=file value="Digest Subscribers">
}
<input type=submit name=file value="Subscribers">
</form>
<p>

Switch to :
<form method="POST" ACTION="$servletName">
<input type=hidden name=project value="$project">
<input type=hidden name=list value="$listname">
<input type=submit name=level value="$alternate_level">
</form>

} #else {
## base permission is ProjMail - View

<table border>
#foreach $opt in $options {
    #if ($opt.ShouldDisplay) {
        #if ($opt.Value) {
            #set $checked = "Yes"
        } #else {
            #set $checked = "No"
        }
        <tr>
        <td>$checked</td>
        <td>$opt.Text</td>
        </tr>
    }
}
<tr><th>List Owner</th>
<td>
#if ($owner && $owner != "") {
$owner
} #else {
No list owner specified
}
</td></tr>
</table>

}


#if ( $UserPermissions.accessAllowed("ProjMail - Delete") && $isProjectOwner ) {

<h2>Other Operations</h2>
<ul>
<li><a href="ProjMailDelete?project=$project&list=$listname">Delete
Mailing List</a>
</ul>

}
@


1.2
log
@change ProjMailAdd/ProjMailEdit to handle the Advanced/Simple views of
the settings, using hidden variables when appropriate.  remove support
for sublists.

add links to ProjMailFileEdit w/ ProjMailEdit where appropriate, and
add ProjMailFileEdit, used to edit the membership of lists.
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@@


1.1
log
@iniital checkin
@
text
@d29 8
a36 2
    #if ($opt.Value) {
        #set $checked = " checked"
d38 3
a40 1
        #set $checked = ""
a41 2
    <tr><td colspan=2><input type=checkbox name="$opt.Name"
                       value=true$checked>$opt.Text</td></tr>
a44 2
<tr><th>Sublist of (blank for none)</th>
<td><input type=text name=sublist value="$sublist" size=40></td></tr>
d55 21
d81 10
a90 4
    #if ($opt.Value) {
        #set $checked = "Yes"
    } #else {
        #set $checked = "No"
a91 4
    <tr>
    <td>$checked</td>
    <td>$opt.Text</td>
    </tr>
a100 8
<tr><th>Sublist of:</th>
<td>
#if ($sublist && $sublist != "") {
$sublist
} #else {
This list is not a sublist of any other
}
</td></tr>
d114 1
a114 1
}@

