diff --git a/config.inc.php b/config.inc.php index bd40b5d..871e194 100755 --- a/config.inc.php +++ b/config.inc.php @@ -11,7 +11,7 @@ $timeBeforeDeletion = 60 * 60 * 24 * 2; // EN: Theme's name (must be in the themes directory) // FR : Nom du thème (doit être dans le dossier themes) -$theme = "libreqr"; +$theme = "libre-service.eu"; // EN: Language used if those requested by the user are not available // FR : Langue utilisée si celles demandées par l'utilisateurice ne sont pas disponibles @@ -27,5 +27,5 @@ $fileNameLenght = 32; // EN: Will be printed at the bottom of the interface // FR : Sera affiché en bas de l'interface -$customTextEnabled = false; -$customText = "This LibreQR instance is hosted by foo."; +$customTextEnabled = true; +$customText = "Cette instance de LibreQR est hébergée par https://www.libre-service.eu/."; diff --git a/inc.php b/inc.php index e857d40..f275ca3 100644 --- a/inc.php +++ b/inc.php @@ -8,7 +8,7 @@ define("DEFAULT_SIZE", 4); define("DEFAULT_BGCOLOR", "FFFFFF"); define("DEFAULT_MAINCOLOR", "000000"); -$libreqrVersion = "1.4.0dev"; +$libreqrVersion = "libre-service.eu-1.3.0"; // Defines the locale to be used if ($forceLocale == false AND isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { diff --git a/index.php b/index.php index 8dc0736..b27cd7a 100755 --- a/index.php +++ b/index.php @@ -110,7 +110,7 @@ if (
-

LibreQR

+

QRCode.libre-service.eu

diff --git a/locales/en.php b/locales/en.php index d83ebb0..f7c2464 100644 --- a/locales/en.php +++ b/locales/en.php @@ -41,7 +41,7 @@ $loc = array( A QR code is a 2 dimensional barcode in which text is written in binary. It can be decoded with a device equipped with a photo sensor and an adequate software. QR code on Wikipedia. ", - 'metaText_legal' => "LibreQR " . $libreqrVersion . " is a free software whose source code is available under the terms of the AGPLv3+.", + 'metaText_legal' => "LibreQR version " . $libreqrVersion . " is a free software whose source code is available under the terms of the AGPLv3+.", 'opensearch_description' => "Generate QR codes from your search or address bar", ); diff --git a/locales/fr.php b/locales/fr.php index 7812083..a56534e 100644 --- a/locales/fr.php +++ b/locales/fr.php @@ -41,7 +41,7 @@ $loc = array( Un code QR est un code-barres en 2 dimensions dans lequel du texte est inscrit en binaire. Il peut être décodé avec un appareil muni d'un capteur photo et d'un logiciel adéquat. Code QR sur Wikipédia. ", - 'metaText_legal' => "LibreQR " . $libreqrVersion . " est un logiciel libre dont le code source est disponible selon les termes de l'AGPLv3+.", + 'metaText_legal' => "LibreQR version " . $libreqrVersion . " est un logiciel libre dont le code source est disponible selon les termes de l'AGPLv3+.", 'opensearch_description' => "Générez des codes QR depuis votre barre de recherche ou d'adresse", ); diff --git a/themes/libre-service.eu/icons/128.png b/themes/libre-service.eu/icons/128.png new file mode 100755 index 0000000..ad43449 Binary files /dev/null and b/themes/libre-service.eu/icons/128.png differ diff --git a/themes/libre-service.eu/icons/16.png b/themes/libre-service.eu/icons/16.png new file mode 100755 index 0000000..c268881 Binary files /dev/null and b/themes/libre-service.eu/icons/16.png differ diff --git a/themes/libre-service.eu/icons/192.png b/themes/libre-service.eu/icons/192.png new file mode 100755 index 0000000..8f6a74e Binary files /dev/null and b/themes/libre-service.eu/icons/192.png differ diff --git a/themes/libre-service.eu/icons/256.png b/themes/libre-service.eu/icons/256.png new file mode 100755 index 0000000..83c4e72 Binary files /dev/null and b/themes/libre-service.eu/icons/256.png differ diff --git a/themes/libre-service.eu/icons/32.png b/themes/libre-service.eu/icons/32.png new file mode 100755 index 0000000..1fe3983 Binary files /dev/null and b/themes/libre-service.eu/icons/32.png differ diff --git a/themes/libre-service.eu/icons/384.png b/themes/libre-service.eu/icons/384.png new file mode 100755 index 0000000..e6bff6f Binary files /dev/null and b/themes/libre-service.eu/icons/384.png differ diff --git a/themes/libre-service.eu/icons/48.png b/themes/libre-service.eu/icons/48.png new file mode 100755 index 0000000..3074964 Binary files /dev/null and b/themes/libre-service.eu/icons/48.png differ diff --git a/themes/libre-service.eu/icons/512.png b/themes/libre-service.eu/icons/512.png new file mode 100755 index 0000000..d86b54a Binary files /dev/null and b/themes/libre-service.eu/icons/512.png differ diff --git a/themes/libre-service.eu/icons/64.png b/themes/libre-service.eu/icons/64.png new file mode 100755 index 0000000..ba3cba1 Binary files /dev/null and b/themes/libre-service.eu/icons/64.png differ diff --git a/themes/libre-service.eu/icons/96.png b/themes/libre-service.eu/icons/96.png new file mode 100755 index 0000000..985075a Binary files /dev/null and b/themes/libre-service.eu/icons/96.png differ diff --git a/themes/libre-service.eu/icons/source.png b/themes/libre-service.eu/icons/source.png new file mode 100755 index 0000000..8732795 Binary files /dev/null and b/themes/libre-service.eu/icons/source.png differ diff --git a/themes/libre-service.eu/theme.php b/themes/libre-service.eu/theme.php new file mode 100755 index 0000000..d4116a0 --- /dev/null +++ b/themes/libre-service.eu/theme.php @@ -0,0 +1,29 @@ + "#2a2a2a", + "bg-light" => "white", + "bgField-light" => "#eeeeee", + "bgHelp-light" => "#ececec", + "bgTextarea-light" => "#e5e5e5", + "textareaText-light" => "#2a2a2a", + "textareaPlaceholder-light" => "#868686", + "border-light" => "#65666b", + "borderHover-light" => "#46484e", + "borderFocus-light" => "#2a2a2a", + // Dark theme + "text-dark" => "white", + "bg-dark" => "#2a2a2a", + "bgField-dark" => "#31363B", + "bgHelp-dark" => "#151616", + "bgTextarea-dark" => "#232629", + "textareaText-dark" => "white", + "textareaPlaceholder-dark" => "#bababa", + "border-dark" => "#5f5f5f", + "borderHover-dark" => "#808080", + "borderFocus-dark" => "white" +);