ccontent
9 years ago
common
9 years ago
dashboard
9 years ago
optins
9 years ago
provider
9 years ago
settings
9 years ago
OLD-wpoi-wizard-design.php
9 years ago
custom-content.php
9 years ago
emails_list.php
9 years ago
listing.php
9 years ago
new-custom-content.php
9 years ago
new-free-info.php
9 years ago
new-optin_success.php
9 years ago
new-social-group.php
9 years ago
new-social-restriction.php
9 years ago
new-welcome.php
9 years ago
settings.php
9 years ago
social-groups.php
9 years ago
social-restrictions.php
9 years ago
wpoi-wizard-design-after-submit.php
9 years ago
wpoi-wizard-design-shapes.php
9 years ago
wpoi-wizard-design-structure.php
9 years ago
wpoi-wizard-design.php
9 years ago
wpoi-wizard-services.php
9 years ago
wpoi-wizard-settings.php
9 years ago
wpoi-wizard.php
9 years ago
settings.php
124 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @var Opt_In_Admin $this |
| 4 | */ |
| 5 | ?> |
| 6 | <div id="hustle-settings" class="hustle-two"> |
| 7 | |
| 8 | <div id="container"<?php if ( count( $optins ) === 0 && count( $custom_contents ) === 0 ) : ''; else : echo ' class="container-980"'; endif; ?>> |
| 9 | |
| 10 | <header id="header"> |
| 11 | |
| 12 | <h1><?php _e('SETTINGS', Opt_In::TEXT_DOMAIN); ?></h1> |
| 13 | |
| 14 | </header> |
| 15 | |
| 16 | <section> |
| 17 | |
| 18 | <?php if ( count( $optins ) === 0 && count( $custom_contents ) === 0 ) : ?> |
| 19 | |
| 20 | <div class="row"> |
| 21 | |
| 22 | <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> |
| 23 | |
| 24 | <div id="wph-woop" class="box"> |
| 25 | |
| 26 | <div class="box-title"> |
| 27 | |
| 28 | <h3><?php _e('Welcome to Settings', Opt_In::TEXT_DOMAIN); ?></h3> |
| 29 | |
| 30 | </div> |
| 31 | |
| 32 | <div class="box-content"> |
| 33 | |
| 34 | <div class="row"> |
| 35 | |
| 36 | <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3"> |
| 37 | |
| 38 | <div class="wph-howdy"></div> |
| 39 | |
| 40 | </div> |
| 41 | |
| 42 | <div class="col-xs-12 col-sm-9 col-md-9 col-lg-9"> |
| 43 | |
| 44 | <div class="content-800"> |
| 45 | |
| 46 | <h2><?php _e('Woop woop, let\'s create something first!', Opt_In::TEXT_DOMAIN); ?></h2> |
| 47 | |
| 48 | <h6><?php _e('Create an email opt-in or custom content module to manage who can see it or it\'s syncing with Newsletter plugin.', Opt_In::TEXT_DOMAIN); ?></h6> |
| 49 | |
| 50 | </div> |
| 51 | |
| 52 | </div> |
| 53 | |
| 54 | </div> |
| 55 | |
| 56 | </div> |
| 57 | |
| 58 | </div> |
| 59 | |
| 60 | </div> |
| 61 | |
| 62 | </div> |
| 63 | |
| 64 | <?php else : ?> |
| 65 | |
| 66 | <div class="row"> |
| 67 | <!-- --> |
| 68 | <!-- <section class="col-xs-12 col-sm-12 col-md-12 col-lg-6">--> |
| 69 | <!-- --> |
| 70 | <!-- <div id="providers-edit-box" class="box content-box">--> |
| 71 | <!----> |
| 72 | <!-- --><?php //$this->render( "admin/settings/providers-edit", array( |
| 73 | // "services" => $email_services, |
| 74 | // "nonce" => wp_create_nonce("hustle_edit_providers") |
| 75 | // ) ); ?> |
| 76 | <!----> |
| 77 | <!-- </div>--> |
| 78 | <!----> |
| 79 | <!-- --><?php |
| 80 | // $this->render("admin/settings/providers-edit-modal"); |
| 81 | // ?> |
| 82 | <!----> |
| 83 | <!-- </section>--> |
| 84 | |
| 85 | <section class="col-xs-12 col-sm-12 col-md-12 col-lg-6"> |
| 86 | |
| 87 | <?php if ( $is_e_newsletter_active ){ ?> |
| 88 | |
| 89 | <div id="enews-sync-box" class="box content-box"> |
| 90 | |
| 91 | <?php $this->render( "admin/settings/e-news-sync-front", array( |
| 92 | "optins" => $optins, |
| 93 | "enews_sync_state_toggle_nonce" => $enews_sync_state_toggle_nonce, |
| 94 | "enews_sync_setup_nonce" => $enews_sync_setup_nonce |
| 95 | ) ); ?> |
| 96 | |
| 97 | </div> |
| 98 | |
| 99 | <?php $this->render("admin/settings/e-news-sync-back"); ?> |
| 100 | |
| 101 | <?php } ?> |
| 102 | |
| 103 | <div class="box content-box" id="modules-activity"> |
| 104 | |
| 105 | <?php |
| 106 | $this->render( "admin/settings/modules", array( |
| 107 | "modules" => $modules, |
| 108 | "modules_state_toggle_nonce" => $modules_state_toggle_nonce |
| 109 | ) ); |
| 110 | ?> |
| 111 | |
| 112 | </div> |
| 113 | |
| 114 | </section> |
| 115 | |
| 116 | </div> |
| 117 | |
| 118 | <?php endif; ?> |
| 119 | |
| 120 | </section> |
| 121 | |
| 122 | </div> |
| 123 | |
| 124 | </div> |