summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-05-22 18:22:47 +0200
committerRaindropsSys <contact@minteck.org>2023-05-22 18:22:47 +0200
commit8d9ea8fa0c5b6f24880418cd6e78d45a08d5d10a (patch)
tree5dda4dbb7aaad0355f131b498f08eec3591d7536
parentaf1fb5ecf169c1d2c9b565063e7383617c760455 (diff)
downloaddelta-8d9ea8fa0c5b6f24880418cd6e78d45a08d5d10a.tar.gz
delta-8d9ea8fa0c5b6f24880418cd6e78d45a08d5d10a.tar.bz2
delta-8d9ea8fa0c5b6f24880418cd6e78d45a08d5d10a.zip
Updated 3 files and added 2 files (automated)
-rw-r--r--index.php9
-rw-r--r--lang/fr.json4
-rw-r--r--logo-symbolic-adapted.svg14
-rw-r--r--logo-symbolic.svg14
-rw-r--r--version2
5 files changed, 41 insertions, 2 deletions
diff --git a/index.php b/index.php
index eb67101..a3783fb 100644
--- a/index.php
+++ b/index.php
@@ -6,6 +6,8 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/header.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/navigation.php";
global $_PROFILE; global $_USER;
+$version = file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/version");
+
?>
<div class="container">
@@ -31,9 +33,14 @@ global $_PROFILE; global $_USER;
</div>
<?php endif; ?>
+ <?php if (str_contains($version, "rc") ||
+ str_contains($version, "eap") ||
+ str_contains($version, "beta") ||
+ str_contains($version, "dev")): ?>
<div class="alert alert-secondary">
- <b>Vous utilisez une version expérimentale de Delta.</b> Attendez-vous à rencontrer des bugs et autres problèmes importants. Dans tous les cas, vous pouvez <a href="/support">contacter le support technique</a> pour les signaler.
+ <b><?= l("lang_experimental_title") ?></b> <?= str_replace("%2", '</a>', str_replace("%1", '<a href="/support">', l("lang_experimental_message"))) ?>
</div>
+ <?php endif; ?>
<div id="homepage-content"></div>
diff --git a/lang/fr.json b/lang/fr.json
index 9e5e0df..69e0e29 100644
--- a/lang/fr.json
+++ b/lang/fr.json
@@ -1135,5 +1135,9 @@
},
"notice": "Voulez-vous publier ces images pour être revues par les administrateur·ice·s ? Assurez-vous qu'il s'agit des bonnes images avant de les envoyer, étant donné que vous ne pouvez pas les modifier après.",
"summary": "En option, décrivez ces images et pourquoi elles doivent être ajoutées à cet album :"
+ },
+ "experimental": {
+ "title": "Vous utilisez une version expérimentale de Delta.",
+ "message": "Attendez-vous à rencontrer des bugs et autres problèmes importants. Dans tous les cas, vous pouvez %1contacter le support technique%2 pour les signaler."
}
} \ No newline at end of file
diff --git a/logo-symbolic-adapted.svg b/logo-symbolic-adapted.svg
new file mode 100644
index 0000000..82344e1
--- /dev/null
+++ b/logo-symbolic-adapted.svg
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 754 754" style="enable-background:new 0 0 754 754;" xml:space="preserve">
+<style type="text/css">
+ .st0{opacity:0;fill:#FFFFFF;}
+ .st1{fill:none;stroke:#000000;stroke-width:20;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
+</style>
+<rect class="st0" width="754" height="754"/>
+<path class="st1" d="M359.1,117.8L135.5,520.1c-6.6,11.9,3.1,26,17.9,26h447.1c14.9,0,24.5-14,17.9-26L394.9,117.8
+ C387.5,104.6,366.5,104.6,359.1,117.8z"/>
+<path class="st1" d="M377,108.4v289.2L136,536.8c-3-4.9-3.6-11-0.4-16.7l223.5-401.8C362.8,111.7,369.9,108.4,377,108.4z"/>
+<path class="st1" d="M618,536.8L377,397.6V108.4c7.1,0,14.2,3.3,17.9,9.9l223.5,401.8C621.6,525.8,621.1,531.9,618,536.8z"/>
+</svg>
diff --git a/logo-symbolic.svg b/logo-symbolic.svg
new file mode 100644
index 0000000..dcef367
--- /dev/null
+++ b/logo-symbolic.svg
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<style type="text/css">
+ .st0{fill:none;stroke:#000000;stroke-width:20;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
+
+ .st1{fill:none;stroke:#000000;stroke-width:20;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;enable-background:new ;}
+</style>
+<path class="st0" d="M238.1,46.8L14.5,449.1c-6.6,11.9,3.1,26,17.9,26h447.1c14.9,0,24.5-14,17.9-26L273.9,46.8
+ C266.5,33.6,245.5,33.6,238.1,46.8z"/>
+<path class="st1" d="M256,37.4v289.2L15,465.8c-3-4.9-3.6-11-0.4-16.7L238.1,47.3C241.8,40.7,248.9,37.4,256,37.4z"/>
+<path class="st1" d="M497,465.8L256,326.6V37.4c7.1,0,14.2,3.3,17.9,9.9l223.5,401.8C500.6,454.8,500.1,460.9,497,465.8z"/>
+</svg>
diff --git a/version b/version
index 83c6fcf..39291c6 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-5.1.12-rc1 \ No newline at end of file
+5.1.13-rc1 \ No newline at end of file