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
948B

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