2020-03-06 21:34:31 +01:00
|
|
|
<?php require "config.inc.php"; ?>
|
2019-03-17 16:03:43 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
|
|
|
|
<ShortName>Générer un code QR</ShortName>
|
|
|
|
<Description>Générez des codes QR depuis votre barre de recherche ou d'adresse</Description>
|
2019-08-13 21:17:08 +02:00
|
|
|
<?php
|
|
|
|
foreach($themeDimensionsFavicons as $dimFav) {
|
2020-03-06 21:34:31 +01:00
|
|
|
echo ' <Image height="' . $dimFav . '" width="' . $dimFav . '" type="image/png">' . $instPath . 'themes/' . $theme . '/icons/' . $dimFav . '.png</Image>' . "\n";
|
2019-08-13 21:17:08 +02:00
|
|
|
}
|
|
|
|
?>
|
2019-03-17 16:03:43 +01:00
|
|
|
<Language>fr</Language>
|
|
|
|
<InputEncoding>UTF-8</InputEncoding>
|
2020-03-06 21:34:31 +01:00
|
|
|
<Url type="text/html" template="<?php echo $instPath; ?>?txt={searchTerms}&redondancy=<?php if (isset($_GET['redondancy'])) { echo $_GET['redondancy']; } ?>&margin=<?= $_GET['margin'] ?>&size=<?= $_GET['size'] ?>&bgColor=<?= urlencode($_GET['bgColor']) ?>&mainColor=<?= urlencode($_GET['mainColor']) ?>"/>
|
|
|
|
<Url type="application/opensearchdescription+xml" rel="self" template="<?php echo $instPath; ?>opensearch.php" />
|
2019-03-17 16:03:43 +01:00
|
|
|
</OpenSearchDescription>
|