2020-03-06 21:34:31 +01:00
|
|
|
<?php require "config.inc.php"; ?>
|
2019-03-28 22:44:06 +01:00
|
|
|
{
|
|
|
|
"dir": "ltr",
|
2020-03-06 21:34:31 +01:00
|
|
|
"lang": "fr",
|
|
|
|
"name": "LibreQR",
|
|
|
|
"short_name": "LibreQR",
|
|
|
|
"description": "Générer un code QR rapidement",
|
|
|
|
"start_url": "<?php echo $instPath; ?>",
|
|
|
|
"scope": "<?php echo $instPath; ?>",
|
2019-03-28 22:44:06 +01:00
|
|
|
"display": "standalone",
|
2020-03-06 21:34:31 +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-03-06 21:34:31 +01:00
|
|
|
<?php for ($i = 0; $i < (count($themeDimensionsIcons) - 1); $i++) { ?>
|
|
|
|
{
|
|
|
|
"src": "themes/<?php echo $theme; ?>/icons/<?php echo $themeDimensionsIcons[$i]; ?>.png",
|
|
|
|
"sizes": "<?php echo $themeDimensionsIcons[$i]; ?>x<?php echo $themeDimensionsIcons[$i]; ?>",
|
|
|
|
"type": "image/png"
|
|
|
|
},
|
|
|
|
<?php } ?>
|
2019-03-28 22:44:06 +01:00
|
|
|
{
|
2020-03-06 21:34:31 +01:00
|
|
|
"src": "themes/<?php echo $theme; ?>/icons/<?php echo $themeDimensionsIcons[$i]; ?>.png",
|
|
|
|
"sizes": "<?php echo $themeDimensionsIcons[$i]; ?>x<?php echo $themeDimensionsIcons[$i]; ?>",
|
2019-03-28 22:44:06 +01:00
|
|
|
"type": "image/png"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|