Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Tue, 26 Jan 1999 16:03:54 -0600 (CST)
With all the patches I just sent, maybe this isn't the best time to resend
patches from earlier. However, I noticed that three of my patches from
early last week were not included in the 012499 snapshot, so I thought
I'd point it out. Here they are:
This one corresponds to the change to expandVariables, to treat braces as
equivalent to parentheses, and is for the handling of the HTSEARCH_RESULTS
pseudo-variable.
--- ./htsearch/Display.cc.wrapper3 Mon Jan 18 17:01:34 1999
+++ ./htsearch/Display.cc Thu Jan 21 13:17:27 1999
@@ -222,8 +222,10 @@
header = h;
p[-1] = '\0';
}
- else if (p > h+1 && p[-1] == '(' && p[-2] == '$' &&
- p[strlen(wrap_sepr)] == ')')
+ else if (p > h+1 && p[-2] == '$' &&
+ (p[-1] == '(' || p[-1] == '{') &&
+ (p[strlen(wrap_sepr)] == ')' ||
+ p[strlen(wrap_sepr)] == '}'))
{
footer = p + strlen(wrap_sepr) + 1;
header = h;
This is a small addition to the documentation for my earlier wrapper
patch.
--- ./htdoc/hts_general.html.wrapper2 Thu Dec 10 21:26:25 1998
+++ ./htdoc/hts_general.html Mon Jan 18 17:11:10 1999
@@ -44,6 +44,13 @@
The default search results footer file
</dd>
<dt>
+ COMMON_DIR/wrapper.html
+ </dt>
+ <dd>
+ The default search results wrapper file, that contains the
+ header and footer together in one file
+ </dd>
+ <dt>
COMMON_DIR/nomatch.html
</dt>
<dd>
--- ./htdoc/hts_templates.html.wrapper2 Mon Jan 18 17:01:40 1999
+++ ./htdoc/hts_templates.html Mon Jan 18 17:13:17 1999
@@ -33,6 +33,10 @@
search_results_footer</a>
</li>
<li>
+ <a href="attrs.html#search_results_wrapper">
+ search_results_wrapper</a>
+ </li>
+ <li>
<a href="attrs.html#nothing_found_file">
nothing_found_file</a>
</li>
This one changes the label for the new sort option to something which
I think is more grammatically correct.
--- ./htdoc/config.html.sort4 Mon Jan 18 17:01:40 1999
+++ ./htdoc/config.html Mon Jan 18 17:06:19 1999
@@ -222,7 +222,7 @@
<option value=builtin-long>Long
<option value=builtin-short>Short
</select>
-Sort: <select name=sort>
+Sort by: <select name=sort>
<option value=score>Score
<option value=time>Time
<option value=title>Title
@@ -283,7 +283,7 @@
<input type=hidden name=exclude value="$(EXCLUDE)">
Match: $(METHOD)
Format: $(FORMAT)
-Sort: $(SORT)
+Sort by: $(SORT)
<br>
Refine search:
<input type="text" size="30" name="words" value="$(WORDS)">
@@ -356,7 +356,7 @@
<input type=hidden name=exclude value="$(EXCLUDE)">
Match: $(METHOD)
Format: $(FORMAT)
-Sort: $(SORT)
+Sort by: $(SORT)
<br>
Refine search:
<input type="text" size="30" name="words" value="$(WORDS)">
@@ -397,7 +397,7 @@
<input type=hidden name=exclude value="$(EXCLUDE)">
Match: $(METHOD)
Format: $(FORMAT)
-Sort: $(SORT)
+Sort by: $(SORT)
<br>
Refine search:
<input type="text" size="30" name="words" value="$(WORDS)">
--- ./installdir/header.html.sort4 Mon Jan 18 17:01:34 1999
+++ ./installdir/header.html Mon Jan 18 17:05:58 1999
@@ -10,7 +10,7 @@
<input type=hidden name=exclude value="$(EXCLUDE)">
Match: $(METHOD)
Format: $(FORMAT)
-Sort: $(SORT)
+Sort by: $(SORT)
<br>
Refine search:
<input type="text" size="30" name="words" value="$(WORDS)">
--- ./installdir/nomatch.html.sort4 Mon Jan 18 17:01:34 1999
+++ ./installdir/nomatch.html Mon Jan 18 17:06:03 1999
@@ -23,7 +23,7 @@
<input type=hidden name=exclude value="$(EXCLUDE)">
Match: $(METHOD)
Format: $(FORMAT)
-Sort: $(SORT)
+Sort by: $(SORT)
<br>
Refine search:
<input type="text" size="30" name="words" value="$(WORDS)">
--- ./installdir/search.html.sort4 Mon Jan 18 17:01:34 1999
+++ ./installdir/search.html Mon Jan 18 17:06:06 1999
@@ -21,7 +21,7 @@
<option value=builtin-long>Long
<option value=builtin-short>Short
</select>
-Sort: <select name=sort>
+Sort by: <select name=sort>
<option value=score>Score
<option value=time>Time
<option value=title>Title
--- ./installdir/wrapper.html.sort4 Mon Jan 18 17:01:34 1999
+++ ./installdir/wrapper.html Mon Jan 18 17:06:10 1999
@@ -10,7 +10,7 @@
<input type=hidden name=exclude value="$(EXCLUDE)">
Match: $(METHOD)
Format: $(FORMAT)
-Sort: $(SORT)
+Sort by: $(SORT)
<br>
Refine search:
<input type="text" size="30" name="words" value="$(WORDS)">
-- Gilles R. Detillieux E-mail: <grdetil@scrc.umanitoba.ca> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930 ------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev@htdig.org containing the single word "unsubscribe" in the SUBJECT of the message.
This archive was generated by hypermail 2.0b3 on Thu Feb 04 1999 - 22:24:20 PST