head	1.9;
access;
symbols
	TIGRIS_1_1_0RC2:1.4.2.1
	TIGRIS_1_1_0RC1:1.4.2.1
	TIGRIS_1_1:1.4.2.1.0.2
	TIGRIS_1_0_8:1.4.2.1
	TIGRIS_1_0_8RC3:1.4.2.1
	TIGRIS_1_0_8RC2:1.4.2.1
	TIGRIS_1_0_8RC1:1.4.2.1
	TIGRIS_1_0_7:1.4.2.1
	TIGRIS_1_0_7RC3:1.4.2.1
	TIGRIS_1_0_7RC2:1.4.2.1
	TIGRIS_1_0_7RC1:1.4.2.1
	TIGRIS_1_0_6:1.4.2.1
	TIGRIS_1_0_6RC5:1.4.2.1
	TIGRIS_1_0_6RC4:1.4.2.1
	TIGRIS_1_0_6RC3:1.4.2.1
	TIGRIS_1_0_6RC2:1.4.2.1
	TIGRIS_1_0_6RC1:1.4.2.1
	TIGRIS_1_0_5:1.4.2.1
	TIGRIS_1_0_5RC6:1.4.2.1
	TIGRIS_1_0_5RC5:1.4.2.1
	TIGRIS_1_0_5RC4:1.4.2.1
	TIGRIS_1_0_5RC3:1.4.2.1
	TIGRIS_1_0_5RC2:1.4.2.1
	TIGRIS_1_0_5RC1:1.4.2.1
	TIGRIS_1_0_4:1.4.2.1
	TIGRIS_1_0_3:1.4.2.1
	TIGRIS_1_0_2:1.4.2.1
	TIGRIS_1_0_1:1.4.2.1
	TIGRIS_1_0:1.4.2.1.0.4
	TIGRIS_1_0_0:1.4.2.1
	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.9
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.8;

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

1.7
date	2001.04.16.18.46.22;	author ms;	state Exp;
branches;
next	1.6;

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

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

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

1.3
date	2001.03.03.00.47.40;	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.2.1
date	2001.03.29.01.26.15;	author ms;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Removed WM templates in favor of Velocity templates.
@
text
@#set $browseTerms="listName=$listName&by=$browseBy&from=$browseFrom&to=$browseTo&count=$numTotal"

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" WIDTH="100%">
<TR>
    <TD class="Header" nowrap>Browse List: <SPAN CLASS="ProjectNameHeader">$listInfo.listName</SPAN></TD>  
</TR>
</TABLE>

<HR SIZE="1" NOSHADE>

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

<HR SIZE="1" NOSHADE>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
<TR>
<TD CLASS="PlainText" BGCOLOR="#dddddd">
<b>Messages $firstShown through $lastShown of $numTotal shown</b> | <A href="$res.encodeUrl("BrowseList?listName=$listName&paged=false")">Show All</A></TD>
</TR>

<TR>
<TD><input type="hidden" name="listName" value="$listName"/>

<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%">
<TR>
<TD CLASS="DevHeader">Number</TD>
<TD CLASS="DevHeader">Author</TD>
<TD CLASS="DevHeader">Subject</TD>
<TD CLASS="DevHeader">Date</TD>
</TR>

#foreach $msg in $messages {
<TR>
<TD CLASS="PlainText">$msg.msgNo</TD>
<TD CLASS="PlainText">$msg.senderName</TD>
<TD CLASS="PlainText"><A href="$res.encodeUrl("ReadMsg?msgId=$msg.msgId&listName=$listName")">$msg.subject</A></TD>
<TD CLASS="PlainText">$msg.date</TD>
#if ($admin){
    <td class="PlainText" align="center">
        <a href="$res.encodeUrl("DelMsg?msgId=$msg.msgId&listName=$listName")">
           delete
         </a>
    </td>
}
</TR>
}
</TABLE>
</TD>
</TR>

<TR>
<TD CLASS="PlainText">
#if ($prevPageStart) {
    <P><A href="$res.encodeUrl("BrowseList?$browseTerms&first=$prevPageStart")">Previous results</A>
    ($prevPageStart through $prevPageEnd)</P>
}
#if ($nextPageStart) {
    <P><A href="$res.encodeUrl("BrowseList?$browseTerms&first=$nextPageStart")">Next results</A>
    ($nextPageStart through $nextPageEnd)</P>
}
</TD>
</TR>
</TABLE>
@


1.8
log
@made prettier
@
text
@@


1.7
log
@fixed submit button being showed to non-admins
@
text
@d18 6
a23 6
<b>Messages $firstShown through $lastShown of $numTotal shown</b> 
 | <A href="$res.encodeUrl("BrowseList?listName=$listName&paged=false")">Show All</A>
</TD></TR>
<TR><TD>
<form method="POST" action="DelMsg">
<input type="hidden" name="listName" value="$listName" />
d26 1
a26 3
#if ($admin){
    <TD CLASS="DevHeader">Delete</TD>
}
d31 1
d34 1
a34 5
<TD CLASS="PlainText">
#if ($admin){
<td class="PlainText">
   <center><input type="checkbox" name="msgId" value="$msg.msgNo"/></center></td>
}
d38 7
a47 4
#if ($admin){
    <input type="submit" value="delete">
</form>
}
d50 3
a52 1
<TR><TD CLASS="PlainText">
d54 2
a55 3
    <P>
        <A href="$res.encodeUrl("BrowseList?$browseTerms&first=$prevPageStart")">Previous results</A>
($prevPageStart through $prevPageEnd)</P>
d58 2
a59 3
<P><A href="$res.encodeUrl("BrowseList?$browseTerms&first=$nextPageStart")">
Next results</A> 
($nextPageStart through $nextPageEnd)</P>
d61 3
a63 1
</TD></TR></TABLE>
@


1.6
log
@
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d46 2
a47 1
<input type="submit" value="delete">
d49 1
@


1.5
log
@fixed browsing by date
@
text
@d22 2
a23 1

d25 4
a28 1
<TR><TD CLASS="DevHeader">No.</TD>
d35 5
a39 1
<TD CLASS="PlainText">$msg.msgNo</TD>
d46 2
a47 1

@


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
@d1 2
d43 3
a45 2
<P><A href="$res.encodeUrl("BrowseList?listName=$listName&count=$numTotal&first=$prevPageStart")">
Previous results</A> ($prevPageStart through $prevPageEnd)</P>
d48 3
a50 2
<P><A href="$res.encodeUrl("BrowseList?listName=$listName&first=$nextPageStart&count=$numTotal")">
Next results</A> ($nextPageStart through $nextPageEnd)</P>
@


1.4.2.1
log
@Committing diff from head. basically more efficient gathering of
list address.
@
text
@a0 2
#set $browseTerms="listName=$listName&by=$browseBy&from=$browseFrom&to=$browseTo&count=$numTotal"

d41 2
a42 3
    <P>
        <A href="$res.encodeUrl("BrowseList?$browseTerms&first=$prevPageStart")">Previous results</A>
($prevPageStart through $prevPageEnd)</P>
d45 2
a46 3
<P><A href="$res.encodeUrl("BrowseList?$browseTerms&first=$nextPageStart")">
Next results</A> 
($nextPageStart through $nextPageEnd)</P>
@


1.3
log
@cleane up layout

PR:
Obtained from:
Submitted by: cameron
Reviewed by:
@
text
@d17 1
a17 1
 | <A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&paged=false&projectID=$currentProject.getID()")">Show All</A>
d31 1
a31 1
<TD CLASS="PlainText"><A href="$res.encodeUrl("ReadMsg?msgId=$msg.msgId&projectID=$currentProject.getID()&listId=$listInfo.listId")">$msg.subject</A></TD>
d41 1
a41 1
<P><A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&count=$numTotal&first=$prevPageStart&projectID=$currentProject.getID()")">
d45 1
a45 1
<P><A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&first=$nextPageStart&count=$numTotal&projectID=$currentProject.getID()")">
@


1.2
log
@These are the templates for the coorelating servlets for eyebrowse.
@
text
@d5 5
a9 7
<TR>
<TD CLASS="PlainText">
List: <A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&projectID=$currentProject.getID()")">$listInfo.listDescr</A>
   (Summarize by 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=date&projectID=$currentProject.getID()")">date</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=author&projectID=$currentProject.getID()")">author</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=subject&projectID=$currentProject.getID()")">subject</A> * 
d11 1
a11 4
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=thread&projectID=$currentProject.getID()")">thread</A>
)
</TD>
</TR>
d13 1
d15 3
a17 3
<TD CLASS="PlainText">
Messages $firstShown through $lastShown of $numTotal shown 
 (<A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&paged=false&projectID=$currentProject.getID()")">show all</A>)
d21 4
a24 3
<TABLE>
<TR><TD CLASS="DevHeader">Number</TD>
<TD CLASS="DevHeader">Sender</TD>
d26 1
a26 1
<TD CLASS="DevHeader">Subject</TD></TR>
d31 1
a32 1
<TD CLASS="PlainText"><A href="$res.encodeUrl("ReadMsg?msgId=$msg.msgId&projectID=$currentProject.getID()&listId=$listInfo.listId")">$msg.subject</A></TD>
d37 2
a38 1
</TD></TR>
@


1.1
log
@file EbBrowseList.wm was initially added on branch HELM_PEER_PORT_BRANCH.
@
text
@d1 50
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@a0 50
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" WIDTH="100%">
<TR>
    <TD class="Header" nowrap>Browse List: <SPAN CLASS="ProjectNameHeader">$listInfo.listName</SPAN></TD>  
</TR>
<TR>
<TD CLASS="PlainText">
List: <A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&projectID=$currentProject.getID()")">$listInfo.listDescr</A>
   (Summarize by 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=date&projectID=$currentProject.getID()")">date</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=author&projectID=$currentProject.getID()")">author</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=subject&projectID=$currentProject.getID()")">subject</A> * 

<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=thread&projectID=$currentProject.getID()")">thread</A>
)
</TD>
</TR>

<TR>
<TD CLASS="PlainText">
Messages $firstShown through $lastShown of $numTotal shown 
 (<A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&paged=false&projectID=$currentProject.getID()")">show all</A>)
</TD></TR>
<TR><TD>

<TABLE>
<TR><TD CLASS="DevHeader">Number</TD>
<TD CLASS="DevHeader">Sender</TD>
<TD CLASS="DevHeader">Date</TD>
<TD CLASS="DevHeader">Subject</TD></TR>
#foreach $msg in $messages {
<TR>
<TD CLASS="PlainText">$msg.msgNo</TD>
<TD CLASS="PlainText">$msg.senderName</TD>
<TD CLASS="PlainText">$msg.date</TD>
<TD CLASS="PlainText"><A href="$res.encodeUrl("ReadMsg?msgId=$msg.msgId&projectID=$currentProject.getID()&listId=$listInfo.listId")">$msg.subject</A></TD>
</TR>
}
</TABLE>

</TD></TR>
<TR><TD CLASS="PlainText">
#if ($prevPageStart) {
<P><A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&count=$numTotal&first=$prevPageStart&projectID=$currentProject.getID()")">
Previous results</A> ($prevPageStart through $prevPageEnd)</P>
}
#if ($nextPageStart) {
<P><A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&first=$nextPageStart&count=$numTotal&projectID=$currentProject.getID()")">
Next results</A> ($nextPageStart through $nextPageEnd)</P>
}
</TD></TR></TABLE>
@


1.1.2.1
log
@Added templates for eyebrowse servlets to helm
@
text
@a0 50
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="2" WIDTH="100%">
<TR>
    <TD class="Header" nowrap>Browse List: <SPAN CLASS="ProjectNameHeader">$listInfo.listName</SPAN></TD>  
</TR>
<TR>
<TD CLASS="PlainText">
List: <A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&projectID=$currentProject.getID()")">$listInfo.listDescr</A>
   (Summarize by 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=date&projectID=$currentProject.getID()")">date</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=author&projectID=$currentProject.getID()")">author</A> * 
<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=subject&projectID=$currentProject.getID()")">subject</A> * 

<A href="$res.encodeUrl("SummarizeList?listId=$listInfo.listId&by=thread&projectID=$currentProject.getID()")">thread</A>
)
</TD>
</TR>

<TR>
<TD CLASS="PlainText">
Messages $firstShown through $lastShown of $numTotal shown 
 (<A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&paged=false&projectID=$currentProject.getID()")">show all</A>)
</TD></TR>
<TR><TD>

<TABLE>
<TR><TD CLASS="DevHeader">Number</TD>
<TD CLASS="DevHeader">Sender</TD>
<TD CLASS="DevHeader">Date</TD>
<TD CLASS="DevHeader">Subject</TD></TR>
#foreach $msg in $messages {
<TR>
<TD CLASS="PlainText">$msg.msgNo</TD>
<TD CLASS="PlainText">$msg.senderName</TD>
<TD CLASS="PlainText">$msg.date</TD>
<TD CLASS="PlainText"><A href="$res.encodeUrl("ReadMsg?msgId=$msg.msgId&projectID=$currentProject.getID()&listId=$listInfo.listId")">$msg.subject</A></TD>
</TR>
}
</TABLE>

</TD></TR>
<TR><TD CLASS="PlainText">
#if ($prevPageStart) {
<P><A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&count=$numTotal&first=$prevPageStart&projectID=$currentProject.getID()")">
Previous results</A> ($prevPageStart through $prevPageEnd)</P>
}
#if ($nextPageStart) {
<P><A href="$res.encodeUrl("BrowseList?listId=$listInfo.listId&first=$nextPageStart&count=$numTotal&projectID=$currentProject.getID()")">
Next results</A> ($nextPageStart through $nextPageEnd)</P>
}
</TD></TR></TABLE>
@

