|
@@ 1073-1083 (lines=11) @@
|
| 1070 |
|
public $icon = '\f204'; |
| 1071 |
|
private $share_type = 'default'; |
| 1072 |
|
|
| 1073 |
|
public function __construct( $id, array $settings ) { |
| 1074 |
|
parent::__construct( $id, $settings ); |
| 1075 |
|
|
| 1076 |
|
if ( isset( $settings['share_type'] ) ) { |
| 1077 |
|
$this->share_type = $settings['share_type']; |
| 1078 |
|
} |
| 1079 |
|
|
| 1080 |
|
if ( 'official' == $this->button_style ) { |
| 1081 |
|
$this->smart = true; |
| 1082 |
|
} else { |
| 1083 |
|
$this->smart = false; |
| 1084 |
|
} |
| 1085 |
|
} |
| 1086 |
|
|
|
@@ 1964-1974 (lines=11) @@
|
| 1961 |
|
public $icon = '\f220'; |
| 1962 |
|
private $share_type = 'default'; |
| 1963 |
|
|
| 1964 |
|
public function __construct( $id, array $settings ) { |
| 1965 |
|
parent::__construct( $id, $settings ); |
| 1966 |
|
|
| 1967 |
|
if ( isset( $settings['share_type'] ) ) { |
| 1968 |
|
$this->share_type = $settings['share_type']; |
| 1969 |
|
} |
| 1970 |
|
|
| 1971 |
|
if ( 'official' == $this->button_style ) { |
| 1972 |
|
$this->smart = true; |
| 1973 |
|
} else { |
| 1974 |
|
$this->smart = false; |
| 1975 |
|
} |
| 1976 |
|
|
| 1977 |
|
} |