customer-dashboard
3 years ago
admin-header.php
3 years ago
admin-index-header.php
3 years ago
admin-index-styles.php
3 years ago
admin-settings-header.php
3 years ago
admin-settings-notices.php
3 years ago
admin-settings-sidebar.php
3 years ago
admin-settings-styles.php
3 years ago
store-logo.php
3 years ago
admin-settings-notices.php
26 lines
| 1 | <?php if ( ! empty( $status ) ) : ?> |
| 2 | <style> |
| 3 | .notice { |
| 4 | margin-left: 0; |
| 5 | margin-right: 0; |
| 6 | } |
| 7 | </style> |
| 8 | <?php if ( 'unauthorized' === $status ) : ?> |
| 9 | <div class="notice notice-error is-dismissible"> |
| 10 | <p><?php esc_html_e( 'Your API key is incorrect. Please double-check it is correct and update it.', 'surecart' ); ?></p> |
| 11 | </div> |
| 12 | <?php endif; ?> |
| 13 | |
| 14 | <?php if ( 'saved' === $status ) : ?> |
| 15 | <div class="notice notice-success is-dismissible"> |
| 16 | <p><?php esc_html_e( 'Saved.', 'surecart' ); ?></p> |
| 17 | </div> |
| 18 | <?php endif; ?> |
| 19 | |
| 20 | <?php if ( 'missing' === $status ) : ?> |
| 21 | <div class="notice notice-error is-dismissible"> |
| 22 | <p><?php esc_html_e( 'Please enter an API key.', 'surecart' ); ?></p> |
| 23 | </div> |
| 24 | <?php endif; ?> |
| 25 | <?php endif; ?> |
| 26 |