mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Instagram and Flickr added to XURLs supported.
This commit is contained in:
@@ -640,6 +640,8 @@ if(is_array($pref['xurl']))
|
||||
define('XURL_GOOGLE', vartrue($pref['xurl']['google'], false));
|
||||
define('XURL_LINKEDIN', vartrue($pref['xurl']['linkedin'], false));
|
||||
define('XURL_GITHUB', vartrue($pref['xurl']['github'], false));
|
||||
define('XURL_FLICKR', vartrue($pref['xurl']['flickr'], false));
|
||||
define('XURL_INSTAGRAM', vartrue($pref['xurl']['instagram'], false));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -647,8 +649,10 @@ else
|
||||
define('XURL_TWITTER', false);
|
||||
define('XURL_YOUTUBE', false);
|
||||
define('XURL_GOOGLE', false);
|
||||
define('XURL_LINKEDIN', false);
|
||||
define('XURL_GITHUB', false);
|
||||
define('XURL_LINKEDIN', false);
|
||||
define('XURL_GITHUB', false);
|
||||
define('XURL_FLICKR', false);
|
||||
define('XURL_INSTAGRAM', false);
|
||||
}
|
||||
|
||||
/* Withdrawn 0.8
|
||||
|
@@ -975,9 +975,11 @@ $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"),
|
||||
'google' => array('label'=>"Google+", "placeholder"=>"eg.. "),
|
||||
'google' => array('label'=>"Google+", "placeholder"=>""),
|
||||
'linkedin' => array('label'=>"LinkedIn", "placeholder"=>"eg. http://www.linkedin.com/groups?home=&gid=1782682"),
|
||||
'github' => array('label'=>"Github", "placeholder"=>"eg. https://github.com/e107inc")
|
||||
'github' => array('label'=>"Github", "placeholder"=>"eg. https://github.com/e107inc"),
|
||||
'flickr' => array('label'=>"Flickr", "placeholder"=>""),
|
||||
'instagram' => array('label'=>"Instagram", "placeholder"=>""),
|
||||
);
|
||||
|
||||
foreach($xurls as $k=>$var)
|
||||
|
Reference in New Issue
Block a user