]> git.donarmstrong.com Git - lilypond.git/commitdiff
Web-ja: add search-box
authorTomohiro Tatejima <t.stripe.0314@gmail.com>
Fri, 7 Jul 2017 04:21:59 +0000 (13:21 +0900)
committerMasamichi Hosoda <trueroad@trueroad.jp>
Fri, 7 Jul 2017 11:33:16 +0000 (20:33 +0900)
Documentation/ja/search-box.ihtml [new file with mode: 0644]

diff --git a/Documentation/ja/search-box.ihtml b/Documentation/ja/search-box.ihtml
new file mode 100644 (file)
index 0000000..04556f1
--- /dev/null
@@ -0,0 +1,28 @@
+<!--
+    Translation of GIT committish: 9bb7fa99aa8bc7c14a45a42224545c726bb6c592
+
+    When revising a translation, copy the HEAD committish of the
+    version that you are working on.  See TRANSLATION for details.
+-->
+
+<!--
+we depend on an external entity here, which we cannot control.  Suppose
+we go from 2.15.x to 2.17.x and put the documentation under "v2.17".
+For some time, Google won't have the new location in its index, so the
+search would get nothing.  It would be better to keep "v2.15" in the
+search for a while and have a redirection from "v2.15" to "v2.17".
+-->
+
+<form action="http://google.com/search"
+      method="get"
+      name="search"
+      onSubmit="search.q.value='site:lilypond.org/doc/v2.19 '
+               + search.brute_query.value"
+      onMouseMove="search.q.value='site:lilypond.org/doc/v2.19 '
+                  + search.brute_query.value"
+      onKeyUp="search.q.value='site:lilypond.org/doc/v2.19 '
+              + search.brute_query.value">
+  <input type="hidden" name="btnG" value="Google 検索">
+  <input type="text" name="brute_query" onfocus="this.value=''" value="検索">
+  <input type="hidden" name="q" value="">
+</form>