diff --git a/CHANGES.md b/CHANGES.md
index cf2053e2..ab8f3fbf 100755
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,12 +1,20 @@
# Changelog
## Version 12.3.04
+### Corrections
- Corrige un défaut d'actualisation de la liste des pages et du site map lorsque la page change d'id.
- Serveur SMTP :
- Corrige le décryptage du mot de passe SMTP.
- Corrige un défaut d'encodage UTF-8 du sujet du mail et du titre du site.
-- Notification de compte bloqué, la traduction n'est pas effectuée.
-- Amélioration du module Blog, aspect de la liste des articles présenté en tableau avec un bouton "Lire la suite" agrémenté d'un effet de flou.
+- Traduction du message de compte bloqué.
+### Améliorations
+- Module Blog :
+ - Aspect de la liste des articles présenté en tableau avec un bouton "Lire la suite" agrémenté d'un effet de flou.
+ - Des tailles de masquage du texte des articles plus importantes sont proposées.
+- Comptes de réseaux sociaux :
+ - Sont ajoutés Steam, Twitch, Vimeo et Reddit.
+ - Des icônes accompagnent le noms des réseaux dans la configuration.
+
## Version 12.3.03
- Corrige le problème d'affichage lors de l'édition d'une page contenant une feuille style commentée.
diff --git a/core/class/layout.class.php b/core/class/layout.class.php
index 665e08fe..a60fa1cf 100644
--- a/core/class/layout.class.php
+++ b/core/class/layout.class.php
@@ -410,6 +410,22 @@ class layout extends common
$socialUrl = 'https://www.github.com/';
$title = 'Github';
break;
+ case 'redditId':
+ $socialUrl = 'https://www.reddit.com/user/';
+ $title = 'Reddit';
+ break;
+ case 'twitchId':
+ $socialUrl = 'https://www.twitch.tv/';
+ $title = 'Twitch';
+ break;
+ case 'vimeoId':
+ $socialUrl = 'https://vimeo.com/';
+ $title = 'Vimeo';
+ break;
+ case 'steamId':
+ $socialUrl = 'https://steamcommunity.com/id/';
+ $title = 'Steam';
+ break;
default:
$socialUrl = '';
}
@@ -965,7 +981,7 @@ class layout extends common
'help' => 'Fichiers',
'href' => helper::baseUrl(false) . 'core/vendor/filemanager/dialog.php?type=0&akey=' . md5_file(self::DATA_DIR . 'core.json') . '&lang=' . $this->getData(['user', $this->getUser('id'), 'language']),
'attr' => 'data-lity'
- ]) . '';
+ ]) . '';
}
if ($this->getUser('group') >= self::GROUP_ADMIN) {
$rightItems .= '
' . template::ico('brush', [
@@ -1016,10 +1032,10 @@ class layout extends common
}
}
if ($this->getUser('group') >= self::GROUP_MODERATOR) {
- $rightItems .= '' .
- template::ico('user', ['margin' => 'right']) . '' . $this->getUser('firstname') . ' ' . $this->getUser('lastname') .
- '';
+ $rightItems .= '' .
+ template::ico('user', ['margin' => 'right']) . '' . $this->getUser('firstname') . ' ' . $this->getUser('lastname') .
+ '';
}
$rightItems .= '' . template::ico('logout', [
'help' => 'Déconnecter',
@@ -1043,7 +1059,7 @@ class layout extends common
if ($this->core->output['inlineScript']) {
$inlineScript = implode($this->core->output['inlineScript']);
}
- echo '';
+ echo '';
echo '';
}
diff --git a/core/layout/common.css b/core/layout/common.css
index 05420559..54f447cd 100755
--- a/core/layout/common.css
+++ b/core/layout/common.css
@@ -951,6 +951,38 @@ footer #footerSocials .zwiico-github:hover {
background: #000;
}
+footer #footerSocials .zwiico-reddit {
+ background: #FF4500;
+}
+
+footer #footerSocials .zwiico-reddit:hover {
+ background: #D23311;
+}
+
+footer #footerSocials .zwiico-steam {
+ background: #171A21;
+}
+
+footer #footerSocials .zwiico-steam:hover {
+ background: #0F1318;
+}
+
+footer #footerSocials .zwiico-vimeo {
+ background: #162221;
+}
+
+footer #footerSocials .zwiico-vimeo:hover {
+ background: #121B1E;
+}
+
+footer #footerSocials .zwiico-twitch {
+ background: #9146FF;
+}
+
+footer #footerSocials .zwiico-twitch:hover {
+ background: #703CEC;
+}
+
/* Bulle de dialogue */
diff --git a/core/module/config/config.php b/core/module/config/config.php
index 4488d8ad..b5b5348c 100644
--- a/core/module/config/config.php
+++ b/core/module/config/config.php
@@ -451,7 +451,11 @@ class config extends common
'twitterId' => $this->getInput('socialTwitterId'),
'youtubeId' => $this->getInput('socialYoutubeId'),
'youtubeUserId' => $this->getInput('socialYoutubeUserId'),
- 'githubId' => $this->getInput('socialGithubId')
+ 'githubId' => $this->getInput('socialGithubId'),
+ 'redditId' => $this->getInput('socialRedditId'),
+ 'twitchId' => $this->getInput('socialTwitchId'),
+ 'vimeoId' => $this->getInput('socialVimeoId'),
+ 'steamId' =>$this->getInput('socialSteamId'),
],
'smtp' => [
'enable' => $this->getInput('smtpEnable', helper::FILTER_BOOLEAN),
diff --git a/core/module/config/view/social/social.php b/core/module/config/view/social/social.php
index 3f3f27c9..e67063fd 100644
--- a/core/module/config/view/social/social.php
+++ b/core/module/config/view/social/social.php
@@ -2,7 +2,8 @@