| @@ -1,22 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | namespace MBSocial; |
| 3 | 3 | defined('ABSPATH') or die('No direct access permitted'); |
| 4 | 4 | |
| 5 | -/* | |
| 6 | -class blogLovingNetwork extends mbNetwork | |
| 7 | -{ | |
| 8 | - protected $network = 'blogloving'; | |
| 9 | - protected $icon = 'fa-bold'; | |
| 10 | - | |
| 11 | - | |
| 12 | - public function __construct() | |
| 13 | - { | |
| 14 | - | |
| 15 | - $this->popup = false; | |
| 16 | - } | |
| 17 | -} */ | |
| 18 | - | |
| 19 | 5 | class diggNetwork extends mbNetwork |
| 20 | 6 | { |
| 21 | 7 | protected $network = 'digg'; |
| 22 | 8 | protected $icon = 'fa-digg'; |
| @@ -49,9 +35,8 @@ | ||
| 49 | 35 | $this->share_url = 'mailto:?subject={email_subject}&body={email_content}'; |
| 50 | 36 | else { |
| 51 | 37 | $this->share_url = 'mailto:?subject={title}&body={url}'; |
| 52 | 38 | } |
| 53 | - $this->popup = false; | |
| 54 | 39 | |
| 55 | 40 | parent::__construct(); |
| 56 | 41 | |
| 57 | 42 | } |
| @@ -120,9 +105,8 @@ | ||
| 120 | 105 | public function __construct() |
| 121 | 106 | { |
| 122 | 107 | $this->label = __('Print', 'mbsocial'); |
| 123 | 108 | $this->share_url = 'javascript:window.print()'; |
| 124 | - $this->popup = false; | |
| 125 | 109 | |
| 126 | 110 | parent::__construct(); |
| 127 | 111 | |
| 128 | 112 | } |
| @@ -201,9 +185,8 @@ | ||
| 201 | 185 | protected $color = '#517fa4'; |
| 202 | 186 | |
| 203 | 187 | public function __construct() |
| 204 | 188 | { |
| 205 | - $this->popup = false; | |
| 206 | 189 | |
| 207 | 190 | $this->label = __('Follow', 'mbsocial'); |
| 208 | 191 | $this->profile_url = 'https://instagram.com/{profile}'; |
| 209 | 192 | |
| @@ -219,13 +202,12 @@ | ||
| 219 | 202 | protected $network = 'youtube'; |
| 220 | 203 | protected $priority = 'readmore'; |
| 221 | 204 | protected $icon = 'fa-youtube'; |
| 222 | 205 | protected $color = '#bb0000'; |
| 206 | + protected $is_popup = false; | |
| 223 | 207 | |
| 224 | 208 | public function __construct() |
| 225 | 209 | { |
| 226 | - $this->popup = false; | |
| 227 | - | |
| 228 | 210 | $this->label = __('View', 'mbsocial'); |
| 229 | 211 | $this->profile_url = 'https://youtube.com/{profile}'; |
| 230 | 212 | |
| 231 | 213 | parent::__construct(); |
| @@ -242,9 +224,8 @@ | ||
| 242 | 224 | protected $displayDesktop = false; |
| 243 | 225 | |
| 244 | 226 | public function __construct() |
| 245 | 227 | { |
| 246 | - $this->popup = false; | |
| 247 | 228 | $this->label = __('Follow', 'mbsocial'); |
| 248 | 229 | $this->profile_url = 'https://snapchat.com/{profile}'; |
| 249 | 230 | |
| 250 | 231 | parent::__construct(); |
| @@ -261,8 +242,9 @@ | ||
| 261 | 242 | protected $icon_type = 'fas'; |
| 262 | 243 | protected $color = '#F99000'; |
| 263 | 244 | |
| 264 | 245 | protected $share_profile = false; |
| 246 | + protected $is_popup = false; | |
| 265 | 247 | // protected $profile_placeholder = ''; |
| 266 | 248 | |
| 267 | 249 | public function __construct() |
| 268 | 250 | { |
| @@ -267,9 +249,8 @@ | ||
| 267 | 249 | public function __construct() |
| 268 | 250 | { |
| 269 | 251 | $this->nice_name = __('RSS', 'mbsocial'); |
| 270 | 252 | $this->profile_placeholder = __('Feed URL', 'mbsocial'); |
| 271 | - $this->popup = false; | |
| 272 | 253 | $this->label = __('Follow', 'mbsocial'); |
| 273 | 254 | $this->profile_url = '{profile}'; |
| 274 | 255 | parent::__construct(); |
| 275 | 256 | |
| @@ -295,9 +276,8 @@ | ||
| 295 | 276 | protected $color = '#1ab7ea'; |
| 296 | 277 | |
| 297 | 278 | public function __construct() |
| 298 | 279 | { |
| 299 | - $this->popup = false; | |
| 300 | 280 | $this->label = __('View', 'mbsocial'); |
| 301 | 281 | $this->profile_url = 'https://vimeo.com/{profile}'; |
| 302 | 282 | |
| 303 | 283 | parent::__construct(); |
| @@ -315,9 +295,8 @@ | ||
| 315 | 295 | protected $color = '#010101'; |
| 316 | 296 | |
| 317 | 297 | public function __construct() |
| 318 | 298 | { |
| 319 | - $this->popup = false; | |
| 320 | 299 | $this->nice_name = __('TikTok', 'mbsocial'); |
| 321 | 300 | $this->label = __('Follow', 'mbsocial'); |
| 322 | 301 | $this->profile_url = 'https://tiktok.com/{profile}'; |
| 323 | 302 | |
| @@ -333,12 +312,12 @@ | ||
| 333 | 312 | protected $priority = 'readmore'; |
| 334 | 313 | protected $icon = 'fa-phone'; |
| 335 | 314 | protected $icon_type = 'fas'; |
| 336 | 315 | protected $color = '#00932c'; |
| 316 | + protected $is_popup = false; | |
| 337 | 317 | |
| 338 | 318 | public function __construct() |
| 339 | 319 | { |
| 340 | - $this->popup =false; | |
| 341 | 320 | $this->nice_name = __('Phone Number', 'mbsocial'); |
| 342 | 321 | $this->label = __('Call', 'mbsocial'); |
| 343 | 322 | $this->profile_url = 'tel:{profile}'; |
| 344 | 323 | $this->profile_placeholder = __('Phone Number', 'mbsocial'); |