diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2024-05-14 22:25:30 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2024-05-14 22:25:30 +0200 |
commit | 9a00f053576e829eeefea586e5b74f67eb851f59 (patch) | |
tree | fd1e4a3f239690f8b0481449e0e932dca7652ff3 | |
parent | searphp nokia 6020 friendly (button->inputsubmit) (diff) | |
download | r-9a00f053576e829eeefea586e5b74f67eb851f59.tar r-9a00f053576e829eeefea586e5b74f67eb851f59.tar.gz r-9a00f053576e829eeefea586e5b74f67eb851f59.tar.bz2 r-9a00f053576e829eeefea586e5b74f67eb851f59.tar.lz r-9a00f053576e829eeefea586e5b74f67eb851f59.tar.xz r-9a00f053576e829eeefea586e5b74f67eb851f59.tar.zst r-9a00f053576e829eeefea586e5b74f67eb851f59.zip |
-rw-r--r-- | prog/sear.php/index.php | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/prog/sear.php/index.php b/prog/sear.php/index.php index 9b9cbd4..8e48d95 100644 --- a/prog/sear.php/index.php +++ b/prog/sear.php/index.php @@ -59,7 +59,6 @@ function query_google ($s, $image = false, $noredirect = false, $bindstring = fa } $results = []; $x = new DOMDocument(); - // file_put_contents("/tmp/x", $txtdoc); $txtdoc = mb_convert_encoding($txtdoc, "ISO-8859-1"); $x->loadHTML($txtdoc); if ($image) @@ -122,15 +121,15 @@ function template ($title, $queryinfo, $body, $query = "", $additionalform = "", $query = htmlspecialchars($query); $title = htmlspecialchars($title); $buttons = " - <input type=submit value=🔍 ><span>=></span></button> - <input type=submit accesskey=f type=submit name=f value=Ʊ ><span>1.</span></button> - <input type=submit accesskey=i type=submit name=i value=🖼><span>[^]</span></button> + <input type=submit value=🔍 /> <!-- => --> + <input type=submit accesskey=f type=submit name=f value=Ʊ /> <!-- 1. --> + <input type=submit accesskey=i type=submit name=i value=🖼 /> <!-- [^] --> "; if ($imgfirst) { $buttons = " - <input type=submit name=i value=🖼><span>[^]</span></button> - <input type=submit accesskey=i type=submit value=🔍 ><span>=></span></button> - <input type=submit accesskey=f type=submit name=f value=Ʊ ><span>1.</span></button> + <input type=submit accesskey=i type=submit name=i value=🖼 /> <!-- [^] --> + <input type=submit value=🔍 /> <!-- => --> + <input type=submit accesskey=f type=submit name=f value=Ʊ /> <!-- 1. --> "; } return " |