| @@ -1,8 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | 3 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 4 | } |
| 5 | + | |
| 5 | 6 | $back_button_args = FrmStylesHelper::get_style_options_back_button_args( $style, $form->id ); |
| 6 | 7 | $back_button_attr = array_intersect_key( array_filter( $back_button_args ), array_flip( array( 'id', 'href' ) ) ); |
| 7 | 8 | ?> |
| 8 | 9 | <h2> |
| @@ -9,9 +10,9 @@ | ||
| 9 | 10 | <a <?php FrmAppHelper::array_to_html_params( $back_button_attr, true ); ?> |
| 10 | 11 | tabindex="0" role="button" |
| 11 | 12 | title="<?php esc_attr_e( 'Back', 'formidable' ); ?>"> |
| 12 | 13 | <svg class="frmsvg"> |
| 13 | - <use xlink:href="#frm_back"></use> | |
| 14 | + <use href="#frm_back"></use> | |
| 14 | 15 | </svg> |
| 15 | 16 | </a> |
| 16 | 17 | <span id="frm_style_name"><?php echo esc_html( $back_button_args['title'] ); ?></span> |
| 17 | 18 | </h2> |
| @@ -21,5 +22,5 @@ | ||
| 21 | 22 | </div> |
| 22 | 23 | |
| 23 | 24 | <div class="frm-quick-settings frm_grid_container <?php echo esc_attr( FrmStylesHelper::style_editor_get_wrapper_classname( 'quick-settings' ) ); ?>"> |
| 24 | 25 | <?php require_once FrmAppHelper::plugin_path() . '/classes/views/styles/_quick-settings.php'; ?> |
| 25 | -</div> | |
| 26 | +</div> | |