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