projects
/
consearch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
284cb0d
)
improve code style
author
Felix Kästner
<git@fpunktk.de>
Tue, 20 Apr 2021 11:13:44 +0000
(13:13 +0200)
committer
Felix Kästner
<git@fpunktk.de>
Tue, 20 Apr 2021 11:13:44 +0000
(13:13 +0200)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index 47bd8c621ae8ec5308aa91b84f9e69ff5a523e56..122a6204680149cbdffe7ac7ec8982090935a09b 100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-38,8
+38,8
@@
if ( isset($_GET['get']) and $_GET['get'] === "opensearchdescription" ) {
if ( $dse ) { echo "?dse=$dse"; }
echo '#{searchTerms}"></Url>
<Image height="16" width="16" type="image/png">' . "$consearch_base_url" . 'consearch.png</Image>
if ( $dse ) { echo "?dse=$dse"; }
echo '#{searchTerms}"></Url>
<Image height="16" width="16" type="image/png">' . "$consearch_base_url" . 'consearch.png</Image>
-</OpenSearchDescription>
';
-
+</OpenSearchDescription>
+';
exit;
}
exit;
}
@@
-247,9
+247,7
@@
if ( $dse ) {
<h1><a href="./"><?php echo "$consearch_base_url";?></a></h1>
<noscript>
<h1><a href="./"><?php echo "$consearch_base_url";?></a></h1>
<noscript>
-<p style="color: red; font-size: 200%; font-weight: bold;">
-please enable javascript
-</p>
+<p style="color: red; font-size: 200%; font-weight: bold;">please enable javascript</p>
</noscript>
<?php
</noscript>
<?php
@@
-259,16
+257,11
@@
if ( $browserintegration ) {
}
?>
}
?>
-<div>
-<label><input id="querystring" type="text"></label>
-</div>
+<div><label><input id="querystring" type="text"></label></div>
-<div id="searchbuttons">
-</div>
+<div id="searchbuttons"></div>
-<p>
-<a href="?include=browserintegration">add to browser</a>
-</p>
+<p><a href="?include=browserintegration">add to browser</a></p>
<?php
if ( $browserintegration ) {
<?php
if ( $browserintegration ) {
@@
-286,9
+279,7
@@
Now add $consearch_name to your browser. In firefox this is done via the search
}
?>
}
?>
-<p>
-<a href="https://fpunktk.de/gitweb/?p=consearch.git;a=summary">about</a> | <a href="https://fpunktk.de/#kontakt">contact</a>
-</p>
+<p><a href="https://fpunktk.de/gitweb/?p=consearch.git;a=summary">about</a> | <a href="https://fpunktk.de/#kontakt">contact</a></p>
</body>
</html>
</body>
</html>