mirror of
https://github.com/e107inc/e107.git
synced 2025-08-21 05:41:58 +02:00
Fixes #5160 Social plugin XURL updates.
This commit is contained in:
@@ -394,21 +394,10 @@ class social_ui extends e_admin_ui
|
||||
<tbody>
|
||||
";
|
||||
|
||||
//XXX XURL Definitions.
|
||||
$xurls = array(
|
||||
'facebook' => array('label'=>"Facebook", "placeholder"=>"eg. https://www.facebook.com/e107CMS"),
|
||||
'twitter' => array('label'=>"Twitter", "placeholder"=>"eg. https://twitter.com/e107"),
|
||||
'youtube' => array('label'=>"Youtube", "placeholder"=>"eg.https://youtube.com/e107Inc"),
|
||||
'linkedin' => array('label'=>"LinkedIn", "placeholder"=>"eg. https://www.linkedin.com/groups?home=&gid=1782682"),
|
||||
'github' => array('label'=>"GitHub", "placeholder"=>"eg. https://github.com/e107inc"),
|
||||
'flickr' => array('label'=>"Flickr", "placeholder"=>""),
|
||||
'instagram' => array('label'=>"Instagram", "placeholder"=>""),
|
||||
'pinterest' => array('label'=>"Pinterest", "placeholder"=>""),
|
||||
'steam' => array('label'=>"Steam", "placeholder"=>"eg. https://steamcommunity.com"),
|
||||
'vimeo' => array('label'=>"Vimeo", "placeholder"=>""),
|
||||
'twitch' => array('label'=>"Twitch", "placeholder"=>""),
|
||||
'vk' => array('label'=>"VK (Vkontakte)", "placeholder"=>""),
|
||||
);
|
||||
|
||||
|
||||
$json = file_get_contents(__DIR__."/xurls.json");
|
||||
$xurls = e107::unserialize($json);
|
||||
|
||||
foreach($xurls as $k=>$var)
|
||||
{
|
||||
|
Reference in New Issue
Block a user