Skip to content

Commit 8b8c59e

Browse files
committed
Steam XURL
Added in class2.php - XURL_STEAM Added in social\admin_config.php - Steam Community URL Added in social\e_shortcode.php - Steam XURL
1 parent a40be42 commit 8b8c59e

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

class2.php

+2
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,7 @@ function getip()
764764
define('XURL_FLICKR', vartrue($pref['xurl']['flickr'], false));
765765
define('XURL_INSTAGRAM', vartrue($pref['xurl']['instagram'], false));
766766
define('XURL_PINTEREST', vartrue($pref['xurl']['pinterest'], false));
767+
define('XURL_STEAM', vartrue($pref['xurl']['steam'], false));
767768
define('XURL_VIMEO', vartrue($pref['xurl']['vimeo'], false));
768769
}
769770
else
@@ -777,6 +778,7 @@ function getip()
777778
define('XURL_FLICKR', false);
778779
define('XURL_INSTAGRAM', false);
779780
define('XURL_PINTEREST', false);
781+
define('XURL_STEAM', false);
780782
define('XURL_VIMEO', false);
781783
}
782784

e107_plugins/social/admin_config.php

+1
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ public function configurePage()
454454
'flickr' => array('label'=>"Flickr", "placeholder"=>""),
455455
'instagram' => array('label'=>"Instagram", "placeholder"=>""),
456456
'pinterest' => array('label'=>"Pinterest", "placeholder"=>""),
457+
'steam' => array('label'=>"Steam", "placeholder"=>"eg. http://steamcommunity.com"),
457458
'vimeo' => array('label'=>"Vimeo", "placeholder"=>""),
458459
);
459460

e107_plugins/social/e_shortcode.php

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ function sc_xurl_icons($parm='')
7676
'flickr' => array('href'=> deftrue('XURL_FLICKR'), 'title'=>'Flickr'),
7777
'instagram' => array('href'=> deftrue('XURL_INSTAGRAM'), 'title'=>'Instagram'),
7878
'youtube' => array('href'=> deftrue('XURL_YOUTUBE'), 'title'=>'YouTube'),
79+
'steam' => array('href'=> deftrue('XURL_STEAM'), 'title'=>'Steam'),
7980
'vimeo' => array('href'=> deftrue('XURL_VIMEO'), 'title'=>'Vimeo')
8081
);
8182

0 commit comments

Comments
 (0)