mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Added XURLs for Vimeo and Pinterest
This commit is contained in:
@@ -651,6 +651,8 @@ if(is_array($pref['xurl']))
|
||||
define('XURL_GITHUB', vartrue($pref['xurl']['github'], false));
|
||||
define('XURL_FLICKR', vartrue($pref['xurl']['flickr'], false));
|
||||
define('XURL_INSTAGRAM', vartrue($pref['xurl']['instagram'], false));
|
||||
define('XURL_PINTEREST', vartrue($pref['xurl']['pinterest'], false));
|
||||
define('XURL_VIMEO', vartrue($pref['xurl']['vimeo'], false));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -662,6 +664,8 @@ else
|
||||
define('XURL_GITHUB', false);
|
||||
define('XURL_FLICKR', false);
|
||||
define('XURL_INSTAGRAM', false);
|
||||
define('XURL_PINTEREST', false);
|
||||
define('XURL_VIMEO', false);
|
||||
}
|
||||
|
||||
/* Withdrawn 0.8
|
||||
|
@@ -981,6 +981,8 @@ $xurls = array(
|
||||
'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"=>""),
|
||||
'vimeo' => array('label'=>"Vimeo", "placeholder"=>""),
|
||||
);
|
||||
|
||||
foreach($xurls as $k=>$var)
|
||||
|
Reference in New Issue
Block a user