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


1.11
date	2001.05.23.02.04.15;	author dlr;	state dead;
branches;
next	1.10;

1.10
date	2001.05.15.20.00.14;	author ms;	state Exp;
branches;
next	1.9;

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

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

1.7
date	2001.03.27.20.33.38;	author ms;	state Exp;
branches
	1.7.6.1;
next	1.6;

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

1.5
date	2001.03.03.01.16.17;	author dlr;	state Exp;
branches;
next	1.4;

1.4
date	2001.03.03.01.05.17;	author dlr;	state Exp;
branches;
next	1.3;

1.3
date	2001.03.03.00.48.38;	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.7.6.1
date	2001.05.02.00.01.02;	author ms;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Removed WM templates in favor of Velocity templates.
@
text
@<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD>

<span class="Header" nowrap>Search Messages: <SPAN CLASS="ProjectNameHeader">$currentProject.getWordMark()</SPAN></span>

<HR SIZE="1" NOSHADE>

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

<HR SIZE="1" NOSHADE>
<TABLE BORDER="0" CELLPADDING="6" CELLSPACING="0" WIDTH="100%">
<FORM method=GET action="$res.encodeUrl("SearchList")">
<INPUT type=hidden name=listName value=$listName>
  <TR>
    <TD WIDTH="22%">Search for:&nbsp;</TD>
    <TD>
      <INPUT type="text" name="searchText" size="60" value="$searchText">
    </TD>
  </TR>
  <TR>
    <TD>&nbsp;</TD>
    <TD>
      <SELECT name="defaultField">
      <OPTION value="subject" selected>Search subjects</OPTION>
      <OPTION value="sender">Search authors</OPTION>
      <OPTION value="body">Search body</OPTION>
      </SELECT>
    </TD>
  </TR>
  <TR>
    <TD>&nbsp;</TD>
    <TD><INPUT type=submit name="Search" value="Search"></TD>
</TR>
</FORM>
</TABLE>

<HR SIZE="1" NOSHADE>

#if ($hits) {
<P>
<TABLE>
<TR>
<TH>Sender</TH>
<TH>Date</TH>
<TH>Subject</TH></TR>
#foreach $msg in $hits {
#if ($msg.msgNo != -1){
<TR>
<TD>$msg.senderName</TD>
<TD>$msg.date</TD>
<TD><A href="$res.encodeUrl("ReadMsg?msgId=$msg.msgId&listName=$listName")">$msg.subject</A></TD>
</TR>
}
}
</TABLE>
}
#else {
<b>$errorMessage</b>
}

<HR SIZE="1" NOSHADE>

<P class="PlainText">
<b>Search hints:</b> You can search only authors, only subjects, or the full message text (including author and subject) by using
the pulldown menu above. You can also use quoted phrases, and the + / - signs to give the engine hints about what
you're looking for:
</P>

<TABLE BORDER="0" CELLPADDING="2" CELLSPACING="0">
<TR>
<TD><tt>frequent flyer</tt></TD>
<TD>&nbsp;&nbsp;</TD>
<TD class="PlainText">Search for documents with "frequent" and/or "flyer"</TD>
<TR>   
<TD><tt>"frequent flyer"</tt></TD>
<TD>&nbsp;&nbsp;</TD> 
<TD class="PlainText">Search for documents with the phrase "frequent flyer"</TD>
<TR>
<TD><tt>frequent -flyer</tt></TD>
<TD>&nbsp;&nbsp;</TD>
<TD class="PlainText">Search for documents with "frequent" but not "flyer"</TD>
</TABLE>

    </TD>
  </TR>
</TABLE>
@


1.10
log
@fixed link
@
text
@@


1.9
log
@
PR:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d43 1
a43 1
<TR><TH>Number</TH>
a49 1
<TD>$msg.msgNo</TD>
d52 1
a52 1
<TD><A href="$res.encodeUrl("ReadMsg?msgId=$msg.msgNo&listName=$listName")">$msg.subject</A></TD>
@


1.8
log
@put searchText in query string for proxying. requested by jr
@
text
@d48 1
d55 1
@


1.7
log
@bug in message link
@
text
@d13 1
a13 1
<FORM method=POST action="$res.encodeUrl("SearchList")">
@


1.7.6.1
log
@backport changes for jxta
@
text
@d43 1
a43 1
<TR>
d49 1
d52 1
a52 1
<TD><A href="$res.encodeUrl("ReadMsg?msgId=$msg.msgId&listName=$listName")">$msg.subject</A></TD>
@


1.6
log
@Fixed searching by listname not id, please up Eyebrowse to get working.
@
text
@d52 1
a52 1
<TD><A href="$res.encodeUrl("ReadMsg?msgId=$msg.msg&listName=$listName")">$msg.subject</A></TD>
@


1.5
log
@Moved closing tags for the outermost TABLE in the document to over the
entire page in a WIDTH="100%" TABLE.
@
text
@d14 1
a14 2
<INPUT type=hidden name=listId value=$listInfo.listId>
<input type=hidden name=projectID value=$currentProject.getID()>
d52 1
a52 1
<TD><A href="$res.encodeUrl("ReadMsg?msgId=$msg.msgId&projectID=$currentProject.getID()&listId=$listInfo.listId")">$msg.subject</A></TD>
@


1.4
log
@Did some reformatting.
@
text
@d4 1
a60 3
    </TD>
  </TR>
</TABLE>
d83 4
@


1.3
log
@cleaned up layout
PR:
Obtained from:
Submitted by:	cameron
Reviewed by:
@
text
@d1 4
a4 1
<span class="Header" nowrap>Search Messages: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></span>
d15 19
a33 10
<TR>
<TD BGCOLOR="#dddddd"><b>Search for:</b>
<INPUT type=text name=searchText size=25 value="$searchText">
<SELECT name=defaultField>
<OPTION value=subject selected>Search subjects</OPTION>
<OPTION value=sender>Search authors</OPTION>
<OPTION value=body>Search body</OPTION>
</SELECT>
<INPUT type=submit name="Search" value="Search">
</TD>
d60 3
a85 2


@


1.2
log
@These are the templates for the coorelating servlets for eyebrowse.
@
text
@d1 1
d3 1
a3 4
<span class="Header" nowrap>Read Message: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></span>
<H1 ALIGN="CENTER">$listInfo.listDescr</H1>
<HR>
<H2>Search</H2>
d5 4
a11 1
<TABLE BORDER=0>
d13 3
a15 3
<TD WIDTH=120>Search for: </TD>
<TD><INPUT type=text name=searchText size=60 value="$searchText"></TD>
<TD><SELECT name=defaultField>
d20 2
a21 1
<TD><INPUT type=submit name="Search" value="Search"></TD>
d23 1
d26 1
a26 13
<P>Search hints: You can search only authors, only subjects, or the full
message text (including author and subject) by using the pulldown menu above.
You can also use quoted phrases, and the + / - signs to give the engine hints
about what you're looking for: 
<TABLE BORDER=0>
<TR>
<TD>frequent flyer</TD><TD>&nbsp;&nbsp;</TD><TD>Search for documents with "frequent" and/or "flyer"</TD></TR>
<TR><TD>"frequent flyer"</TD><TD>&nbsp;&nbsp;</TD><TD>Search for documents with the phrase "frequent flyer"</TD></TR>
<TR><TD>frequent -flyer</TD><TD>&nbsp;&nbsp;</TD><TD>Search for documents with "frequent" but not "flyer"</TD></TR>
</TABLE>
</FORM>

<HR WIDTH=50% align=center>
d29 2
a30 1
<P><TABLE>
d46 1
a46 1
<STRONG>$errorMessage</STRONG>
d48 24
@


1.1
log
@file EbSearchList.wm was initially added on branch HELM_PEER_PORT_BRANCH.
@
text
@d1 56
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@a0 56

<span class="Header" nowrap>Read Message: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></span>
<H1 ALIGN="CENTER">$listInfo.listDescr</H1>
<HR>
<H2>Search</H2>

<FORM method=POST action="$res.encodeUrl("SearchList")">
<INPUT type=hidden name=listId value=$listInfo.listId>
<input type=hidden name=projectID value=$currentProject.getID()>
<TABLE BORDER=0>
<TR>
<TD WIDTH=120>Search for: </TD>
<TD><INPUT type=text name=searchText size=60 value="$searchText"></TD>
<TD><SELECT name=defaultField>
<OPTION value=subject selected>Search subjects</OPTION>
<OPTION value=sender>Search authors</OPTION>
<OPTION value=body>Search body</OPTION>
</SELECT>
<TD><INPUT type=submit name="Search" value="Search"></TD>
</TR>
</TABLE>

<P>Search hints: You can search only authors, only subjects, or the full
message text (including author and subject) by using the pulldown menu above.
You can also use quoted phrases, and the + / - signs to give the engine hints
about what you're looking for: 
<TABLE BORDER=0>
<TR>
<TD>frequent flyer</TD><TD>&nbsp;&nbsp;</TD><TD>Search for documents with "frequent" and/or "flyer"</TD></TR>
<TR><TD>"frequent flyer"</TD><TD>&nbsp;&nbsp;</TD><TD>Search for documents with the phrase "frequent flyer"</TD></TR>
<TR><TD>frequent -flyer</TD><TD>&nbsp;&nbsp;</TD><TD>Search for documents with "frequent" but not "flyer"</TD></TR>
</TABLE>
</FORM>

<HR WIDTH=50% align=center>

#if ($hits) {
<P><TABLE>
<TR><TH>Number</TH>
<TH>Sender</TH>
<TH>Date</TH>
<TH>Subject</TH></TR>
#foreach $msg in $hits {
<TR>
<TD>$msg.msgNo</TD>
<TD>$msg.senderName</TD>
<TD>$msg.date</TD>
<TD><A href="$res.encodeUrl("ReadMsg?msgId=$msg.msgId&projectID=$currentProject.getID()&listId=$listInfo.listId")">$msg.subject</A></TD>
</TR>
}
</TABLE>
}
#else {
<STRONG>$errorMessage</STRONG>
}

@


1.1.2.1
log
@Added templates for eyebrowse servlets to helm
@
text
@a0 56

<span class="Header" nowrap>Read Message: <SPAN CLASS="ProjectNameHeader">$currentProject.getName()</SPAN></span>
<H1 ALIGN="CENTER">$listInfo.listDescr</H1>
<HR>
<H2>Search</H2>

<FORM method=POST action="$res.encodeUrl("SearchList")">
<INPUT type=hidden name=listId value=$listInfo.listId>
<input type=hidden name=projectID value=$currentProject.getID()>
<TABLE BORDER=0>
<TR>
<TD WIDTH=120>Search for: </TD>
<TD><INPUT type=text name=searchText size=60 value="$searchText"></TD>
<TD><SELECT name=defaultField>
<OPTION value=subject selected>Search subjects</OPTION>
<OPTION value=sender>Search authors</OPTION>
<OPTION value=body>Search body</OPTION>
</SELECT>
<TD><INPUT type=submit name="Search" value="Search"></TD>
</TR>
</TABLE>

<P>Search hints: You can search only authors, only subjects, or the full
message text (including author and subject) by using the pulldown menu above.
You can also use quoted phrases, and the + / - signs to give the engine hints
about what you're looking for: 
<TABLE BORDER=0>
<TR>
<TD>frequent flyer</TD><TD>&nbsp;&nbsp;</TD><TD>Search for documents with "frequent" and/or "flyer"</TD></TR>
<TR><TD>"frequent flyer"</TD><TD>&nbsp;&nbsp;</TD><TD>Search for documents with the phrase "frequent flyer"</TD></TR>
<TR><TD>frequent -flyer</TD><TD>&nbsp;&nbsp;</TD><TD>Search for documents with "frequent" but not "flyer"</TD></TR>
</TABLE>
</FORM>

<HR WIDTH=50% align=center>

#if ($hits) {
<P><TABLE>
<TR><TH>Number</TH>
<TH>Sender</TH>
<TH>Date</TH>
<TH>Subject</TH></TR>
#foreach $msg in $hits {
<TR>
<TD>$msg.msgNo</TD>
<TD>$msg.senderName</TD>
<TD>$msg.date</TD>
<TD><A href="$res.encodeUrl("ReadMsg?msgId=$msg.msgId&projectID=$currentProject.getID()&listId=$listInfo.listId")">$msg.subject</A></TD>
</TR>
}
</TABLE>
}
#else {
<STRONG>$errorMessage</STRONG>
}

@

