Assets
1 year ago
parts
1 year ago
create-transfer.php
1 year ago
settings.php
1 year ago
transfer.php
1 year ago
settings.php
35 lines
| 1 | <div class="wrap"> |
| 2 | |
| 3 | <?php if ($data['hasAPIKeys']) : ?> |
| 4 | <div class="transferito__margin-bottom--40"> |
| 5 | <?php echo loadTemplate( 'parts/notice', [ |
| 6 | 'image' => 'system-requirements', |
| 7 | 'type' => 'warning', |
| 8 | 'messageTitle' => 'You don\'t have any API Keys!', |
| 9 | 'message' => 'Until you enter your Public and Secret API keys.<br /> You\'ll only be able to migrate sites upto 250MB.', |
| 10 | ]); ?> |
| 11 | </div> |
| 12 | <?php endif; ?> |
| 13 | |
| 14 | <div class="transferito__one-column transferito__one-column-container transferito__one-column-container--center transferito__one-column-container--no-height"> |
| 15 | |
| 16 | <div class="transferito__container"> |
| 17 | <div class="transferito-text__h1">Transferito Settings</div> |
| 18 | <div class="transferito-text__p1--regular">Enter your API keys to start using Transferito</div> |
| 19 | |
| 20 | <form class="transferito-setting_form" method="post" action="options.php"> |
| 21 | <?php |
| 22 | // This prints out all hidden setting fields |
| 23 | settings_fields( 'transferito_settings_group' ); |
| 24 | do_settings_sections( 'transferito-settings' ); |
| 25 | ?> |
| 26 | <div class="transfer-button-container"> |
| 27 | <?php submit_button('Update Settings', 'transferito-button button-primary button-large'); ?> |
| 28 | </div> |
| 29 | </form> |
| 30 | </div> |
| 31 | |
| 32 | </div> |
| 33 | |
| 34 | </div> |
| 35 |