1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +02:00

#4167 - Add Twitch and VK to Social Pages (wip)

- TODO: add CSS icons to css/fontello.css
This commit is contained in:
Moc
2020-05-18 15:17:40 +02:00
parent 1f502ce459
commit cf919afa62
3 changed files with 10 additions and 2 deletions

View File

@@ -78,10 +78,12 @@ class social_shortcodes extends e_shortcode
'instagram' => array('href'=> deftrue('XURL_INSTAGRAM'), 'title'=>'Instagram'),
'youtube' => array('href'=> deftrue('XURL_YOUTUBE'), 'title'=>'YouTube'),
'steam' => array('href'=> deftrue('XURL_STEAM'), 'title'=>'Steam'),
'vimeo' => array('href'=> deftrue('XURL_VIMEO'), 'title'=>'Vimeo')
'vimeo' => array('href'=> deftrue('XURL_VIMEO'), 'title'=>'Vimeo'),
'twitch' => array('href'=> deftrue('XURL_TWITCH'), 'title'=>'Twitch'),
'vk' => array('href'=> deftrue('XURL_VK'), 'title'=>'VK (Vkontakte)')
);
// print_a($social);
$class = (vartrue($parm['size'])) ? 'fa-'.$parm['size'] : '';