@@ 373-380 (lines=8) @@ | ||
370 | class Share_Email extends Sharing_Source { |
|
371 | public $shortname = 'email'; |
|
372 | public $icon = '\f410'; |
|
373 | public function __construct( $id, array $settings ) { |
|
374 | parent::__construct( $id, $settings ); |
|
375 | ||
376 | if ( 'official' == $this->button_style ) { |
|
377 | $this->smart = true; |
|
378 | } else { |
|
379 | $this->smart = false; |
|
380 | } |
|
381 | } |
|
382 | ||
383 | public function get_name() { |
|
@@ 560-567 (lines=8) @@ | ||
557 | // 'https://dev.twitter.com/rest/reference/get/help/configuration' ( 2015/02/06 ) short_url_length is 22, short_url_length_https is 23 |
|
558 | public $short_url_length = 24; |
|
559 | ||
560 | public function __construct( $id, array $settings ) { |
|
561 | parent::__construct( $id, $settings ); |
|
562 | ||
563 | if ( 'official' == $this->button_style ) { |
|
564 | $this->smart = true; |
|
565 | } else { |
|
566 | $this->smart = false; |
|
567 | } |
|
568 | } |
|
569 | ||
570 | public function get_name() { |
|
@@ 755-762 (lines=8) @@ | ||
752 | class Share_Reddit extends Sharing_Source { |
|
753 | public $shortname = 'reddit'; |
|
754 | public $icon = '\f222'; |
|
755 | public function __construct( $id, array $settings ) { |
|
756 | parent::__construct( $id, $settings ); |
|
757 | ||
758 | if ( 'official' == $this->button_style ) { |
|
759 | $this->smart = true; |
|
760 | } else { |
|
761 | $this->smart = false; |
|
762 | } |
|
763 | } |
|
764 | ||
765 | public function get_name() { |
|
@@ 792-799 (lines=8) @@ | ||
789 | class Share_LinkedIn extends Sharing_Source { |
|
790 | public $shortname = 'linkedin'; |
|
791 | public $icon = '\f207'; |
|
792 | public function __construct( $id, array $settings ) { |
|
793 | parent::__construct( $id, $settings ); |
|
794 | ||
795 | if ( 'official' == $this->button_style ) { |
|
796 | $this->smart = true; |
|
797 | } else { |
|
798 | $this->smart = false; |
|
799 | } |
|
800 | } |
|
801 | ||
802 | public function get_name() { |
|
@@ 1003-1010 (lines=8) @@ | ||
1000 | class Share_Print extends Sharing_Source { |
|
1001 | public $shortname = 'print'; |
|
1002 | public $icon = '\f469'; |
|
1003 | public function __construct( $id, array $settings ) { |
|
1004 | parent::__construct( $id, $settings ); |
|
1005 | ||
1006 | if ( 'official' == $this->button_style ) { |
|
1007 | $this->smart = true; |
|
1008 | } else { |
|
1009 | $this->smart = false; |
|
1010 | } |
|
1011 | } |
|
1012 | ||
1013 | public function get_name() { |
|
@@ 1025-1032 (lines=8) @@ | ||
1022 | class Share_PressThis extends Sharing_Source { |
|
1023 | public $shortname = 'pressthis'; |
|
1024 | public $icon = '\f205'; |
|
1025 | public function __construct( $id, array $settings ) { |
|
1026 | parent::__construct( $id, $settings ); |
|
1027 | ||
1028 | if ( 'official' == $this->button_style ) { |
|
1029 | $this->smart = true; |
|
1030 | } else { |
|
1031 | $this->smart = false; |
|
1032 | } |
|
1033 | } |
|
1034 | ||
1035 | public function get_name() { |
|
@@ 1403-1409 (lines=7) @@ | ||
1400 | class Share_Tumblr extends Sharing_Source { |
|
1401 | public $shortname = 'tumblr'; |
|
1402 | public $icon = '\f214'; |
|
1403 | public function __construct( $id, array $settings ) { |
|
1404 | parent::__construct( $id, $settings ); |
|
1405 | if ( 'official' == $this->button_style ) { |
|
1406 | $this->smart = true; |
|
1407 | } else { |
|
1408 | $this->smart = false; |
|
1409 | } |
|
1410 | } |
|
1411 | ||
1412 | public function get_name() { |
|
@@ 1452-1458 (lines=7) @@ | ||
1449 | public $shortname = 'pinterest'; |
|
1450 | public $icon = '\f209'; |
|
1451 | ||
1452 | public function __construct( $id, array $settings ) { |
|
1453 | parent::__construct( $id, $settings ); |
|
1454 | if ( 'official' == $this->button_style ) { |
|
1455 | $this->smart = true; |
|
1456 | } else { |
|
1457 | $this->smart = false; |
|
1458 | } |
|
1459 | } |
|
1460 | ||
1461 | public function get_name() { |
|
@@ 1604-1611 (lines=8) @@ | ||
1601 | public $shortname = 'pocket'; |
|
1602 | public $icon = '\f224'; |
|
1603 | ||
1604 | public function __construct( $id, array $settings ) { |
|
1605 | parent::__construct( $id, $settings ); |
|
1606 | ||
1607 | if ( 'official' == $this->button_style ) { |
|
1608 | $this->smart = true; |
|
1609 | } else { |
|
1610 | $this->smart = false; |
|
1611 | } |
|
1612 | } |
|
1613 | ||
1614 | public function get_name() { |
|
@@ 1103-1110 (lines=8) @@ | ||
1100 | public $icon = '\f218'; |
|
1101 | private $state = false; |
|
1102 | ||
1103 | public function __construct( $id, array $settings ) { |
|
1104 | parent::__construct( $id, $settings ); |
|
1105 | ||
1106 | if ( 'official' == $this->button_style ) { |
|
1107 | $this->smart = true; |
|
1108 | } else { |
|
1109 | $this->smart = false; |
|
1110 | } |
|
1111 | } |
|
1112 | ||
1113 | public function get_name() { |