Fix OpenSearch plugin
This commit is contained in:
parent
70fe23d053
commit
9a99331612
2
inc.php
2
inc.php
@ -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'])) {
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user