qrcode.chapril.org-libreqr/manifest.php

30 lines
871 B
PHP
Raw Normal View History

<?php require "inc.php"; ?>
2019-03-28 22:44:06 +01:00
{
"dir": "ltr",
"lang": "<?= $locale ?>",
"name": "LibreQR",
"short_name": "LibreQR",
"description": "<?= $loc['subtitle'] ?>",
"start_url": "<?= $instPath; ?>",
"scope": "<?= $instPath; ?>",
2019-03-28 22:44:06 +01:00
"display": "standalone",
"theme_color": "<?= $variablesTheme["bg"]; ?>",
"background_color": "<?= $variablesTheme["bg"]; ?>",
"orientation": "portrait",
2019-03-28 22:44:06 +01:00
"icons":
[
<?php for ($i = 0; $i < (count($themeDimensionsIcons) - 1); $i++) { ?>
{
"src": "themes/<?= $theme; ?>/icons/<?= $themeDimensionsIcons[$i]; ?>.png",
"sizes": "<?= $themeDimensionsIcons[$i]; ?>x<?= $themeDimensionsIcons[$i]; ?>",
"type": "image/png"
},
<?php } ?>
2019-03-28 22:44:06 +01:00
{
"src": "themes/<?= $theme; ?>/icons/<?= $themeDimensionsIcons[$i]; ?>.png",
"sizes": "<?= $themeDimensionsIcons[$i]; ?>x<?= $themeDimensionsIcons[$i]; ?>",
2019-03-28 22:44:06 +01:00
"type": "image/png"
}
]
}