aboutsummaryrefslogtreecommitdiffhomepage
path: root/org
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 /org
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 'org')
-rw-r--r--org/out_xmls.org34
1 files changed, 29 insertions, 5 deletions
diff --git a/org/out_xmls.org b/org/out_xmls.org
index adeecfc..eb3f87a 100644
--- a/org/out_xmls.org
+++ b/org/out_xmls.org
@@ -375,14 +375,28 @@ import
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>┃",
@@ -393,6 +407,13 @@ import
~ 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 = "";
@@ -595,7 +616,10 @@ import
<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 ...) <<year>>
+ <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 ...) <<year>>
</p>
</div>
<a name="bottom" id="bottom"></a>