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


1.11
date	2001.08.20.22.29.24;	author tfahrner;	state Exp;
branches;
next	1.10;

1.10
date	2001.08.03.05.45.09;	author tfahrner;	state Exp;
branches;
next	1.9;

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

1.8
date	2001.07.31.00.01.57;	author tfahrner;	state Exp;
branches;
next	1.7;

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

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

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

1.4
date	2001.06.20.17.51.17;	author jefflove;	state Exp;
branches;
next	1.3;

1.3
date	2001.06.20.17.07.48;	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.11
log
@first wave of ui revisions. expect minor breakage. working on it.
@
text
@<div id="ebsearchlist" class="app">


<h3>Search Messages: $currentProject.getWordMark()</h3>

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

<form method="get" action="$res.encodeUrl("SearchList")">
<input type="hidden" name="listName" value="$listName" />

<div class="axial">
<table border="1" cellpadding="3" cellspacing="2">
  <tr>
    <th nowrap="nowrap">Search for</th>
    <td>
      <input type="text" name="searchText" size="60" value="$searchText" />
    </td>
  </tr>
  <tr>
    <td></td>
    <td>
      <select name="defaultField">
      <option value="subject" selected="selected">Search subjects</option>
      <option value="sender">Search authors</option>
      <option value="body">Search body</option>
      </select>
     <p><input type="submit" name="Search" value="Search" /></p>
    </td>
  </tr>
</table>
</div>
</form>

#if( !$hits )
<p><strong class="alert">
 $errorMessage
</strong>
</p>

#else

<table border="1" cellpadding="3" cellspacing="2" width="100%">
 <tr>
  <th>Sender</th>
  <th>Date</th>
  <th>Subject</th>
 </tr>

#set ($rowClass="a") 
 
#foreach( $msg in $hits )
 #if( $msg.msgNo != -1 )
  <tr class="$rowClass">
   <td>$msg.senderName</td>
   <td>$msg.date</td>
   <td><a href="$res.encodeUrl("ReadMsg?msgId=$msg.msgId&amp;listName=$listName")">$msg.subject</a></td>
  </tr>
 #end

  #if ($rowClass.equals("a"))
    #set ($rowClass="b")
  #else 
    #set ($rowClass="a")
  #end

#end
</table>

#end


<h4>Search Hints</h4>

<p>
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>

<dl>
 <dt>frequent flyer</dt>
 <dd>Search for documents with "frequent" and/or "flyer"</dd>

 <dt>"frequent flyer"</dt>
 <dd>Search for documents with the phrase "frequent flyer"</dd>

 <dt>frequent -flyer</dt>
 <dd>Search for documents with "frequent" but not "flyer"</dd>
</dl>

</div>
@


1.10
log
@getting rid of "tasks" nav; backing out of earlier ill-considered commit
@
text
@a1 3
<h2>
 #parse( "Nomen.vm" )
</h2>
d14 1
a14 1
    <th nowrap="nowrap">Search for:</th>
@


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


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


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


1.6
log
@removed dependency on CSS for differentiation of alerts
@
text
@d1 1
a1 1
<div id="ebsearchlist">
d11 1
a11 1
<table border="0" cellpadding="2" cellspacing="0">
d41 1
a41 1
<table border="0" cellpadding="2" cellspacing="0" width="100%">
@


1.5
log
@changed to msgNo for message lookups, and fixed form in search list
@
text
@d34 1
a34 1
<p class="alert">
d36 1
@


1.4
log
@html usage revision
@
text
@d8 1
a8 1
<input type="hidden" name="listname" value="$listname" />
@


1.3
log
@ui recoded
@
text
@d11 1
a11 1
<table border="0" cellpadding="2" cellspacing="0" width="100%">
d13 1
a13 1
    <th>Search for:</th>
d26 1
a28 4
  <tr>
    <td></td>
    <td><input type="submit" name="Search" value="Search" /></td>
</tr>
a30 1

a32 1

d34 2
a35 2
<p>
 <span class="alert">$errorMessage</span>
@


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 3
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <TD>
d3 1
a3 1
<span class="Header" nowrap>Search Messages: <SPAN CLASS="ProjectNameHeader">$currentProject.getWordMark()</SPAN></span>
d5 4
a8 1
<HR SIZE="1" NOSHADE>
d10 41
a50 1
#parse( "org/tigris/helm/tool/mail/InclSummarizeBy.vm" )
d52 2
a53 36
<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>
d55 14
a68 6
#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>
d70 2
a71 4
#end
</TABLE>
#else
<b>$errorMessage</b>
a73 1
<HR SIZE="1" NOSHADE>
d75 4
a78 2
<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
d81 12
a92 1
</P>
d94 1
a94 18
<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.1
log
@Adding Velocity templates.
@
text
@d9 1
a9 1
#parse( "${SERVLET_TEMPLATE_ROOT}/org/tigris/helm/tool/mail/InclSummarizeBy.vm" )
@

