Un générateur de codes QR en PHP pour le Web. https://qr.antopie.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.

30 lines
871 B

  1. <?php require "inc.php"; ?>
  2. {
  3. "dir": "ltr",
  4. "lang": "<?= $locale ?>",
  5. "name": "LibreQR",
  6. "short_name": "LibreQR",
  7. "description": "<?= $loc['subtitle'] ?>",
  8. "start_url": "<?= $instPath; ?>",
  9. "scope": "<?= $instPath; ?>",
  10. "display": "standalone",
  11. "theme_color": "<?= $variablesTheme["bg"]; ?>",
  12. "background_color": "<?= $variablesTheme["bg"]; ?>",
  13. "orientation": "portrait",
  14. "icons":
  15. [
  16. <?php for ($i = 0; $i < (count($themeDimensionsIcons) - 1); $i++) { ?>
  17. {
  18. "src": "themes/<?= $theme; ?>/icons/<?= $themeDimensionsIcons[$i]; ?>.png",
  19. "sizes": "<?= $themeDimensionsIcons[$i]; ?>x<?= $themeDimensionsIcons[$i]; ?>",
  20. "type": "image/png"
  21. },
  22. <?php } ?>
  23. {
  24. "src": "themes/<?= $theme; ?>/icons/<?= $themeDimensionsIcons[$i]; ?>.png",
  25. "sizes": "<?= $themeDimensionsIcons[$i]; ?>x<?= $themeDimensionsIcons[$i]; ?>",
  26. "type": "image/png"
  27. }
  28. ]
  29. }