qrcode.chapril.org-libreqr/manifest.php

35 lines
1.0 KiB
PHP
Raw Normal View History

2019-03-28 22:44:06 +01:00
<?php require "options.inc.php"; ?>
{
"dir": "ltr",
"lang": "fr-FR",
"name": "Générateur de code QR",
"short_name": "Code QR",
"description": "Générez un code QR rapidement",
"start_url": "<?php echo $cheminInstall; ?>",
2019-08-13 21:17:08 +02:00
"scope": "<?php echo $cheminInstall; ?>",
2019-03-28 22:44:06 +01:00
"display": "standalone",
2019-08-13 21:17:08 +02:00
"theme_color": "<?php echo $variablesTheme["fond"]; ?>",
"background_color": "<?php echo $variablesTheme["fond"]; ?>",
2019-03-28 22:44:06 +01:00
"orientation": "portrait",
"icons":
[
2019-08-13 21:17:08 +02:00
<?php
for ($i = 0; $i < (count($themeDimensionsFavicons) - 1); $i++) { ?>
{
"src": "themes/<?php echo $theme; ?>/favicons/<?php echo $themeDimensionsFavicons[$i]; ?>.png",
"sizes": "<?php echo $themeDimensionsFavicons[$i]; ?>x<?php echo $themeDimensionsFavicons[$i]; ?>",
"type": "image/png"
},
<?php
}
?>
2019-03-28 22:44:06 +01:00
{
2019-08-13 21:17:08 +02:00
"src": "themes/<?php echo $theme; ?>/favicons/<?php echo $themeDimensionsFavicons[$i]; ?>.png",
"sizes": "<?php echo $themeDimensionsFavicons[$i]; ?>x<?php echo $themeDimensionsFavicons[$i]; ?>",
2019-03-28 22:44:06 +01:00
"type": "image/png"
}
]
}