Fix OpenSearch plugin

This commit is contained in:
Miraty 2021-07-11 22:22:43 +02:00
parent 70fe23d053
commit 9a99331612
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ define("DEFAULT_SIZE", 4);
define("DEFAULT_BGCOLOR", "FFFFFF"); define("DEFAULT_BGCOLOR", "FFFFFF");
define("DEFAULT_MAINCOLOR", "000000"); define("DEFAULT_MAINCOLOR", "000000");
$libreqrVersion = "1.3.0"; $libreqrVersion = "1.4.0dev";
// Defines the locale to be used // Defines the locale to be used
if ($forceLocale == false AND isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { if ($forceLocale == false AND isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {

View File

@ -2,7 +2,7 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>LibreQR</ShortName> <ShortName>LibreQR</ShortName>
<Description><?= $loc['opensearch_actionName'] ?></Description> <Description><?= $loc['description'] ?></Description>
<?php <?php
foreach($themeDimensionsIcons as $dimIcon) { foreach($themeDimensionsIcons as $dimIcon) {
echo ' <Image height="' . $dimIcon . '" width="' . $dimIcon . '" type="image/png">' . $rootPath . 'themes/' . $theme . '/icons/' . $dimIcon . '.png</Image>' . "\n"; echo ' <Image height="' . $dimIcon . '" width="' . $dimIcon . '" type="image/png">' . $rootPath . 'themes/' . $theme . '/icons/' . $dimIcon . '.png</Image>' . "\n";