custom disclaimer

This commit is contained in:
2025-04-09 20:19:05 +04:00
parent f719662247
commit 9e57ca24af
4 changed files with 52 additions and 13 deletions
+24
View File
@@ -10,6 +10,8 @@
* Note: config.local.php ne doit pas être versionné dans git
*/
// define('APP_HOST_NAME', 'kaubuntu.re');
// =========================================
// Configuration de l'API PeerTube
// =========================================
@@ -168,3 +170,25 @@ define('PRIORITY_CATEGORIES', [
// Nombre maximum de posts à afficher
// define('MASTODON_MAX_POST_SHOW', '10');
// =========================================
// Contact
// =========================================
// define('CONTACT_EMAIL', 'contact@kaubuntu.re');
// =========================================
// Mentions légales
// =========================================
// define('LEGAL_COPYRIGHT', 'Ka-Ubuntu');
// define('LEGAL_WEBMASTER_NAME', 'Cédric Famibelle-Pronzola');
// define('LEGAL_WEBMASTER_EMAIL', 'contact@cedric-pronzola.re');
// define('LEGAL_HOST_NAME', 'o2Switch');
// define('LEGAL_HOST_COMPANY', 'société au capital de 100 000 €');
// define('LEGAL_HOST_RCS', 'immatriculée au RCS de Clermont-Ferrand sous le numéro 510 909 807');
// define('LEGAL_HOST_ADDRESS', '222 boulevard Gustave Flaubert, 63000 Clermont-Ferrand, France');
// define('LEGAL_CONTACT_EMAIL', 'zinfos@kaubuntu.com');
// define('LEGAL_LICENSE', 'GNU Affero General Public License version 3 (AGPL-V3)');
// define('LEGAL_LICENSE_URL', 'https://www.gnu.org/licenses/agpl-3.0.html');
// define('LEGAL_SOURCE_CODE_URL', 'https://codeberg.org/Ka-Ubuntu/kaubuntu.re');
+15
View File
@@ -12,6 +12,8 @@ if (file_exists($config_local_file)) {
require_once $config_local_file;
}
if (!defined('APP_HOST_NAME')) define('APP_HOST_NAME', 'kaubuntu.re');
// Configuration de base - ces valeurs seront utilisées si elles ne sont pas définies dans config.local.php
if (!defined('PEERTUBE_URL')) define('PEERTUBE_URL', 'https://video.off-investigation.fr');
if (!defined('PEERTUBE_DISPLAY_NAME')) define('PEERTUBE_DISPLAY_NAME', 'video.off-investigation.fr');
@@ -65,6 +67,19 @@ if (!defined('TIKTOK_URL')) define('TIKTOK_URL', '#');
// Contacts
if (!defined('CONTACT_EMAIL')) define('CONTACT_EMAIL', 'contact@kaubuntu.re');
// Mentions légales
if (!defined('LEGAL_COPYRIGHT')) define('LEGAL_COPYRIGHT', 'Ka-Ubuntu');
if (!defined('LEGAL_WEBMASTER_NAME')) define('LEGAL_WEBMASTER_NAME', 'Cédric Famibelle-Pronzola');
if (!defined('LEGAL_WEBMASTER_EMAIL')) define('LEGAL_WEBMASTER_EMAIL', 'contact@cedric-pronzola.re');
if (!defined('LEGAL_HOST_NAME')) define('LEGAL_HOST_NAME', 'o2Switch');
if (!defined('LEGAL_HOST_COMPANY')) define('LEGAL_HOST_COMPANY', 'société au capital de 100 000 €');
if (!defined('LEGAL_HOST_RCS')) define('LEGAL_HOST_RCS', 'immatriculée au RCS de Clermont-Ferrand sous le numéro 510 909 807');
if (!defined('LEGAL_HOST_ADDRESS')) define('LEGAL_HOST_ADDRESS', '222 boulevard Gustave Flaubert, 63000 Clermont-Ferrand, France');
if (!defined('LEGAL_CONTACT_EMAIL')) define('LEGAL_CONTACT_EMAIL', 'zinfos@kaubuntu.com');
if (!defined('LEGAL_LICENSE')) define('LEGAL_LICENSE', 'GNU Affero General Public License version 3 (AGPL-V3)');
if (!defined('LEGAL_LICENSE_URL')) define('LEGAL_LICENSE_URL', 'https://www.gnu.org/licenses/agpl-3.0.html');
if (!defined('LEGAL_SOURCE_CODE_URL')) define('LEGAL_SOURCE_CODE_URL', 'https://codeberg.org/Ka-Ubuntu/kaubuntu.re');
// Fonctionnalités
define('ENABLE_SEARCH', true);
if (!defined('ENABLE_USER_ACCOUNTS')) define('ENABLE_USER_ACCOUNTS', false);
+3 -3
View File
@@ -46,14 +46,14 @@
<h3 class="footer-title">Informations légales</h3>
<ul class="footer-links">
<li><a href="mentions-legales.php">Mentions légales</a></li>
<li><a href="https://codeberg.org/Ka-Ubuntu/kaubuntu.re" target="_blank" rel="noopener noreferrer">
<i class="fa-solid fa-laptop-code"></i> Code source
<li><a href="<?php echo LEGAL_SOURCE_CODE_URL; ?>" target="_blank" rel="noopener noreferrer">
<i class="fab fa-git-alt"></i> Code source
</a></li>
</ul>
</div>
</div>
<div class="footer-copyright">
kaubuntu.re <?php echo date('Y'); ?> - Licence libre <a href="https://www.gnu.org/licenses/agpl-3.0.html" target="_blank" rel="noopener noreferrer">GNU AGPL-V3</a>
<strong><?php echo LEGAL_COPYRIGHT; ?></strong> <?php echo date('Y'); ?> - Licence libre <a href="<?php echo LEGAL_LICENSE_URL; ?>" target="_blank" rel="noopener noreferrer">GNU AGPL-V3</a>
</div>
</div>