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