Code source du service qrcode.chapril.org. https://qrcode.chapril.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
948 B

<?php require "config.inc.php"; ?>
{
"dir": "ltr",
"lang": "fr",
"name": "LibreQR",
"short_name": "LibreQR",
"description": "Générer un code QR",
"start_url": "<?php echo $instPath; ?>",
"scope": "<?php echo $instPath; ?>",
"display": "standalone",
"theme_color": "<?php echo $variablesTheme["bg"]; ?>",
"background_color": "<?php echo $variablesTheme["bg"]; ?>",
"orientation": "portrait",
"icons":
[
<?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 } ?>
{
"src": "themes/<?php echo $theme; ?>/icons/<?php echo $themeDimensionsIcons[$i]; ?>.png",
"sizes": "<?php echo $themeDimensionsIcons[$i]; ?>x<?php echo $themeDimensionsIcons[$i]; ?>",
"type": "image/png"
}
]
}