2019-03-28 22:44:06 +01:00
|
|
|
<?php require "options.inc.php"; ?>
|
|
|
|
{
|
|
|
|
"dir": "ltr",
|
|
|
|
"lang": "fr-FR",
|
2020-01-26 14:23:34 +01:00
|
|
|
"name": "LibreQR",
|
|
|
|
"short_name": "LibreQR",
|
|
|
|
"description": "Générer un code QR rapidement",
|
2019-03-28 22:44:06 +01:00
|
|
|
"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",
|
2020-01-26 14:23:34 +01:00
|
|
|
"theme_color": "<?php echo $variablesTheme["bg"]; ?>",
|
|
|
|
"background_color": "<?php echo $variablesTheme["bg"]; ?>",
|
2019-03-28 22:44:06 +01:00
|
|
|
"orientation": "portrait",
|
|
|
|
"icons":
|
|
|
|
[
|
2020-01-26 14:23:34 +01: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"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|