head	1.9;
access;
symbols;
locks; strict;
comment	@# @;


1.9
date	2001.08.20.22.29.24;	author tfahrner;	state Exp;
branches;
next	1.8;

1.8
date	2001.08.07.19.13.09;	author ms;	state Exp;
branches;
next	1.7;

1.7
date	2001.08.03.05.45.09;	author tfahrner;	state Exp;
branches;
next	1.6;

1.6
date	2001.07.31.01.18.41;	author tfahrner;	state Exp;
branches;
next	1.5;

1.5
date	2001.07.31.00.01.57;	author tfahrner;	state Exp;
branches;
next	1.4;

1.4
date	2001.07.30.21.59.25;	author tfahrner;	state Exp;
branches;
next	1.3;

1.3
date	2001.06.19.20.31.32;	author neil;	state Exp;
branches;
next	1.2;

1.2
date	2001.05.24.18.48.47;	author dlr;	state Exp;
branches;
next	1.1;

1.1
date	2001.05.23.02.03.16;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.9
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@<div id="ebreadmsg" class="app">


<h3>Read Message: $msgInfo.listName</h3>

#parse( "org/tigris/helm/tool/mail/InclSummarizeBy.vm" )

<dl>
 <dt>
  Subject:
 </dt>
 <dd>
  $msgInfo.subject
 </dd>
 <dt>
  List:
 </dt>
 <dd>
  <a href="$res.encodeUrl("SummarizeList?listName=$listName")">$description</a>
 </dd>
 <dt>
  Options:
 </dt>
 <dd>
  <a href="$res.encodeUrl("BrowseList?listName=$listName")">Browse list</a> | <a href="$res.encodeUrl("BrowseList?listName=$listName&amp;by=subject&amp;from=$msgInfo.subjectId")">Browse messages with this subject</a> | 
 
 #if( $msgInfo.threadId )
  <a href="$res.encodeUrl("BrowseList?listName=$listName&amp;by=thread&amp;from=$msgInfo.threadId")">Browse this thread</a> | 
 #end

  <a href="$res.encodeUrl("BrowseList?listName=$listName&amp;by=author&amp;from=$msgInfo.authorId")">Browse messages by this author</a>
 </dd>
</dl>


#if( $prevMsg )
<p>
 Previous message: <a href="$res.encodeUrl("ReadMsg?msgNo=$prevMsg.msgNo&listName=$listName")">$prevMsg.subject</a> ($prevMsg.senderName)
</p>
#end 

#if( $nextMsg )
<p>
 Next message: <a href="$res.encodeUrl("ReadMsg?msgNo=$nextMsg.msgNo&listName=$listName")">$nextMsg.subject</a> ($nextMsg.senderName)
</p>
#end 

#if( $threadPrevMsg )
<p>
 Previous in thread: <a href="$res.encodeUrl("ReadMsg?msgNo=$threadPrevMsg.msgNo&listName=$listName")">$threadPrevMsg.subject</a> ($threadPrevMsg.senderName)
</p>
#end 

#if( $threadNextMsg )
<p>
 Next in thread: <a href="$res.encodeUrl("ReadMsg?msgNo=$threadNextMsg.msgNo&listName=$listName")">$threadNextMsg.subject</a> ($threadNextMsg.senderName)
</p>
#end 

#if( $parentMsg )
<p>
 Response to: <a href="$res.encodeUrl("ReadMsg?msgNo=$parentMsg.msgNo&listName=$listName")">$parentMsg.subject</a> ($parentMsg.senderName)
</p>
#end 

#if( $children )
<p>
 Responses:
</p>

<ul>
#foreach( $cMsg in $children )
<li>
 <a href="$res.encodeUrl("ReadMsg?msgNo=$cMsg.msgNo&listName=$listName")">$cMsg.subject</a> ($cMsg.senderName)
</li>
#end 
</ul>

#end

<p>
 <strong>$msgInfo.senderName</strong> (<a href="mailto:$senderEmail">$senderEmail</a>) writes on <em>$msgInfo.date</em>

#if( $rawMessage )
    (<a href="$res.encodeUrl("ReadMsg?msgNo=$msgInfo.msgNo&amp;listName=$listName")">display as standard message</a>)
#else
    (<a href="$res.encodeUrl("ReadMsg?msgNo=$msgInfo.msgNo&amp;raw=true&amp;listName=$listName")">display as raw message</a>)
#end

</p>

#if( $acl.hasPermission("Mailing List - Edit") )
   <p>
	<a href="$res.encodeUrl("DelMsg?msgNo=$msgInfo.msgNo&amp;listName=$listName&amp;confirm=no")">Delete Message</a>
   </p>
#end

<pre>
$msgHeaders
</pre>

#foreach( $bp in $bodyParts )
<pre>
$bp
</pre>
#end

#if( $attachments )

<div class="attachments">

<p>
 Attachments
</p>

<ul>

#foreach( $att in $attachments )
<li><a href="$res.encodeUrl("GetAttachment?msgNo=$msgInfo.msgNo&amp;attachId=$att.attachId&amp;listName=$listName")">Attachment $att.name</a> ($att.baseType)
 <p>
  $att.contentType
 </p>
</li>
#end

</ul>

</div>

#end

#if( $myProperties.getProperty("org.tigris.eyebrowse.useLocalMail").equals("true") )

<p>
 <a href="$res.encodeUrl("MailingListPost?listName=$listName&replySubject=$msgInfo.subject")">Reply to this message</a>
</p>
#end

</div>
@


1.8
log
@fixed links to message threads
@
text
@a1 3
<h2>
 #parse( "Nomen.vm" )
</h2>
@


1.7
log
@getting rid of "tasks" nav; backing out of earlier ill-considered commit
@
text
@d41 1
a41 1
 Previous message: <a href="$res.encodeUrl("ReadMsg?msgId=$prevMsg.msgId&listName=$listName")">$prevMsg.subject</a> ($prevMsg.senderName)
d47 1
a47 1
 Next message: <a href="$res.encodeUrl("ReadMsg?msgId=$nextMsg.msgId&listName=$listName")">$nextMsg.subject</a> ($nextMsg.senderName)
d53 1
a53 1
 Previous in thread: <a href="$res.encodeUrl("ReadMsg?msgId=$threadPrevMsg.msgId&listName=$listName")">$threadPrevMsg.subject</a> ($threadPrevMsg.senderName)
d59 1
a59 1
 Next in thread: <a href="$res.encodeUrl("ReadMsg?msgId=$threadNextMsg.msgId&listName=$listName")">$threadNextMsg.subject</a> ($threadNextMsg.senderName)
d65 1
a65 1
 Response to: <a href="$res.encodeUrl("ReadMsg?msgId=$parentMsg.msgId&listName=$listName")">$parentMsg.subject</a> ($parentMsg.senderName)
d77 1
a77 1
 <a href="$res.encodeUrl("ReadMsg?msgId=$cMsg.msgId&listName=$listName")">$cMsg.subject</a> ($cMsg.senderName)
d88 1
a88 1
    (<a href="$res.encodeUrl("ReadMsg?msgId=$msgInfo.msgId&amp;listName=$listName")">display as standard message</a>)
d90 1
a90 1
    (<a href="$res.encodeUrl("ReadMsg?msgId=$msgInfo.msgId&amp;raw=true&amp;listName=$listName")">display as raw message</a>)
d97 1
a97 1
	<a href="$res.encodeUrl("DelMsg?msgId=$msgInfo.msgId&amp;listName=$listName&amp;confirm=no")">Delete Message</a>
d122 1
a122 1
<li><a href="$res.encodeUrl("GetAttachment?msgId=$msgInfo.msgId&amp;attachId=$att.attachId&amp;listName=$listName")">Attachment $att.name</a> ($att.baseType)
d142 1
a142 1
</div>@


1.6
log
@included "task nav" below headlines
@
text
@a4 3
#if( !$loginUser.isAnonymous() && $servletTaskBar.available($servletName))
#parse("$servletTaskBar.getPath($servletName)")
#end
@


1.5
log
@pulled admin options, added headlines
@
text
@d5 4
@


1.4
log
@html usage revision to synch with scarab
@
text
@d2 3
@


1.3
log
@ui recoded
@
text
@d1 1
a1 1
<div id="ebreadmsg">
@


1.2
log
@Removed BRAND_TEMPLATE_ROOT, SERVLET_TEMPLATE_ROOT, and SANDBOX from use in #include and #parse directives (deprecated by multiple template paths).
@
text
@d1 1
a1 5
<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>
d3 1
a3 1
<HR SIZE="1" NOSHADE>
d7 28
a34 22
<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> * 
#end
<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>
d36 3
a38 3
<li>Previous message:
<A href="$res.encodeUrl("ReadMsg?msgId=$prevMsg.msgId&listName=$listName")">$prevMsg.subject</A> 
($prevMsg.senderName)
d40 1
d42 3
a44 3
<li>Next message:
<A href="$res.encodeUrl("ReadMsg?msgId=$nextMsg.msgId&listName=$listName")">$nextMsg.subject</A> 
($nextMsg.senderName)
d46 1
d48 3
a50 3
<LI>Previous in thread:
<A href="$res.encodeUrl("ReadMsg?msgId=$threadPrevMsg.msgId&listName=$listName")">$threadPrevMsg.subject</A>
($threadPrevMsg.senderName)
d52 1
d54 3
a56 3
<LI>Next in thread:
<A href="$res.encodeUrl("ReadMsg?msgId=$threadNextMsg.msgId&listName=$listName")">$threadNextMsg.subject</A>
($threadNextMsg.senderName)
d58 1
d60 3
a62 3
<LI>Response to:
<A href="$res.encodeUrl("ReadMsg?msgId=$parentMsg.msgId&listName=$listName")">$parentMsg.subject</A>
($parentMsg.senderName)
d64 1
d66 5
a70 1
<LI>Responses:<UL>
d72 5
a76 1
<LI><A href="$res.encodeUrl("ReadMsg?msgId=$cMsg.msgId&listName=$listName")">$cMsg.subject</A>
a77 4
($cMsg.senderName)
</LI>
#end 
</UL>
d79 4
a82 6
</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>
d84 1
a84 1
    (<A href="$res.encodeUrl("ReadMsg?msgId=$msgInfo.msgId&listName=$listName")">display as standard message</A>)
d86 1
a86 1
    (<A href="$res.encodeUrl("ReadMsg?msgId=$msgInfo.msgId&raw=true&listName=$listName")">display as raw message</A>)
d88 3
a90 2
</TD></TR>
<TR><TD CLASS="TypeWriterPlain">
d92 3
a94 1
    <a href="$res.encodeUrl("DelMsg?msgId=$msgInfo.msgId&listName=$listName&confirm=no")">Delete Message</a>
d96 2
a97 1
<PRE>
d99 2
a100 3
</PRE>
</TD></TR>
<TR><TD CLASS="TypeWriterPlain">
d102 1
a102 1
<PRE>
d104 1
a104 1
</PRE>
d106 1
a106 1
</TR></TD>
d108 9
a116 6
<TR><TD CLASS="DevHeader">
<UL>Attachments
</UL>
</TD></TR>
<TR><TD CLASS="TypeWriterBold">
<UL>
d118 5
a122 3
<LI><A href="$res.encodeUrl("GetAttachment?msgId=$msgInfo.msgId&attachId=$att.attachId&listName=$listName")">
Attachment $att.name</A> ($att.baseType)
<BR>$att.contentType</LI>
d124 5
a128 2
</UL>
</TR></TD>
d130 1
d132 4
a135 5
<tr><td>
<a href="$res.encodeUrl("MailingListPost?listName=$listName&replySubject=$msgInfo.subject")">
Reply to this message
</a>
</td></tr>
a136 1
</TABLE>
d138 1
@


1.1
log
@Adding Velocity templates.
@
text
@d9 1
a9 1
#parse( "${SERVLET_TEMPLATE_ROOT}/org/tigris/helm/tool/mail/InclSummarizeBy.vm" )
@

