mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Added XURL_GITHUB to preferences.
This commit is contained in:
@@ -639,6 +639,7 @@ if(is_array($pref['xurl']))
|
||||
define('XURL_YOUTUBE', vartrue($pref['xurl']['youtube'], false));
|
||||
define('XURL_GOOGLE', vartrue($pref['xurl']['google'], false));
|
||||
define('XURL_LINKEDIN', vartrue($pref['xurl']['linkedin'], false));
|
||||
define('XURL_GITHUB', vartrue($pref['xurl']['github'], false));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -647,6 +648,7 @@ else
|
||||
define('XURL_YOUTUBE', false);
|
||||
define('XURL_GOOGLE', false);
|
||||
define('XURL_LINKEDIN', false);
|
||||
define('XURL_GITHUB', false);
|
||||
}
|
||||
|
||||
/* Withdrawn 0.8
|
||||
|
@@ -1001,7 +1001,8 @@ $xurls = array(
|
||||
'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.. "),
|
||||
'linkedin' => array('label'=>"LinkedIn", "placeholder"=>"eg. http://www.linkedin.com/groups?home=&gid=1782682")
|
||||
'linkedin' => array('label'=>"LinkedIn", "placeholder"=>"eg. http://www.linkedin.com/groups?home=&gid=1782682"),
|
||||
'github' => array('label'=>"Github", "placeholder"=>"eg. https://github.com/e107inc")
|
||||
);
|
||||
|
||||
foreach($xurls as $k=>$var)
|
||||
|
Reference in New Issue
Block a user