Browse Source

Add a license notice to every file that is part of LibreQR

main
Miraty 7 months ago
parent
commit
5697363739
  1. 2
      config.inc.php
  2. 2
      config.yaml.php
  3. 4
      inc.php
  4. 21
      index.php
  5. 2
      locales/en.php
  6. 2
      locales/fr.php
  7. 2
      locales/oc.php
  8. 3
      manifest.php
  9. 3
      opensearch.php
  10. 12
      style.less
  11. 2
      themes/libreqr/theme.php
  12. 2
      themes/parinux/theme.php
  13. 2
      themes/resize.php

2
config.inc.php

@ -1,4 +1,4 @@
<?php
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
// ----- Settings -----
// ----- Paramètres -----

2
config.yaml.php

@ -1,4 +1,4 @@
<?php
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
require "inc.php";
// EN: This file is used to inform users of the settings of your LibreQR instance. If you want to edit these settings, edit config.inc.php.
// FR : Ce fichier est utilisé pour informer les utilisateurices des paramètres de votre instance LibreQR. Si vous voulez modifier ces paramètres, modifiez config.inc.php.

4
inc.php

@ -1,4 +1,6 @@
<?php // ----- This file is included everywhere -----
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
// ----- This file is included everywhere -----
require "config.inc.php";

21
index.php

@ -1,23 +1,4 @@
<!--
_ _ _ ___ ____
| | (_| |__ _ __ ___ / _ \| _ \
| | | | '_ \| '__/ _ | | | | |_) |
| |___| | |_) | | | __| |_| | _ <
|_____|_|_.__/|_| \___|\__\_|_| \_\
A PHP Web interface for generating QR codes
Source code: https://code.antopie.org/miraty/libreqr
This file is part of LibreQR.
LibreQR is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
LibreQR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<?php
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
use CodeItNow\BarcodeBundle\Utils\QrCode;

2
locales/en.php

@ -1,4 +1,4 @@
<?php
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
$loc = array(
'subtitle' => "QR codes generator",
'description' => "Generate QR codes freely. Choose content, size, colors…",

2
locales/fr.php

@ -1,4 +1,4 @@
<?php
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
$loc = array(
'subtitle' => "Générateur de codes QR",
'description' => "Générer des codes QR librement. Choix du contenu, de la taille, des couleurs…",

2
locales/oc.php

@ -1,4 +1,4 @@
<?php
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
$loc = array(
'subtitle' => "Generator de còdis QR",
'description' => "Generatz de còdis QR liurament. Causissètz lo contengut, la talha, las colors…",

3
manifest.php

@ -1,4 +1,5 @@
<?php require "inc.php"; ?>
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
require "inc.php"; ?>
{
"dir": "ltr",
"lang": "<?= $locale ?>",

3
opensearch.php

@ -1,4 +1,5 @@
<?php require "inc.php"; ?>
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
require "inc.php"; ?>
<?xml version="1.0" encoding="UTF-8" ?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>LibreQR</ShortName>

12
style.less

@ -1,15 +1,5 @@
/*
// This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
This file is part of LibreQR.
LibreQR is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
LibreQR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
@light: ~"(prefers-color-scheme: light)";
@dark: ~"(prefers-color-scheme: dark)";

2
themes/libreqr/theme.php

@ -1,4 +1,4 @@
<?php
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
// List icons dimensions
$themeDimensionsIcons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512);

2
themes/parinux/theme.php

@ -1,4 +1,4 @@
<?php
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
// List icons dimensions
$themeDimensionsIcons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512);

2
themes/resize.php

@ -1,4 +1,4 @@
<?php
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
/*
A small script that can be used to generate LibreQR's icons

Loading…
Cancel
Save