From 2602d4099d9a7c65d6053f66f87438fd723132e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Fri, 17 Oct 2025 12:24:02 +0400 Subject: [PATCH] feat: remplace kaubuntu by OKI --- categories.php | 20 +++++++++++--------- countdown.php | 30 +++++++++++++++--------------- direct.php | 24 ++++++++++++------------ includes/config.php | 2 +- includes/pwa-init.php | 4 ++-- includes/sidebar.php | 2 +- includes/structured-data.php | 12 ++++++------ includes/wordpress.php | 2 +- recherche.php | 24 +++++++++++++----------- sw.js | 6 +++--- video.php | 12 ++++++------ 11 files changed, 71 insertions(+), 67 deletions(-) diff --git a/categories.php b/categories.php index 3dab39a..50bb44f 100644 --- a/categories.php +++ b/categories.php @@ -42,7 +42,7 @@ if ($categoryId && isset($allCategories[$categoryId])) { - <?php echo htmlspecialchars($categoryName); ?> - kaubuntu.re + <?php echo htmlspecialchars($categoryName); ?> - <?php echo SITE_NAME; ?> @@ -55,24 +55,24 @@ if ($categoryId && isset($allCategories[$categoryId])) { - - + + - + - + - - + + ">

Catégorie :

@@ -146,7 +146,9 @@ if ($categoryId && isset($allCategories[$categoryId])) {
+ vues +
diff --git a/countdown.php b/countdown.php index 6e1e9e4..ba34507 100644 --- a/countdown.php +++ b/countdown.php @@ -12,7 +12,7 @@ setSecurityHeaders(); - kaubuntu.re - Ouverture prochaine + <?php echo SITE_NAME; ?> - Ouverture prochaine @@ -30,29 +30,29 @@ setSecurityHeaders(); - - + + - - + - + - - + @@ -65,10 +65,10 @@ setSecurityHeaders();
- - + + -

kaubuntu.re

+

Plateforme Multimédia - Ouverture prochaine

diff --git a/direct.php b/direct.php index cd55d09..598cb8a 100644 --- a/direct.php +++ b/direct.php @@ -22,7 +22,7 @@ $liveStream = getLiveStream(); - Direct - kaubuntu.re + Direct - <?php echo SITE_NAME; ?> @@ -35,18 +35,18 @@ $liveStream = getLiveStream(); - - + + - + - + - - + + @@ -54,17 +54,17 @@ $liveStream = getLiveStream(); { "@context": "https://schema.org", "@type": "WebPage", - "name": "Direct - kaubuntu.re", - "description": "Suivez nos diffusions en direct sur kaubuntu.re. Contenu en temps réel du mouvement Ka-Ubuntu.", + "name": "Direct - ", + "description": "Suivez nos diffusions en direct sur . Contenu en temps réel.", "url": "/direct.php", "isPartOf": { "@type": "WebSite", - "name": "kaubuntu.re", + "name": "", "url": "" }, "publisher": { "@type": "Organization", - "name": "Ka-Ubuntu", + "name": "", "url": "", "logo": { "@type": "ImageObject", @@ -107,7 +107,7 @@ $liveStream = getLiveStream();

Diffusion en direct

diff --git a/includes/config.php b/includes/config.php index 617be78..67674ab 100644 --- a/includes/config.php +++ b/includes/config.php @@ -121,7 +121,7 @@ function callPeerTubeApiOriginal($endpoint, $params = []) { curl_setopt($ch, CURLOPT_MAXREDIRS, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); - curl_setopt($ch, CURLOPT_USERAGENT, 'KaubuntuRe/1.0'); + curl_setopt($ch, CURLOPT_USERAGENT, 'fediverse-oki/1.0'); // Ajouter la clé API si définie if (defined('API_KEY') && !empty(API_KEY)) { diff --git a/includes/pwa-init.php b/includes/pwa-init.php index 8635105..d56a384 100644 --- a/includes/pwa-init.php +++ b/includes/pwa-init.php @@ -5,8 +5,8 @@ function addPWAHeaders() { echo '' . "\n"; echo '' . "\n"; echo '' . "\n"; - echo '' . "\n"; - echo '' . "\n"; + echo '' . "\n"; + echo '' . "\n"; echo '' . "\n"; echo '' . "\n"; echo '' . "\n"; diff --git a/includes/sidebar.php b/includes/sidebar.php index 9fe3c67..8f5137a 100644 --- a/includes/sidebar.php +++ b/includes/sidebar.php @@ -1,7 +1,7 @@