Add Support for the german social-network Xing

This commit is contained in:
eeagle 2020-04-17 21:28:22 +02:00
parent c1db51b1ce
commit 6be73c9776
12 changed files with 35 additions and 0 deletions

View File

@ -259,6 +259,15 @@
'tip'=>''
));
echo Bootstrap::formInputText(array(
'name'=>'xing',
'label'=>'Xing',
'value'=>$user->xing(),
'class'=>'',
'placeholder'=>'',
'tip'=>''
));
echo Bootstrap::formInputText(array(
'name'=>'mastodon',
'label'=>'Mastodon',

View File

@ -402,6 +402,15 @@
'tip'=>''
));
echo Bootstrap::formInputText(array(
'name'=>'xing',
'label'=>'Xing',
'value'=>$site->xing(),
'class'=>'',
'placeholder'=>'',
'tip'=>''
));
echo Bootstrap::formInputText(array(
'name'=>'mastodon',
'label'=>'Mastodon',

0
bl-kernel/css/line-awesome/css/line-awesome-font-awesome.min.css vendored Executable file → Normal file
View File

0
bl-kernel/css/line-awesome/fonts/line-awesome.eot Executable file → Normal file
View File

0
bl-kernel/css/line-awesome/fonts/line-awesome.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 424 KiB

After

Width:  |  Height:  |  Size: 424 KiB

0
bl-kernel/css/line-awesome/fonts/line-awesome.ttf Executable file → Normal file
View File

View File

@ -13,6 +13,7 @@ class Theme {
'instagram'=>'Instagram',
'codepen'=>'Codepen',
'linkedin'=>'Linkedin',
'xing'=>'Xing',
'mastodon'=>'Mastodon',
'vk'=>'VK'
);

View File

@ -30,6 +30,7 @@ class Site extends dbJSON {
'github'=> '',
'gitlab'=> '',
'linkedin'=> '',
'xing'=> '',
'mastodon'=> '',
'dribbble'=> '',
'vk'=> '',
@ -183,6 +184,11 @@ class Site extends dbJSON {
return $this->getField('linkedin');
}
public function xing()
{
return $this->getField('xing');
}
public function mastodon()
{
return $this->getField('mastodon');

View File

@ -140,6 +140,11 @@ class User {
return $this->getValue('linkedin');
}
public function xing()
{
return $this->getValue('xing');
}
public function mastodon()
{
return $this->getValue('mastodon');
@ -173,6 +178,7 @@ class User {
$tmp['github'] = $this->github();
$tmp['gitlab'] = $this->gitlab();
$tmp['linkedin'] = $this->linkedin();
$tmp['xing'] = $this->xing();
$tmp['mastodon'] = $this->mastodon();
$tmp['vk'] = $this->vk();
$tmp['profilePicture'] = $this->profilePicture();

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Xing icon</title><path d="M18.188 0c-.517 0-.741.325-.927.66 0 0-7.455 13.224-7.702 13.657.015.024 4.919 9.023 4.919 9.023.17.308.436.66.967.66h3.454c.211 0 .375-.078.463-.22.089-.151.089-.346-.009-.536l-4.879-8.916c-.004-.006-.004-.016 0-.022L22.139.756c.095-.191.097-.387.006-.535C22.056.078 21.894 0 21.686 0h-3.498zM3.648 4.74c-.211 0-.385.074-.473.216-.09.149-.078.339.02.531l2.34 4.05c.004.01.004.016 0 .021L1.86 16.051c-.099.188-.093.381 0 .529.085.142.239.234.45.234h3.461c.518 0 .766-.348.945-.667l3.734-6.609-2.378-4.155c-.172-.315-.434-.659-.962-.659H3.648v.016z" style="fill: rgba(255, 255, 255, 0.5);"/></svg>

After

Width:  |  Height:  |  Size: 701 B

View File

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Xing icon</title><path d="M18.188 0c-.517 0-.741.325-.927.66 0 0-7.455 13.224-7.702 13.657.015.024 4.919 9.023 4.919 9.023.17.308.436.66.967.66h3.454c.211 0 .375-.078.463-.22.089-.151.089-.346-.009-.536l-4.879-8.916c-.004-.006-.004-.016 0-.022L22.139.756c.095-.191.097-.387.006-.535C22.056.078 21.894 0 21.686 0h-3.498zM3.648 4.74c-.211 0-.385.074-.473.216-.09.149-.078.339.02.531l2.34 4.05c.004.01.004.016 0 .021L1.86 16.051c-.099.188-.093.381 0 .529.085.142.239.234.45.234h3.461c.518 0 .766-.348.945-.667l3.734-6.609-2.378-4.155c-.172-.315-.434-.659-.962-.659H3.648v.016z" style="fill: rgba(255, 255, 255, 0.5);"/></svg>

After

Width:  |  Height:  |  Size: 701 B

View File

@ -393,6 +393,7 @@ function install($adminPassword, $timezone)
'instagram'=>'',
'gitlab'=>'',
'linkedin'=>'',
'xing'=>'',
'dateFormat'=>'F j, Y',
'extremeFriendly'=>true,
'autosaveInterval'=>2,
@ -428,6 +429,7 @@ function install($adminPassword, $timezone)
'instagram'=>'',
'codepen'=>'',
'linkedin'=>'',
'xing'=>'',
'github'=>'',
'gitlab'=>''
)