@@ 849-859 (lines=11) @@ | ||
846 | public $genericon = '\f204'; |
|
847 | private $share_type = 'default'; |
|
848 | ||
849 | public function __construct( $id, array $settings ) { |
|
850 | parent::__construct( $id, $settings ); |
|
851 | ||
852 | if ( isset( $settings['share_type'] ) ) |
|
853 | $this->share_type = $settings['share_type']; |
|
854 | ||
855 | if ( 'official' == $this->button_style ) |
|
856 | $this->smart = true; |
|
857 | else |
|
858 | $this->smart = false; |
|
859 | } |
|
860 | ||
861 | public function get_name() { |
|
862 | return __( 'Facebook', 'jetpack' ); |
|
@@ 1610-1620 (lines=11) @@ | ||
1607 | public $genericon = '\f220'; |
|
1608 | private $share_type = 'default'; |
|
1609 | ||
1610 | public function __construct( $id, array $settings ) { |
|
1611 | parent::__construct( $id, $settings ); |
|
1612 | ||
1613 | if ( isset( $settings['share_type'] ) ) |
|
1614 | $this->share_type = $settings['share_type']; |
|
1615 | ||
1616 | if ( 'official' == $this->button_style ) |
|
1617 | $this->smart = true; |
|
1618 | else |
|
1619 | $this->smart = false; |
|
1620 | } |
|
1621 | ||
1622 | public function get_name() { |
|
1623 | return __( 'Skype', 'jetpack' ); |