commons
1 month ago
dashboard
1 month ago
dialogs
1 month ago
email-lists
9 months ago
embedded
3 years ago
global
5 months ago
integrations
1 month ago
integrations-page
5 months ago
popup
3 years ago
settings
1 month ago
slidein
3 years ago
sshare
9 months ago
dashboard.php
1 month ago
entries.php
2 years ago
image-markup.php
3 years ago
integrations.php
1 month ago
settings.php
1 month ago
tutorials.php
3 years ago
upsell.php
2 years ago
widget-analytics.php
3 years ago
integrations.php
83 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Main wrapper for the Integrations page. |
| 4 | * |
| 5 | * @package Hustle |
| 6 | * @since 4.0.0 |
| 7 | */ |
| 8 | |
| 9 | ?> |
| 10 | |
| 11 | <div class="sui-header"> |
| 12 | |
| 13 | <h1 class="sui-header-title"><?php esc_html_e( 'Integrations', 'hustle' ); ?></h1> |
| 14 | <?php $this->render( 'admin/commons/view-documentation', array( 'docs_section' => 'integrations' ) ); ?> |
| 15 | </div> |
| 16 | |
| 17 | <div id="hustle-floating-notifications-wrapper" class="sui-floating-notices"></div> |
| 18 | |
| 19 | <!-- BOX: Summary --> |
| 20 | <?php $this->render( 'admin/integrations-page/summary', array( 'sui' => $sui ) ); ?> |
| 21 | |
| 22 | <div class="sui-row"> |
| 23 | |
| 24 | <!-- BOX: Connected Apps --> |
| 25 | <div class="sui-col-md-6"> |
| 26 | |
| 27 | <?php $this->render( 'admin/integrations-page/connected-apps' ); ?> |
| 28 | |
| 29 | </div> |
| 30 | |
| 31 | <!-- BOX: Available Apps --> |
| 32 | <div class="sui-col-md-6"> |
| 33 | |
| 34 | <?php $this->render( 'admin/integrations-page/available-apps' ); ?> |
| 35 | |
| 36 | </div> |
| 37 | |
| 38 | </div> |
| 39 | |
| 40 | <!-- Integrations modal --> |
| 41 | <?php $this->render( 'admin/dialogs/modal-integration' ); ?> |
| 42 | |
| 43 | <!-- Active integration remove modal --> |
| 44 | <?php $this->render( 'admin/dialogs/remove-active-integration' ); ?> |
| 45 | |
| 46 | <!-- Aweber integration migration modal --> |
| 47 | <?php $this->render( 'admin/dialogs/modal-migrate-aweber' ); ?> |
| 48 | |
| 49 | <!-- Constant Contact integration migration modal --> |
| 50 | <?php if ( Opt_In_Utils::get_hub_api_key() ) : ?> |
| 51 | <?php $this->render( 'admin/dialogs/modal-migrate-constantcontact-hub' ); ?> |
| 52 | <?php else : ?> |
| 53 | <?php $this->render( 'admin/dialogs/modal-migrate-constantcontact-non-hub' ); ?> |
| 54 | <?php endif; ?> |
| 55 | |
| 56 | <!-- Infusionsoft integration migration modal --> |
| 57 | <?php if ( Opt_In_Utils::get_hub_api_key() ) : ?> |
| 58 | <?php $this->render( 'admin/dialogs/modal-migrate-infusionsoft-hub' ); ?> |
| 59 | <?php else : ?> |
| 60 | <?php $this->render( 'admin/dialogs/modal-migrate-infusionsoft' ); ?> |
| 61 | <?php endif; ?> |
| 62 | |
| 63 | <!-- HubSpot integration migration modal --> |
| 64 | <?php if ( ! Opt_In_Utils::get_hub_api_key() ) : ?> |
| 65 | <?php $this->render( 'admin/dialogs/modal-migrate-hubspot-non-hub' ); ?> |
| 66 | <?php endif; ?> |
| 67 | |
| 68 | |
| 69 | <!-- ConvertKit integration migration modal --> |
| 70 | <?php $this->render( 'admin/dialogs/modal-migrate-convertkit' ); ?> |
| 71 | |
| 72 | <?php |
| 73 | // Global Footer. |
| 74 | $this->render( 'admin/global/sui-components/sui-footer' ); |
| 75 | ?> |
| 76 | |
| 77 | <?php |
| 78 | // DIALOG: Dissmiss migrate tracking notice modal confirmation. |
| 79 | if ( Hustle_Notifications::is_show_migrate_tracking_notice() ) { |
| 80 | $this->render( 'admin/dialogs/migrate-dismiss-confirmation' ); |
| 81 | } |
| 82 | ?> |
| 83 |