X-Git-Url: https://fpunktk.de/gitweb/?p=consearch.git;a=blobdiff_plain;f=index.php;h=e5680aecfadf8ab0633be67e0b8d77e0a5601ddb;hp=fd5297ffdaee8d2601f1c45d60fecd39ce7efd0c;hb=a81b515dcffbdc8cf79c64a7e9e424498d1a5680;hpb=1f749771c755f02265ebd1938955e3ee7bce1845 diff --git a/index.php b/index.php index fd5297f..e5680ae 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,5 @@ - - - +*/ - +$browserintegration = ""; +if ( isset($_GET['include']) and $_GET['include'] == "browserintegration" ) { + $browserintegration = "true"; +} + +if ( isset($_GET['get']) and $_GET['get'] === "opensearchdescription" ) { + header('Content-Type: text/xml'); + echo ' + +' . "$consearch_name"; + if ( $dse ) { echo " ($dse)"; } + echo ' +conveniently use different searchengines +consearch +consearch @ f p u n k t k . de + +' . "$consearch_base_url" . 'consearch.png +'; + + exit; +} +?> + -consearch + +<?php echo "$consearch_name";?> -" title="consearch"> +'; + echo "\n"; +} +?>