| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* The Pro Integration Prompt Class |
| 5 |
*/ |
| 6 |
class WeForms_Pro_Integration_Prompt extends WeForms_Abstract_Integration { |
| 7 |
|
| 8 |
/** |
| 9 |
* Check if it's a pro field |
| 10 |
* |
| 11 |
* @return boolean |
| 12 |
*/ |
| 13 |
public function is_pro() { |
| 14 |
return true; |
| 15 |
} |
| 16 |
} |
| 17 |
|
| 18 |
/** |
| 19 |
* Mailchimp |
| 20 |
*/ |
| 21 |
class WeForms_Pro_Integration_MailChimp extends WeForms_Pro_Integration_Prompt { |
| 22 |
|
| 23 |
function __construct() { |
| 24 |
$this->id = 'mailchimp'; |
| 25 |
$this->title = __( 'MailChimp', 'weforms' ); |
| 26 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-mailchimp.png'; |
| 27 |
} |
| 28 |
} |
| 29 |
|
| 30 |
/** |
| 31 |
* Campaign Monitor |
| 32 |
*/ |
| 33 |
class WeForms_Pro_Integration_CM extends WeForms_Pro_Integration_Prompt { |
| 34 |
|
| 35 |
function __construct() { |
| 36 |
$this->id = 'campaign-monitor'; |
| 37 |
$this->title = __( 'Campaign Monitor', 'weforms' ); |
| 38 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-campaign-monitor.png'; |
| 39 |
} |
| 40 |
} |
| 41 |
|
| 42 |
/** |
| 43 |
* Constant Contact |
| 44 |
*/ |
| 45 |
class WeForms_Pro_Integration_CC extends WeForms_Pro_Integration_Prompt { |
| 46 |
|
| 47 |
function __construct() { |
| 48 |
$this->id = 'constant-contact'; |
| 49 |
$this->title = __( 'Constant Contact', 'weforms' ); |
| 50 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-constant-contact.png'; |
| 51 |
} |
| 52 |
} |
| 53 |
|
| 54 |
|
| 55 |
/** |
| 56 |
* AWeber |
| 57 |
*/ |
| 58 |
class WeForms_Pro_Integration_AWeber extends WeForms_Pro_Integration_Prompt { |
| 59 |
|
| 60 |
function __construct() { |
| 61 |
$this->id = 'aweber'; |
| 62 |
$this->title = __( 'AWeber', 'weforms' ); |
| 63 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-aweber.png'; |
| 64 |
} |
| 65 |
} |
| 66 |
|
| 67 |
|
| 68 |
/** |
| 69 |
* ConvertKit |
| 70 |
*/ |
| 71 |
class WeForms_Pro_Integration_ConvertKit extends WeForms_Pro_Integration_Prompt { |
| 72 |
|
| 73 |
function __construct() { |
| 74 |
$this->id = 'convertkit'; |
| 75 |
$this->title = __( 'ConvertKit', 'weforms' ); |
| 76 |
$this->icon = WEFORMS_ASSET_URI . '/images/icon-convertkit.png'; |
| 77 |
} |
| 78 |
} |
| 79 |
|
| 80 |
|