@@ 361-368 (lines=8) @@ | ||
358 | class Share_Email extends Sharing_Source { |
|
359 | public $shortname = 'email'; |
|
360 | public $genericon = '\f410'; |
|
361 | public function __construct( $id, array $settings ) { |
|
362 | parent::__construct( $id, $settings ); |
|
363 | ||
364 | if ( 'official' == $this->button_style ) |
|
365 | $this->smart = true; |
|
366 | else |
|
367 | $this->smart = false; |
|
368 | } |
|
369 | ||
370 | public function get_name() { |
|
371 | return _x( 'Email', 'as sharing source', 'jetpack' ); |
|
@@ 543-550 (lines=8) @@ | ||
540 | // 'https://dev.twitter.com/rest/reference/get/help/configuration' ( 2015/02/06 ) short_url_length is 22, short_url_length_https is 23 |
|
541 | public $short_url_length = 24; |
|
542 | ||
543 | public function __construct( $id, array $settings ) { |
|
544 | parent::__construct( $id, $settings ); |
|
545 | ||
546 | if ( 'official' == $this->button_style ) |
|
547 | $this->smart = true; |
|
548 | else |
|
549 | $this->smart = false; |
|
550 | } |
|
551 | ||
552 | public function get_name() { |
|
553 | return __( 'Twitter', 'jetpack' ); |
|
@@ 736-743 (lines=8) @@ | ||
733 | class Share_Reddit extends Sharing_Source { |
|
734 | public $shortname = 'reddit'; |
|
735 | public $genericon = '\f222'; |
|
736 | public function __construct( $id, array $settings ) { |
|
737 | parent::__construct( $id, $settings ); |
|
738 | ||
739 | if ( 'official' == $this->button_style ) |
|
740 | $this->smart = true; |
|
741 | else |
|
742 | $this->smart = false; |
|
743 | } |
|
744 | ||
745 | public function get_name() { |
|
746 | return __( 'Reddit', 'jetpack' ); |
|
@@ 771-778 (lines=8) @@ | ||
768 | class Share_LinkedIn extends Sharing_Source { |
|
769 | public $shortname = 'linkedin'; |
|
770 | public $genericon = '\f207'; |
|
771 | public function __construct( $id, array $settings ) { |
|
772 | parent::__construct( $id, $settings ); |
|
773 | ||
774 | if ( 'official' == $this->button_style ) |
|
775 | $this->smart = true; |
|
776 | else |
|
777 | $this->smart = false; |
|
778 | } |
|
779 | ||
780 | public function get_name() { |
|
781 | return __( 'LinkedIn', 'jetpack' ); |
|
@@ 980-987 (lines=8) @@ | ||
977 | class Share_Print extends Sharing_Source { |
|
978 | public $shortname = 'print'; |
|
979 | public $genericon = '\f469'; |
|
980 | public function __construct( $id, array $settings ) { |
|
981 | parent::__construct( $id, $settings ); |
|
982 | ||
983 | if ( 'official' == $this->button_style ) |
|
984 | $this->smart = true; |
|
985 | else |
|
986 | $this->smart = false; |
|
987 | } |
|
988 | ||
989 | public function get_name() { |
|
990 | return __( 'Print', 'jetpack' ); |
|
@@ 1001-1008 (lines=8) @@ | ||
998 | class Share_PressThis extends Sharing_Source { |
|
999 | public $shortname = 'pressthis'; |
|
1000 | public $genericon = '\f205'; |
|
1001 | public function __construct( $id, array $settings ) { |
|
1002 | parent::__construct( $id, $settings ); |
|
1003 | ||
1004 | if ( 'official' == $this->button_style ) |
|
1005 | $this->smart = true; |
|
1006 | else |
|
1007 | $this->smart = false; |
|
1008 | } |
|
1009 | ||
1010 | public function get_name() { |
|
1011 | return __( 'Press This', 'jetpack' ); |
|
@@ 1065-1072 (lines=8) @@ | ||
1062 | public $genericon = '\f218'; |
|
1063 | private $state = false; |
|
1064 | ||
1065 | public function __construct( $id, array $settings ) { |
|
1066 | parent::__construct( $id, $settings ); |
|
1067 | ||
1068 | if ( 'official' == $this->button_style ) |
|
1069 | $this->smart = true; |
|
1070 | else |
|
1071 | $this->smart = false; |
|
1072 | } |
|
1073 | ||
1074 | public function get_name() { |
|
1075 | return __( 'Google', 'jetpack' ); |
|
@@ 1351-1357 (lines=7) @@ | ||
1348 | class Share_Tumblr extends Sharing_Source { |
|
1349 | public $shortname = 'tumblr'; |
|
1350 | public $genericon = '\f214'; |
|
1351 | public function __construct( $id, array $settings ) { |
|
1352 | parent::__construct( $id, $settings ); |
|
1353 | if ( 'official' == $this->button_style ) |
|
1354 | $this->smart = true; |
|
1355 | else |
|
1356 | $this->smart = false; |
|
1357 | } |
|
1358 | ||
1359 | public function get_name() { |
|
1360 | return __( 'Tumblr', 'jetpack' ); |
|
@@ 1398-1404 (lines=7) @@ | ||
1395 | public $shortname = 'pinterest'; |
|
1396 | public $genericon = '\f209'; |
|
1397 | ||
1398 | public function __construct( $id, array $settings ) { |
|
1399 | parent::__construct( $id, $settings ); |
|
1400 | if ( 'official' == $this->button_style ) |
|
1401 | $this->smart = true; |
|
1402 | else |
|
1403 | $this->smart = false; |
|
1404 | } |
|
1405 | ||
1406 | public function get_name() { |
|
1407 | return __( 'Pinterest', 'jetpack' ); |
|
@@ 1547-1554 (lines=8) @@ | ||
1544 | public $shortname = 'pocket'; |
|
1545 | public $genericon = '\f224'; |
|
1546 | ||
1547 | public function __construct( $id, array $settings ) { |
|
1548 | parent::__construct( $id, $settings ); |
|
1549 | ||
1550 | if ( 'official' == $this->button_style ) |
|
1551 | $this->smart = true; |
|
1552 | else |
|
1553 | $this->smart = false; |
|
1554 | } |
|
1555 | ||
1556 | public function get_name() { |
|
1557 | return __( 'Pocket', 'jetpack' ); |