tab-appearance.php
3 years ago
tab-behaviour.php
5 years ago
tab-content.php
5 years ago
tab-display.php
6 years ago
tab-emails.php
6 years ago
tab-integrations.php
3 years ago
tab-visibility.php
3 years ago
tab-emails.php
55 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Main wrapper for the 'Emails' tab. |
| 4 | * |
| 5 | * @uses ../tab-emails/ |
| 6 | * |
| 7 | * @package Hustle |
| 8 | * @since 4.0.0 |
| 9 | */ |
| 10 | |
| 11 | ?> |
| 12 | <div class="sui-box" <?php echo 'emails' !== $section ? 'style="display: none;"' : ''; ?> data-tab="emails"> |
| 13 | |
| 14 | <div class="sui-box-header"> |
| 15 | |
| 16 | <h2 class="sui-box-title"><?php esc_html_e( 'Emails', 'hustle' ); ?></h2> |
| 17 | |
| 18 | </div> |
| 19 | |
| 20 | <div id="hustle-wizard-emails" class="sui-box-body"> |
| 21 | |
| 22 | <?php |
| 23 | // SETTING: Opt-in Form Fields. |
| 24 | $this->render( |
| 25 | 'admin/commons/sui-wizard/tab-emails/form-fields', |
| 26 | array( 'elements' => $settings['form_elements'] ) |
| 27 | ); |
| 28 | |
| 29 | // SETTING: Submission Behavior. |
| 30 | $this->render( |
| 31 | 'admin/commons/sui-wizard/tab-emails/submission-behaviour', |
| 32 | array( 'settings' => $settings ) |
| 33 | ); |
| 34 | |
| 35 | // SETTING: Automated Email. |
| 36 | $this->render( |
| 37 | 'admin/commons/sui-wizard/tab-emails/automated-email', |
| 38 | array( 'settings' => $settings ) |
| 39 | ); |
| 40 | ?> |
| 41 | |
| 42 | </div> |
| 43 | |
| 44 | <div class="sui-box-footer"> |
| 45 | |
| 46 | <button class="sui-button wpmudev-button-navigation" data-direction="prev"><span class="sui-icon-arrow-left" aria-hidden="true"></span> <?php esc_html_e( 'Content', 'hustle' ); ?></button> |
| 47 | |
| 48 | <div class="sui-actions-right"> |
| 49 | <button class="sui-button sui-button-icon-right wpmudev-button-navigation" data-direction="next"><?php esc_html_e( 'Integrations', 'hustle' ); ?> <span class="sui-icon-arrow-right" aria-hidden="true"></span></button> |
| 50 | </div> |
| 51 | |
| 52 | </div> |
| 53 | |
| 54 | </div> |
| 55 |