head	1.7;
access;
symbols
	TIGRIS_1_1_0RC2:1.4.6.1
	TIGRIS_1_1_0RC1:1.4.6.1
	TIGRIS_1_1:1.4.6.1.0.2
	TIGRIS_1_0_8:1.4.6.1
	TIGRIS_1_0_8RC3:1.4.6.1
	TIGRIS_1_0_8RC2:1.4.6.1
	TIGRIS_1_0_8RC1:1.4.6.1
	TIGRIS_1_0_7:1.4.6.1
	TIGRIS_1_0_7RC3:1.4.6.1
	TIGRIS_1_0_7RC2:1.4.6.1
	TIGRIS_1_0_7RC1:1.4.6.1
	TIGRIS_1_0_6:1.4
	TIGRIS_1_0_6RC5:1.4
	TIGRIS_1_0_6RC4:1.4
	TIGRIS_1_0_6RC3:1.4
	TIGRIS_1_0_6RC2:1.4
	TIGRIS_1_0_6RC1:1.4
	TIGRIS_1_0_5:1.4
	TIGRIS_1_0_5RC6:1.4
	TIGRIS_1_0_5RC5:1.4
	TIGRIS_1_0_5RC4:1.4
	TIGRIS_1_0_5RC3:1.4
	TIGRIS_1_0_5RC2:1.4
	TIGRIS_1_0_5RC1:1.4
	TIGRIS_1_0_4:1.4
	TIGRIS_1_0_3:1.4
	TIGRIS_1_0_2:1.4
	TIGRIS_1_0_1:1.4
	TIGRIS_1_0:1.4.0.6
	TIGRIS_1_0_0:1.4
	TIGRIS_1_0_0_RC1:1.4.0.2
	dlr:1.1.1
	HELM_PEER_PORT_BRANCH:1.1.1.1;
locks; strict;
comment	@# @;


1.7
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.6;

1.6
date	2001.05.21.20.37.57;	author ms;	state Exp;
branches;
next	1.5;

1.5
date	2001.04.16.18.38.37;	author ms;	state Exp;
branches;
next	1.4;

1.4
date	2001.03.27.13.20.16;	author ms;	state Exp;
branches
	1.4.6.1;
next	1.3;

1.3
date	2001.03.03.00.48.08;	author joshua;	state Exp;
branches;
next	1.2;

1.2
date	2001.02.16.02.41.27;	author ms;	state Exp;
branches;
next	1.1;

1.1
date	2001.02.13.14.23.35;	author ms;	state dead;
branches
	1.1.1.1
	1.1.2.1;
next	;

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

1.1.2.1
date	2001.02.13.14.23.35;	author ms;	state Exp;
branches;
next	;

1.4.6.1
date	2001.06.14.10.29.59;	author edk;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Removed WM templates in favor of Velocity templates.
@
text
@<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" WIDTH="100%">
<TR>
<TD class="Header" nowrap>Read Message: <SPAN CLASS="ProjectNameHeader">$msgInfo.listName</SPAN></TD>
</TR>
</TABLE>

<HR SIZE="1" NOSHADE>

#parse "$SERVLET_TEMPLATE_ROOT;/org/tigris/helm/tool/mail/InclSummarizeBy.wm"

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" WIDTH="100%">
<TR>
<TD CLASS="DevHeader" BGCOLOR="#dddddd">Subject: $msgInfo.subject</TD>
</TR>
</TABLE>

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" WIDTH="100%">
<T
<TD CLASS="PlainText">
<b>List:</b> 
<A href="$res.encodeUrl("SummarizeList?listName=$listName")">$description</A><br>
<b>Options:</b> <A href="$res.encodeUrl("BrowseList?listName=$listName")">Browse list</A> | 
<A href="$res.encodeUrl("BrowseList?listName=$listName&by=subject&from=$msgInfo.subjectId")">
	Browse messages with this subject</A> | 
#if ($msgInfo.threadId) {
<A href="$res.encodeUrl("BrowseList?listName=$listName&by=thread&from=$msgInfo.threadId")">Browse this thread</A> * 
}
<A href="$res.encodeUrl("BrowseList?listName=$listName&by=author&from=$msgInfo.authorId")">
Browse messages by this author</A>
</TD></TR>
<TR><TD CLASS="PlainText">
<ul>
#if ($prevMsg) {
<li>Previous message:
<A href="$res.encodeUrl("ReadMsg?msgId=$prevMsg.msgId&listName=$listName")">$prevMsg.subject</A> 
($prevMsg.senderName)
} 
#if($nextMsg) {
<li>Next message:
<A href="$res.encodeUrl("ReadMsg?msgId=$nextMsg.msgId&listName=$listName")">$nextMsg.subject</A> 
($nextMsg.senderName)
} 
#if ($threadPrevMsg) {
<LI>Previous in thread:
<A href="$res.encodeUrl("ReadMsg?msgId=$threadPrevMsg.msgId&listName=$listName")">$threadPrevMsg.subject</A>
($threadPrevMsg.senderName)
} 
#if ($threadNextMsg) {
<LI>Next in thread:
<A href="$res.encodeUrl("ReadMsg?msgId=$threadNextMsg.msgId&listName=$listName")">$threadNextMsg.subject</A>
($threadNextMsg.senderName)
} 
#if ($parentMsg) {
<LI>Response to:
<A href="$res.encodeUrl("ReadMsg?msgId=$parentMsg.msgId&listName=$listName")">$parentMsg.subject</A>
($parentMsg.senderName)
} 
#if ($children) {
<LI>Responses:<UL>
#foreach $cMsg in $children {
<LI><A href="$res.encodeUrl("ReadMsg?msgId=$cMsg.msgId&listName=$listName")">$cMsg.subject</A>

($cMsg.senderName)
</LI>
} 
</UL>
}
</UL>
</TD></TR>
<TR>
<TD CLASS="PlainText" bgcolor="#dddddd">
<b>$msgInfo.senderName</b> 
(<A href="mailto:$senderEmail">$senderEmail</A>) writes on <EM>$msgInfo.date</EM>
#if ($rawMessage) {
    (<A href="$res.encodeUrl("ReadMsg?msgId=$msgInfo.msgId&listName=$listName")">display as standard message</A>)
} #else {
    (<A href="$res.encodeUrl("ReadMsg?msgId=$msgInfo.msgId&raw=true&listName=$listName")">display as raw message</A>)
}
</TD></TR>
<TR><TD CLASS="TypeWriterPlain">
#if ($acl.hasPermission("Mailing List - Edit")) {
    <a href="$res.encodeUrl("DelMsg?msgId=$msgInfo.msgId&listName=$listName&confirm=no")">Delete Message</a>
}
<PRE>
$msgHeaders
</PRE>
</TD></TR>
<TR><TD CLASS="TypeWriterPlain">
#foreach $bp in $bodyParts {
<PRE>
$bp
</PRE>
}
</TR></TD>
#if ($attachments) {
<TR><TD CLASS="DevHeader">
<UL>Attachments
</UL>
</TD></TR>
<TR><TD CLASS="TypeWriterBold">
<UL>
#foreach $att in $attachments {
<LI><A href="$res.encodeUrl("GetAttachment?msgId=$msgInfo.msgId&attachId=$att.attachId&listName=$listName")">
Attachment $att.name</A> ($att.baseType)
<BR>$att.contentType</LI>
}
</UL>
</TR></TD>
}
#if ($myProperties.getProperty("org.tigris.eyebrowse.useLocalMail").equals("true")){
<tr><td>
<a href="$res.encodeUrl("MailingListPost?listName=$listName&replySubject=$msgInfo.subject")">
Reply to this message
</a>
</td></tr>
}
</TABLE>

@


1.6
log
@used description from helm
@
text
@@


1.5
log
@
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d21 1
a21 1
<A href="$res.encodeUrl("SummarizeList?listName=$listName")">$listInfo.listDescr</A><br>
@


1.4
log
@Changed in eyebrowse the ability to lookup lists by both listId and by listName.
Greatly cleans up the coupling between the archives and helm IMO.

I also removed the useless projecID's in the templates.

This requires an update in eyebrowse also to compile.

note: SearchList is now a bit broken, will be fixed tomorow..

QA note. i tested this with two different lists, browsed by date author etc, it
showed no problems that dont already exist (date browsing).
@
text
@d18 1
a18 1
<TR>
d81 3
@


1.4.6.1
log
@use helm's description of the mailing list
@
text
@d21 1
a21 1
<A href="$res.encodeUrl("SummarizeList?listName=$listName")">$description</A><br>
@


1.3
log
@cleaned up layout
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d21 3
a23 3
<A href="$res.encodeUrl("SummarizeList?listId=$msgInfo.listId&projectID=$currentProject.getID()")">$listInfo.listDescr</A><br>
<b>Options:</b> <A href="$res.encodeUrl("BrowseList?listId=$msgInfo.listId&projectID=$currentProject.getID()")">Browse list</A> | 
<A href="$res.encodeUrl("BrowseList?listId=$msgInfo.listId&by=subject&from=$msgInfo.subjectId&projectID=$currentProject.getID()")">
d26 1
a26 1
<A href="$res.encodeUrl("BrowseList?listId=$msgInfo.listId&by=thread&from=$msgInfo.threadId&projectID=$currentProject.getID()")">Browse this thread</A> * 
d28 1
a28 1
<A href="$res.encodeUrl("BrowseList?listId=$msgInfo.listId&by=author&from=$msgInfo.authorId&projectID=$currentProject.getID()")">
d35 1
a35 1
<A href="$res.encodeUrl("ReadMsg?msgId=$prevMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$prevMsg.subject</A> 
d40 1
a40 1
<A href="$res.encodeUrl("ReadMsg?msgId=$nextMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$nextMsg.subject</A> 
d45 1
a45 1
<A href="$res.encodeUrl("ReadMsg?msgId=$threadPrevMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$threadPrevMsg.subject</A>
d50 1
a50 1
<A href="$res.encodeUrl("ReadMsg?msgId=$threadNextMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$threadNextMsg.subject</A>
d55 1
a55 1
<A href="$res.encodeUrl("ReadMsg?msgId=$parentMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$parentMsg.subject</A>
d61 1
a61 1
<LI><A href="$res.encodeUrl("ReadMsg?msgId=$cMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$cMsg.subject</A>
d75 1
a75 1
    (<A href="$res.encodeUrl("ReadMsg?msgId=$msgInfo.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">display as standard message</A>)
d77 1
a77 1
    (<A href="$res.encodeUrl("ReadMsg?msgId=$msgInfo.msgId&raw=true&projectID=$currentProject.getID()&listId=$msgInfo.listId")">display as raw message</A>)
d100 1
a100 1
<LI><A href="$res.encodeUrl("GetAttachment?msgId=$msgInfo.msgId&attachId=$att.attachId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">
d109 1
a109 1
<a href="$res.encodeUrl("MailingListPost?projectID=$currentProject.getID()&listId=$msgInfo.listId&replySubject=$msgInfo.subject")">
@


1.2
log
@These are the templates for the coorelating servlets for eyebrowse.
@
text
@d5 9
a13 1
<TR><TD CLASS="DevHeader">$msgInfo.subject</TD>
d15 3
d20 3
a22 3
List: 
<A href="$res.encodeUrl("SummarizeList?listId=$msgInfo.listId&projectID=$currentProject.getID()")">$listInfo.listDescr</A> 
(<A href="$res.encodeUrl("BrowseList?listId=$msgInfo.listId&projectID=$currentProject.getID()")">Browse list</A> * 
d24 1
a24 1
	Browse messages with this subject</A> * 
a29 1
)
d32 1
a32 1
<UL>
d34 1
a34 1
<LI>Previous message:
d39 1
a39 1
<LI>Next message:
d71 2
a72 2
<TD CLASS="PlainText">
<STRONG>$msgInfo.senderName</STRONG> 
@


1.1
log
@file EbReadMsg.wm was initially added on branch HELM_PEER_PORT_BRANCH.
@
text
@d1 105
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@a0 105
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" WIDTH="100%">
<TR>
<TD class="Header" nowrap>Read Message: <SPAN CLASS="ProjectNameHeader">$msgInfo.listName</SPAN></TD>
</TR>
<TR><TD CLASS="DevHeader">$msgInfo.subject</TD>
</TR>
<TR>
<TD CLASS="PlainText">
List: 
<A href="$res.encodeUrl("SummarizeList?listId=$msgInfo.listId&projectID=$currentProject.getID()")">$listInfo.listDescr</A> 
(<A href="$res.encodeUrl("BrowseList?listId=$msgInfo.listId&projectID=$currentProject.getID()")">Browse list</A> * 
<A href="$res.encodeUrl("BrowseList?listId=$msgInfo.listId&by=subject&from=$msgInfo.subjectId&projectID=$currentProject.getID()")">
	Browse messages with this subject</A> * 
#if ($msgInfo.threadId) {
<A href="$res.encodeUrl("BrowseList?listId=$msgInfo.listId&by=thread&from=$msgInfo.threadId&projectID=$currentProject.getID()")">Browse this thread</A> * 
}
<A href="$res.encodeUrl("BrowseList?listId=$msgInfo.listId&by=author&from=$msgInfo.authorId&projectID=$currentProject.getID()")">
Browse messages by this author</A>
)
</TD></TR>
<TR><TD CLASS="PlainText">
<UL>
#if ($prevMsg) {
<LI>Previous message:
<A href="$res.encodeUrl("ReadMsg?msgId=$prevMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$prevMsg.subject</A> 
($prevMsg.senderName)
} 
#if($nextMsg) {
<LI>Next message:
<A href="$res.encodeUrl("ReadMsg?msgId=$nextMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$nextMsg.subject</A> 
($nextMsg.senderName)
} 
#if ($threadPrevMsg) {
<LI>Previous in thread:
<A href="$res.encodeUrl("ReadMsg?msgId=$threadPrevMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$threadPrevMsg.subject</A>
($threadPrevMsg.senderName)
} 
#if ($threadNextMsg) {
<LI>Next in thread:
<A href="$res.encodeUrl("ReadMsg?msgId=$threadNextMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$threadNextMsg.subject</A>
($threadNextMsg.senderName)
} 
#if ($parentMsg) {
<LI>Response to:
<A href="$res.encodeUrl("ReadMsg?msgId=$parentMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$parentMsg.subject</A>
($parentMsg.senderName)
} 
#if ($children) {
<LI>Responses:<UL>
#foreach $cMsg in $children {
<LI><A href="$res.encodeUrl("ReadMsg?msgId=$cMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$cMsg.subject</A>

($cMsg.senderName)
</LI>
} 
</UL>
}
</UL>
</TD></TR>
<TR>
<TD CLASS="PlainText">
<STRONG>$msgInfo.senderName</STRONG> 
(<A href="mailto:$senderEmail">$senderEmail</A>) writes on <EM>$msgInfo.date</EM>
#if ($rawMessage) {
    (<A href="$res.encodeUrl("ReadMsg?msgId=$msgInfo.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">display as standard message</A>)
} #else {
    (<A href="$res.encodeUrl("ReadMsg?msgId=$msgInfo.msgId&raw=true&projectID=$currentProject.getID()&listId=$msgInfo.listId")">display as raw message</A>)
}
</TD></TR>
<TR><TD CLASS="TypeWriterPlain">
<PRE>
$msgHeaders
</PRE>
</TD></TR>
<TR><TD CLASS="TypeWriterPlain">
#foreach $bp in $bodyParts {
<PRE>
$bp
</PRE>
}
</TR></TD>
#if ($attachments) {
<TR><TD CLASS="DevHeader">
<UL>Attachments
</UL>
</TD></TR>
<TR><TD CLASS="TypeWriterBold">
<UL>
#foreach $att in $attachments {
<LI><A href="$res.encodeUrl("GetAttachment?msgId=$msgInfo.msgId&attachId=$att.attachId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">
Attachment $att.name</A> ($att.baseType)
<BR>$att.contentType</LI>
}
</UL>
</TR></TD>
}
#if ($myProperties.getProperty("org.tigris.eyebrowse.useLocalMail").equals("true")){
<tr><td>
<a href="$res.encodeUrl("MailingListPost?projectID=$currentProject.getID()&listId=$msgInfo.listId&replySubject=$msgInfo.subject")">
Reply to this message
</a>
</td></tr>
}
</TABLE>

@


1.1.2.1
log
@Added templates for eyebrowse servlets to helm
@
text
@a0 105
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" WIDTH="100%">
<TR>
<TD class="Header" nowrap>Read Message: <SPAN CLASS="ProjectNameHeader">$msgInfo.listName</SPAN></TD>
</TR>
<TR><TD CLASS="DevHeader">$msgInfo.subject</TD>
</TR>
<TR>
<TD CLASS="PlainText">
List: 
<A href="$res.encodeUrl("SummarizeList?listId=$msgInfo.listId&projectID=$currentProject.getID()")">$listInfo.listDescr</A> 
(<A href="$res.encodeUrl("BrowseList?listId=$msgInfo.listId&projectID=$currentProject.getID()")">Browse list</A> * 
<A href="$res.encodeUrl("BrowseList?listId=$msgInfo.listId&by=subject&from=$msgInfo.subjectId&projectID=$currentProject.getID()")">
	Browse messages with this subject</A> * 
#if ($msgInfo.threadId) {
<A href="$res.encodeUrl("BrowseList?listId=$msgInfo.listId&by=thread&from=$msgInfo.threadId&projectID=$currentProject.getID()")">Browse this thread</A> * 
}
<A href="$res.encodeUrl("BrowseList?listId=$msgInfo.listId&by=author&from=$msgInfo.authorId&projectID=$currentProject.getID()")">
Browse messages by this author</A>
)
</TD></TR>
<TR><TD CLASS="PlainText">
<UL>
#if ($prevMsg) {
<LI>Previous message:
<A href="$res.encodeUrl("ReadMsg?msgId=$prevMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$prevMsg.subject</A> 
($prevMsg.senderName)
} 
#if($nextMsg) {
<LI>Next message:
<A href="$res.encodeUrl("ReadMsg?msgId=$nextMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$nextMsg.subject</A> 
($nextMsg.senderName)
} 
#if ($threadPrevMsg) {
<LI>Previous in thread:
<A href="$res.encodeUrl("ReadMsg?msgId=$threadPrevMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$threadPrevMsg.subject</A>
($threadPrevMsg.senderName)
} 
#if ($threadNextMsg) {
<LI>Next in thread:
<A href="$res.encodeUrl("ReadMsg?msgId=$threadNextMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$threadNextMsg.subject</A>
($threadNextMsg.senderName)
} 
#if ($parentMsg) {
<LI>Response to:
<A href="$res.encodeUrl("ReadMsg?msgId=$parentMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$parentMsg.subject</A>
($parentMsg.senderName)
} 
#if ($children) {
<LI>Responses:<UL>
#foreach $cMsg in $children {
<LI><A href="$res.encodeUrl("ReadMsg?msgId=$cMsg.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">$cMsg.subject</A>

($cMsg.senderName)
</LI>
} 
</UL>
}
</UL>
</TD></TR>
<TR>
<TD CLASS="PlainText">
<STRONG>$msgInfo.senderName</STRONG> 
(<A href="mailto:$senderEmail">$senderEmail</A>) writes on <EM>$msgInfo.date</EM>
#if ($rawMessage) {
    (<A href="$res.encodeUrl("ReadMsg?msgId=$msgInfo.msgId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">display as standard message</A>)
} #else {
    (<A href="$res.encodeUrl("ReadMsg?msgId=$msgInfo.msgId&raw=true&projectID=$currentProject.getID()&listId=$msgInfo.listId")">display as raw message</A>)
}
</TD></TR>
<TR><TD CLASS="TypeWriterPlain">
<PRE>
$msgHeaders
</PRE>
</TD></TR>
<TR><TD CLASS="TypeWriterPlain">
#foreach $bp in $bodyParts {
<PRE>
$bp
</PRE>
}
</TR></TD>
#if ($attachments) {
<TR><TD CLASS="DevHeader">
<UL>Attachments
</UL>
</TD></TR>
<TR><TD CLASS="TypeWriterBold">
<UL>
#foreach $att in $attachments {
<LI><A href="$res.encodeUrl("GetAttachment?msgId=$msgInfo.msgId&attachId=$att.attachId&projectID=$currentProject.getID()&listId=$msgInfo.listId")">
Attachment $att.name</A> ($att.baseType)
<BR>$att.contentType</LI>
}
</UL>
</TR></TD>
}
#if ($myProperties.getProperty("org.tigris.eyebrowse.useLocalMail").equals("true")){
<tr><td>
<a href="$res.encodeUrl("MailingListPost?projectID=$currentProject.getID()&listId=$msgInfo.listId&replySubject=$msgInfo.subject")">
Reply to this message
</a>
</td></tr>
}
</TABLE>

@

