| @@ -3,14 +3,16 @@ | ||
| 3 | 3 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 4 | } |
| 5 | 5 | ?> |
| 6 | 6 | <p class="frm_grid_container"> |
| 7 | - <label for="frm_currency" class="frm4 frm_form_field frm_help" title="<?php esc_attr_e( 'Select the currency to be used by Formidable globally.', 'formidable' ); ?>"> | |
| 7 | + <label for="frm_currency" class="frm4 frm_form_field frm_help"> | |
| 8 | 8 | <?php esc_html_e( 'Currency', 'formidable' ); ?> |
| 9 | + <?php FrmAppHelper::tooltip_icon( __( 'Select the currency to be used by Formidable globally.', 'formidable' ) ); ?> | |
| 9 | 10 | </label> |
| 10 | 11 | <select id="frm_currency" name="frm_currency" class="frm8 frm_form_field"> |
| 11 | 12 | <?php |
| 12 | 13 | $selected_currency = ! empty( $frm_settings->currency ) ? strtoupper( $frm_settings->currency ) : 'USD'; |
| 14 | + | |
| 13 | 15 | foreach ( $currencies as $code => $currency ) { |
| 14 | 16 | ?> |
| 15 | 17 | <option value="<?php echo esc_attr( $code ); ?>"<?php selected( $selected_currency, strtoupper( $code ) ); ?>> |
| 16 | 18 | <?php echo esc_html( $currency['name'] . ' (' . $code . ')' ); ?> |