common
8 years ago
commons
8 years ago
dashboard
8 years ago
embedded
8 years ago
popup
8 years ago
provider
8 years ago
settings
8 years ago
slidein
8 years ago
sshare
8 years ago
dashboard.php
8 years ago
new-free-info.php
8 years ago
new-optin_success.php
8 years ago
new-social-group.php
8 years ago
new-welcome.php
8 years ago
settings.php
8 years ago
settings.php
63 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @var Opt_In_Admin $this |
| 4 | */ |
| 5 | ?> |
| 6 | |
| 7 | <?php if ( count( $modules ) == 0 ) : ?> |
| 8 | |
| 9 | <?php $this->render( "admin/settings/welcome", array( 'user_name' => $user_name ) ); ?> |
| 10 | |
| 11 | <?php else : ?> |
| 12 | |
| 13 | <main id="wpmudev-hustle" class="wpmudev-ui wpmudev-hustle-popup-wizard-view"> |
| 14 | |
| 15 | <header id="wpmudev-hustle-title"> |
| 16 | |
| 17 | <h1><?php _e( "Settings", Opt_In::TEXT_DOMAIN ); ?></h1> |
| 18 | |
| 19 | </header> |
| 20 | |
| 21 | <section id="wpmudev-hustle-content" class="wpmudev-container"> |
| 22 | |
| 23 | <div class="wpmudev-row"> |
| 24 | |
| 25 | <div id="wpmudev-settings-activity" class="wpmudev-col col-12 col-sm-6"> |
| 26 | |
| 27 | <?php $this->render( "admin/settings/widget-modules", array( |
| 28 | "modules" => $modules, |
| 29 | "modules_state_toggle_nonce" => $modules_state_toggle_nonce |
| 30 | ) ); ?> |
| 31 | |
| 32 | </div><?php // #wpmudev-settings-activity ?> |
| 33 | |
| 34 | <?php if ( $is_e_newsletter_active ){ ?> |
| 35 | |
| 36 | <div id="wpmudev-settings-enews" class="wpmudev-col col-12 col-sm-6"> |
| 37 | |
| 38 | <div id="wpmudev-settings-widget-enews" class="wpmudev-box wpmudev-box-close"> |
| 39 | |
| 40 | <?php $this->render( "admin/settings/widget-enews", array( |
| 41 | "modules" => $modules, |
| 42 | "enews_sync_state_toggle_nonce" => $enews_sync_state_toggle_nonce, |
| 43 | "enews_sync_setup_nonce" => $enews_sync_setup_nonce, |
| 44 | "enews_double_optin_state_toggle_nonce" => $enews_double_optin_state_toggle_nonce |
| 45 | ) ); ?> |
| 46 | |
| 47 | <?php $this->render("admin/settings/widget-enews_sync"); ?> |
| 48 | |
| 49 | </div> |
| 50 | |
| 51 | </div> |
| 52 | |
| 53 | <?php } ?> |
| 54 | |
| 55 | </div><?php // .wpmudev-row ?> |
| 56 | |
| 57 | </section> |
| 58 | |
| 59 | <?php $this->render( "admin/commons/footer", array() ); ?> |
| 60 | |
| 61 | </main> |
| 62 | |
| 63 | <?php endif; ?> |