diff --git a/core/core.php b/core/core.php index e69b0fa1..7b1e729f 100644 --- a/core/core.php +++ b/core/core.php @@ -2160,8 +2160,12 @@ class layout extends common { break; case 'youtubeId': $socialUrl = 'https://www.youtube.com/channel/'; - $title = 'YouTube'; + $title = 'ChaƮne YouTube'; break; + case 'youtubeIdUser': + $socialUrl = 'https://www.youtube.com/user/'; + $title = 'YouTube'; + break; case 'githubId': $socialUrl = 'https://www.github.com/'; $title = 'Github'; @@ -2170,6 +2174,9 @@ class layout extends common { $socialUrl = ''; } if($socialId !== '') { + // + if ($socialName === 'youtubeIdUser') + {$socialName = 'youtubeId';} $socials .= '' . template::ico(substr($socialName, 0, -2)) . ''; } } diff --git a/core/module/config/config.php b/core/module/config/config.php index 7b95c2cc..ad34ac6e 100755 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -301,6 +301,7 @@ class config extends common { 'pinterestId' => $this->getInput('configSocialPinterestId'), 'twitterId' => $this->getInput('configSocialTwitterId'), 'youtubeId' => $this->getInput('configSocialYoutubeId'), + 'youtubeIdUser' => $this->getInput('configSocialYoutubeIdUser'), 'githubId' => $this->getInput('configSocialGithubId') ], 'timezone' => $this->getInput('configTimezone', helper::FILTER_STRING_SHORT, true), diff --git a/core/module/config/view/index/index.php b/core/module/config/view/index/index.php index 35ed1696..f962ceb8 100755 --- a/core/module/config/view/index/index.php +++ b/core/module/config/view/index/index.php @@ -114,22 +114,29 @@ 'value' => $this->getData(['config', 'social', 'instagramId']) ]); ?> -