Browse Source

Fix OpenSearch plugin

pull/13/head
Miraty 5 months ago
parent
commit
9a99331612
  1. 2
      inc.php
  2. 2
      opensearch.php

2
inc.php

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

2
opensearch.php

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

Loading…
Cancel
Save