aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_out
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2023-04-20 19:22:17 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2023-04-20 19:22:20 -0400
commitcff8fea1ee232fcb751b2d6d3e7bfe4ef4060247 (patch)
tree60e09ffea451a51396e4115b96bf115f30ba9e3d /src/doc_reform/io_out
parentnix org cleaning (diff)
html search form action (for index & text results)
- obstinately avoiding scripting, even javascript result far from an ideal compromise, (two submission forms (for text & for index))
Diffstat (limited to 'src/doc_reform/io_out')
-rw-r--r--src/doc_reform/io_out/xmls.d34
1 files changed, 29 insertions, 5 deletions
diff --git a/src/doc_reform/io_out/xmls.d b/src/doc_reform/io_out/xmls.d
index 7a35967..2b67978 100644
--- a/src/doc_reform/io_out/xmls.d
+++ b/src/doc_reform/io_out/xmls.d
@@ -264,14 +264,28 @@ template outputXHTMLs() {
o = format(q"┃
<div class="flex-menu-option">
<!-- SiSU Spine Search -->
- <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="search">
- <font size="2">
+ <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="searchtxt">
+ &nbsp;&nbsp;<font size="2">
<input type="text" name="sf" size="24" maxlength="255">%s
<input type="hidden" name="sml" value="1000">
<input type="hidden" name="ec" value="on">
<input type="hidden" name="url" value="on">
- <button type="submit" form="search" name="fn" value="%s">doc</button>
- <button type="submit" form="search">※ db</button>
+ <input type="hidden" name="rt" value="txt">
+ <button type="submit" form="searchtxt" name="fn" value="%s">&nbsp;• txt&nbsp;</button>
+ </font></form>
+ <!-- SiSU Spine Search -->
+ </div>
+ <div class="flex-menu-option">
+ <!-- SiSU Spine Search -->
+ <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="searchidx">
+ &nbsp;&nbsp;<font size="2">
+ <input type="text" name="sf" size="24" maxlength="255">%s
+ <input type="hidden" name="sml" value="1000">
+ <input type="hidden" name="ec" value="on">
+ <input type="hidden" name="url" value="on">
+ <input type="hidden" name="rt" value="idx">
+ <button type="submit" form="searchidx">※ db</button>
+ <button type="submit" form="searchidx" name="fn" value="%s">&nbsp;• idx&nbsp;</button>
</font></form>
<!-- SiSU Spine Search -->
</div>┃",
@@ -282,6 +296,13 @@ template outputXHTMLs() {
~ doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename
~ "\">",
doc_matters.src.filename_base,
+ doc_matters.conf_make_meta.conf.w_srv_cgi_action,
+ (doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename.empty)
+ ? ""
+ : "\n <input type=\"hidden\" name=\"db\" value=\""
+ ~ doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename
+ ~ "\">",
+ doc_matters.src.filename_base,
);
} else {
o = "";
@@ -459,7 +480,10 @@ template outputXHTMLs() {
<hr />
<div class="generator">
<p class="small_center" id="sisu_spine"><a name="sisu_spine"></a>
- <a href="https://sisudoc.org">SiSU Spine</a> (object numbering &amp; object search) (in sisu 2002 ...) 2023
+ <a href="https://sisudoc.org">≅ SiSU Spine</a> (object numbering &amp; object search)
+ </p>
+ <p class="small_center" id="sisu_spine"><a name="sisu_spine"></a>
+ (web 1993, object numbering 1997, object search 2002 ...) 2023
</p>
</div>
<a name="bottom" id="bottom"></a>