@@ 528-536 (lines=9) @@ | ||
525 | class Share_Email extends Sharing_Source { |
|
526 | public $shortname = 'email'; |
|
527 | public $icon = '\f410'; |
|
528 | public function __construct( $id, array $settings ) { |
|
529 | parent::__construct( $id, $settings ); |
|
530 | ||
531 | if ( 'official' == $this->button_style ) { |
|
532 | $this->smart = true; |
|
533 | } else { |
|
534 | $this->smart = false; |
|
535 | } |
|
536 | } |
|
537 | ||
538 | public function get_name() { |
|
539 | return _x( 'Email', 'as sharing source', 'jetpack' ); |
|
@@ 724-732 (lines=9) @@ | ||
721 | // 'https://dev.twitter.com/rest/reference/get/help/configuration' ( 2015/02/06 ) short_url_length is 22, short_url_length_https is 23 |
|
722 | public $short_url_length = 24; |
|
723 | ||
724 | public function __construct( $id, array $settings ) { |
|
725 | parent::__construct( $id, $settings ); |
|
726 | ||
727 | if ( 'official' == $this->button_style ) { |
|
728 | $this->smart = true; |
|
729 | } else { |
|
730 | $this->smart = false; |
|
731 | } |
|
732 | } |
|
733 | ||
734 | public function get_name() { |
|
735 | return __( 'Twitter', 'jetpack' ); |
|
@@ 938-946 (lines=9) @@ | ||
935 | class Share_Reddit extends Sharing_Source { |
|
936 | public $shortname = 'reddit'; |
|
937 | public $icon = '\f222'; |
|
938 | public function __construct( $id, array $settings ) { |
|
939 | parent::__construct( $id, $settings ); |
|
940 | ||
941 | if ( 'official' == $this->button_style ) { |
|
942 | $this->smart = true; |
|
943 | } else { |
|
944 | $this->smart = false; |
|
945 | } |
|
946 | } |
|
947 | ||
948 | public function get_name() { |
|
949 | return __( 'Reddit', 'jetpack' ); |
|
@@ 988-996 (lines=9) @@ | ||
985 | class Share_LinkedIn extends Sharing_Source { |
|
986 | public $shortname = 'linkedin'; |
|
987 | public $icon = '\f207'; |
|
988 | public function __construct( $id, array $settings ) { |
|
989 | parent::__construct( $id, $settings ); |
|
990 | ||
991 | if ( 'official' == $this->button_style ) { |
|
992 | $this->smart = true; |
|
993 | } else { |
|
994 | $this->smart = false; |
|
995 | } |
|
996 | } |
|
997 | ||
998 | public function get_name() { |
|
999 | return __( 'LinkedIn', 'jetpack' ); |
|
@@ 1239-1247 (lines=9) @@ | ||
1236 | class Share_Print extends Sharing_Source { |
|
1237 | public $shortname = 'print'; |
|
1238 | public $icon = '\f469'; |
|
1239 | public function __construct( $id, array $settings ) { |
|
1240 | parent::__construct( $id, $settings ); |
|
1241 | ||
1242 | if ( 'official' == $this->button_style ) { |
|
1243 | $this->smart = true; |
|
1244 | } else { |
|
1245 | $this->smart = false; |
|
1246 | } |
|
1247 | } |
|
1248 | ||
1249 | public function get_name() { |
|
1250 | return __( 'Print', 'jetpack' ); |
|
@@ 1274-1282 (lines=9) @@ | ||
1271 | class Share_PressThis extends Sharing_Source { |
|
1272 | public $shortname = 'pressthis'; |
|
1273 | public $icon = '\f205'; |
|
1274 | public function __construct( $id, array $settings ) { |
|
1275 | parent::__construct( $id, $settings ); |
|
1276 | ||
1277 | if ( 'official' == $this->button_style ) { |
|
1278 | $this->smart = true; |
|
1279 | } else { |
|
1280 | $this->smart = false; |
|
1281 | } |
|
1282 | } |
|
1283 | ||
1284 | public function get_name() { |
|
1285 | return __( 'Press This', 'jetpack' ); |
|
@@ 1555-1562 (lines=8) @@ | ||
1552 | class Share_Tumblr extends Sharing_Source { |
|
1553 | public $shortname = 'tumblr'; |
|
1554 | public $icon = '\f214'; |
|
1555 | public function __construct( $id, array $settings ) { |
|
1556 | parent::__construct( $id, $settings ); |
|
1557 | if ( 'official' == $this->button_style ) { |
|
1558 | $this->smart = true; |
|
1559 | } else { |
|
1560 | $this->smart = false; |
|
1561 | } |
|
1562 | } |
|
1563 | ||
1564 | public function get_name() { |
|
1565 | return __( 'Tumblr', 'jetpack' ); |
|
@@ 1625-1632 (lines=8) @@ | ||
1622 | public $shortname = 'pinterest'; |
|
1623 | public $icon = '\f209'; |
|
1624 | ||
1625 | public function __construct( $id, array $settings ) { |
|
1626 | parent::__construct( $id, $settings ); |
|
1627 | if ( 'official' == $this->button_style ) { |
|
1628 | $this->smart = true; |
|
1629 | } else { |
|
1630 | $this->smart = false; |
|
1631 | } |
|
1632 | } |
|
1633 | ||
1634 | public function get_name() { |
|
1635 | return __( 'Pinterest', 'jetpack' ); |
|
@@ 1808-1816 (lines=9) @@ | ||
1805 | public $shortname = 'pocket'; |
|
1806 | public $icon = '\f224'; |
|
1807 | ||
1808 | public function __construct( $id, array $settings ) { |
|
1809 | parent::__construct( $id, $settings ); |
|
1810 | ||
1811 | if ( 'official' == $this->button_style ) { |
|
1812 | $this->smart = true; |
|
1813 | } else { |
|
1814 | $this->smart = false; |
|
1815 | } |
|
1816 | } |
|
1817 | ||
1818 | public function get_name() { |
|
1819 | return __( 'Pocket', 'jetpack' ); |