diff --git a/bl-kernel/admin/views/edit-user.php b/bl-kernel/admin/views/edit-user.php index ba279bfa..ab46a39e 100644 --- a/bl-kernel/admin/views/edit-user.php +++ b/bl-kernel/admin/views/edit-user.php @@ -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', diff --git a/bl-kernel/admin/views/settings.php b/bl-kernel/admin/views/settings.php index ca3ef219..b0ff9031 100644 --- a/bl-kernel/admin/views/settings.php +++ b/bl-kernel/admin/views/settings.php @@ -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', diff --git a/bl-kernel/css/line-awesome/css/line-awesome-font-awesome.min.css b/bl-kernel/css/line-awesome/css/line-awesome-font-awesome.min.css old mode 100755 new mode 100644 diff --git a/bl-kernel/css/line-awesome/fonts/line-awesome.eot b/bl-kernel/css/line-awesome/fonts/line-awesome.eot old mode 100755 new mode 100644 diff --git a/bl-kernel/css/line-awesome/fonts/line-awesome.svg b/bl-kernel/css/line-awesome/fonts/line-awesome.svg old mode 100755 new mode 100644 diff --git a/bl-kernel/css/line-awesome/fonts/line-awesome.ttf b/bl-kernel/css/line-awesome/fonts/line-awesome.ttf old mode 100755 new mode 100644 diff --git a/bl-kernel/helpers/theme.class.php b/bl-kernel/helpers/theme.class.php index f2dd9393..fb1d3345 100644 --- a/bl-kernel/helpers/theme.class.php +++ b/bl-kernel/helpers/theme.class.php @@ -13,6 +13,7 @@ class Theme { 'instagram'=>'Instagram', 'codepen'=>'Codepen', 'linkedin'=>'Linkedin', + 'xing'=>'Xing', 'mastodon'=>'Mastodon', 'vk'=>'VK' ); diff --git a/bl-kernel/site.class.php b/bl-kernel/site.class.php index a42179f9..11285f82 100644 --- a/bl-kernel/site.class.php +++ b/bl-kernel/site.class.php @@ -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'); diff --git a/bl-kernel/user.class.php b/bl-kernel/user.class.php index 0a50cc35..e737c5da 100644 --- a/bl-kernel/user.class.php +++ b/bl-kernel/user.class.php @@ -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(); diff --git a/bl-themes/alternative/img/xing.svg b/bl-themes/alternative/img/xing.svg new file mode 100644 index 00000000..b7e32647 --- /dev/null +++ b/bl-themes/alternative/img/xing.svg @@ -0,0 +1 @@ +Xing icon diff --git a/bl-themes/blogx/img/xing.svg b/bl-themes/blogx/img/xing.svg new file mode 100644 index 00000000..b7e32647 --- /dev/null +++ b/bl-themes/blogx/img/xing.svg @@ -0,0 +1 @@ +Xing icon diff --git a/install.php b/install.php index b6bf0c26..192c5201 100644 --- a/install.php +++ b/install.php @@ -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'=>'' )