head	1.18;
access;
symbols
	TIGRIS_0_9_2_4:1.14.2.1
	TIGRIS_0_9_2_3:1.14.2.1
	HELM_PEER_PORT_BRANCH:1.16.0.2
	TURBINE_PEER:1.16
	TIGRIS_0_9_2_1:1.16
	TIGRIS_0_9_2:1.14.0.2
	TIGRIS_0_9_0:1.12.0.2
	TIGRIS_0_8_4:1.7.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.18
date	2001.02.21.03.23.58;	author edk;	state dead;
branches;
next	1.17;

1.17
date	2001.02.10.01.05.17;	author ms;	state Exp;
branches;
next	1.16;

1.16
date	2001.01.19.04.48.40;	author jrobbins;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	2001.01.19.02.34.55;	author dlr;	state Exp;
branches;
next	1.14;

1.14
date	2001.01.18.21.02.14;	author jrobbins;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	2001.01.11.02.19.01;	author jrobbins;	state Exp;
branches;
next	1.12;

1.12
date	2000.12.20.23.28.20;	author edk;	state Exp;
branches;
next	1.11;

1.11
date	2000.12.19.23.21.22;	author susank;	state Exp;
branches;
next	1.10;

1.10
date	2000.12.15.23.57.23;	author elicia;	state Exp;
branches;
next	1.9;

1.9
date	2000.12.08.03.41.42;	author ms;	state Exp;
branches;
next	1.8;

1.8
date	2000.12.05.00.03.37;	author susank;	state Exp;
branches;
next	1.7;

1.7
date	2000.12.04.02.42.09;	author jrobbins;	state Exp;
branches;
next	1.6;

1.6
date	2000.12.02.23.13.57;	author edk;	state Exp;
branches;
next	1.5;

1.5
date	2000.11.30.13.00.44;	author edk;	state Exp;
branches;
next	1.4;

1.4
date	2000.11.29.04.48.25;	author cameron;	state Exp;
branches;
next	1.3;

1.3
date	2000.11.18.21.00.30;	author edk;	state Exp;
branches;
next	1.2;

1.2
date	2000.11.17.01.35.15;	author edk;	state Exp;
branches;
next	1.1;

1.1
date	2000.11.12.21.18.21;	author dlr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.12.21.18.21;	author dlr;	state Exp;
branches;
next	;

1.14.2.1
date	2001.01.19.07.10.40;	author edk;	state Exp;
branches;
next	;

1.16.2.1
date	2001.02.09.03.08.48;	author dlr;	state Exp;
branches;
next	1.16.2.2;

1.16.2.2
date	2001.02.17.20.11.18;	author leonardr;	state Exp;
branches;
next	1.16.2.3;

1.16.2.3
date	2001.02.20.20.20.31;	author edk;	state dead;
branches;
next	;


desc
@@


1.18
log
@delete stuff from the head which is obsolete in the branch (more changes
are still needed for a clean compile)
@
text
@#if ($info) {
  <li class="PlainText">$info
}

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" WIDTH="100%">
  <TR>
    <TD class="Header" nowrap>Mailing Lists: <SPAN CLASS="ProjectNameHeader"><A HREF="$currentProject.getProjectHome()">$currentProject.getName()</a></SPAN></TD>  
  </TR>
</TABLE>

#foreach $list in $mailingLists
{
#set $post = "$list.getEmailPrefix()@@$list.getEmailDomain()"
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
  <TR>
    <TD COLSPAN="2" class="InputHeader" bgcolor="#efefef">$post 
#set $archiveURL = "$currentProject.getProjectPageURL("SummarizeList", "listId=$list.getID()")"
#set $searchURL  = "$currentProject.getProjectPageURL("SearchList", "listId=$list.getID()")"
    <span class="StatText">(<A HREF="$archiveURL">View Archive</A>)
   			   (<A HREF="$searchURL">Search Archive)</span></TD>
  </TR>
  <TR>
    <TD COLSPAN="2" class="PlainText"><b>Description:</b> $list.getDescription()</TD>
  </TR>
#if ($myProperties.getProperty("org.tigris.eyebrowse.useLocalMail").equals("false")){
  <TR>
#set $subscribe = "$list.getEmailPrefix()-subscribe@@$list.getEmailDomain()"
    <TD COLSPAN="2" class="PlainText"><b>Subscribe:</b> <A HREF="mailto:$subscribe">$subscribe</A></TD>
  </TR>
  <TR>
#set $unsubscribe = "$list.getEmailPrefix()-unsubscribe@@$list.getEmailDomain()"
    <TD COLSPAN="2" class="PlainText"><b>Unsubscribe:</b> <A HREF="mailto:$unsubscribe">$unsubscribe</A></TD>
  </TR>

#if (!$loginUser.isGuest()) {
  <TR>
    <TD VALIGN="top" CLASS="PlainText" NOWRAP><FORM ACTION="ProjectMail" METHOD="GET"> 
      <INPUT TYPE="radio" NAME="subtype" VALUE="normal" CHECKED>Message-by-message
    </TD>
    <TD VALIGN="top" CLASS="PlainText" WIDTH="100%" NOWRAP>
      <INPUT TYPE="radio" NAME="subtype" VALUE="digest">Digest format
    </TD>
  </TR>
  <TR>
    <TD VALIGN="top">
<INPUT TYPE="hidden" NAME="projectID" VALUE="$currentProject.getID()">
<INPUT TYPE="hidden" NAME="listName" VALUE="$list.getName()">
<INPUT TYPE="submit" NAME="Button" VALUE="Subscribe">
    </TD>
    <TD VALIGN="top">
<INPUT TYPE="hidden" NAME="projectID" VALUE="$currentProject.getID()">
<INPUT TYPE="hidden" NAME="listName" VALUE="$list.getName()">
<INPUT TYPE="submit" NAME="Button" VALUE="Unsubscribe">
</FORM>
  </TD>
}

  </TR>
  <TR>
  <TD>&nbsp;</TD>
  </TR>

} 
#else 
{
<br>
}
</table>

}




@


1.17
log
@Link to search pages. The templates need to be cleaned for presentation
still.
@
text
@@


1.16
log
@added space
@
text
@d17 4
a20 2
 #set $archiveURL = "$currentProject.getProjectPageURL("SummarizeList", "listId=$list.getID()")"
    <span class="StatText">(<A HREF="$archiveURL">View Archive</A>)</span></TD>
@


1.16.2.1
log
@Concept of the "guest" user renamed to "anonymous".
@
text
@d33 1
a33 1
#if (!$loginUser.isAnonymous()) {
@


1.16.2.2
log
@Ported changes from head.
@
text
@d17 2
a18 4
#set $archiveURL = "$currentProject.getProjectPageURL("SummarizeList", "listId=$list.getID()")"
#set $searchURL  = "$currentProject.getProjectPageURL("SearchList", "listId=$list.getID()")"
    <span class="StatText">(<A HREF="$archiveURL">View Archive</A>)
   			   (<A HREF="$searchURL">Search Archive)</span></TD>
@


1.16.2.3
log
@remove ProjectMail (now ProjectMailingListList); update
ProjectMailingListList as per the new apis; and
move links to mailing list config off ProjectEdit onto ProjectMail
@
text
@@


1.15
log
@User's isGuest() instance method encapsulates this functionality
nicely.
@
text
@d54 1
d57 4
a60 1
}
@


1.14
log
@guarded subscribe unsubscribe buttons from guest user since we dont have a reall guest email addr
@
text
@d33 1
a33 1
#if (!$loginUser.getLoginID().equals("guest")) {
@


1.14.2.1
log
@applying a change by jrobbins for better spacing to this branch
@
text
@a53 1
}
d56 1
a56 4
  <TR>
  <TD>&nbsp;</TD>
  </TR>

@


1.13
log
@added a little style
@
text
@d32 2
d56 1
@


1.12
log
@support subscription to the digest list as well as the normal version
of the list.
@
text
@d2 1
a2 1
  <li>$info
@


1.11
log
@added choice btw message-by-message or digest for all mailing lists
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d34 1
a34 1
      <INPUT TYPE="radio" NAME="listOption $list.getEmailPrefix" VALUE="normal" CHECKED>Message-by-message
d37 1
a37 1
      <INPUT TYPE="radio" NAME="listOption $list.getEmailPrefix" VALUE="digest">Digest format
@


1.10
log
@changed links to support vhosting and non-vhosting modes
@
text
@d5 1
a5 1
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
d14 1
a14 1
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BORDER="0" width="100%">
d16 1
a16 1
    <TD class="InputHeader" bgcolor="#efefef">$post 
d21 1
a21 1
    <TD class="PlainText"><b>Description:</b> $list.getDescription()</TD>
d26 1
a26 1
    <TD class="PlainText"><b>Subscribe:</b> <A HREF="mailto:$subscribe">$subscribe</A></TD>
d30 1
a30 1
    <TD class="PlainText"><b>Unsubscribe:</b> <A HREF="mailto:$unsubscribe">$unsubscribe</A></TD>
d33 9
a41 1
    <TD><FORM ACTION="ProjectMail" METHOD="GET">
d45 2
a46 1

@


1.9
log
@Added ui changes and logic to templates allowing for new email bulletin board setup using USE_LOCAL_MAIL as the flag
@
text
@d7 1
a7 1
    <TD class="Header" nowrap>Mailing Lists: <SPAN CLASS="ProjectNameHeader"><A HREF="/servlets/ProjectHome?projectID=$currentProject.getID()">$currentProject.getName()</a></SPAN></TD>  
d17 2
a18 1
    <span class="StatText">(<A HREF="/servlets/SummarizeList?listId=$list.getID()&projectID=$currentProject.getID()">View Archive</A>)</span></TD>
@


1.8
log
@changed project name in title to link to ProjectHome
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@a13 2
#set $subscribe = "$list.getEmailPrefix()-subscribe@@$list.getEmailDomain()"
#set $unsubscribe = "$list.getEmailPrefix()-unsubscribe@@$list.getEmailDomain()"
d22 1
d24 1
d28 1
d42 7
a48 1
  <TR>
@


1.7
log
@took out extra space
@
text
@d7 1
a7 1
    <TD class="Header" nowrap>Mailing Lists: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></TD>  
@


1.6
log
@show the info message (generally "Subscribe Request Sent" or
"Unsubscribe Request Sent" currently)
@
text
@a43 1
<P>
@


1.5
log
@include the projectID.  this should be changed to use a version of
getProjectPageURL -- but that should be done globally (or not at all)
@
text
@d1 4
@


1.4
log
@cleaned up UI so it's not so button-y and horsey
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d15 1
a15 1
    <span class="StatText">(<A HREF="/servlets/SummarizeList?listId=$list.getID()">View Archive</A>)</span></TD>
@


1.3
log
@make the post address into a mailto, like the subscribe/unsubscribe
links.
@
text
@d14 2
a15 2
    <TD class="ResourcesHeader" bgcolor="#efefef"><A HREF="mailto:$post" CLASS="ProjectName2">$post</A></TD>
    <TD class="ProjectDownloadHeader" bgcolor="#efefef" ALIGN="right"><A HREF="/servlets/SummarizeList?listId=$list.getID()" CLASS="ProjectName2">View Archive</A></TD>
d18 1
a18 1
    <TD class="Copy" bgcolor="#ffffff" COLSPAN="2">$list.getDescription()</TD>
d21 1
a21 2
    <TD class="ProjectDownloadHeader" bgcolor="#ffffff">&nbsp;&#149;&nbsp;Subscribe: <A HREF="mailto:$subscribe" class="ProjectName2">$subscribe</A></TD>
    <TD class="Copy" bgcolor="#ffffff"><FORM ACTION="ProjectMail" METHOD="GET"><INPUT TYPE="hidden" NAME="projectID" VALUE="$currentProject.getID()"><INPUT TYPE="hidden" NAME="listName" VALUE="$list.getName()"><INPUT TYPE="submit" NAME="Button" VALUE="Subscribe"></FORM>
d24 1
a24 2
    <TD class="ProjectDownloadHeader" bgcolor="#ffffff">&nbsp;&#149;&nbsp;Unsubscribe: <A HREF="mailto:$unsubscribe" class="ProjectName2">$unsubscribe</A></TD>
    <TD class="Copy" bgcolor="#ffffff"><FORM ACTION="ProjectMail" METHOD="GET"><INPUT TYPE="hidden" NAME="projectID" VALUE="$currentProject.getID()"><INPUT TYPE="hidden" NAME="listName" VALUE="$list.getName()"><INPUT TYPE="submit" NAME="Button" VALUE="Unsubscribe"></FORM>
d26 12
@


1.2
log
@add buttons for starting the subscription process
@
text
@d14 1
a14 1
    <TD class="ResourcesHeader" bgcolor="#efefef">$post</TD>
@


1.1
log
@Initial revision
@
text
@d21 2
a22 1
    <TD class="ProjectDownloadHeader" bgcolor="#ffffff" COLSPAN="2">&nbsp;&#149;&nbsp;Subscribe: <A HREF="mailto:$subscribe" class="ProjectName2">$subscribe</A></TD>
d25 2
a26 1
    <TD class="ProjectDownloadHeader" bgcolor="#ffffff" COLSPAN="2">&nbsp;&#149;&nbsp;Unsubscribe: <A HREF="mailto:$unsubscribe" class="ProjectName2">$unsubscribe</A></TD>
@


1.1.1.1
log
@Merging newhelm tree into helm, as per IZ issue #557.  Previous major version of helm is tagged TIGRIS_NOV_11_2000.
@
text
@@
