PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/views/styles/_style-options.php +16 -6 6.4 → trunk View file →
@@ -1,16 +1,26 @@
1 1 <?php
2 2 if ( ! defined( 'ABSPATH' ) ) {
3 3 die( 'You are not allowed to call this page directly.' );
4 4 }
5 +
6 +$back_button_args = FrmStylesHelper::get_style_options_back_button_args( $style, $form->id );
7 +$back_button_attr = array_intersect_key( array_filter( $back_button_args ), array_flip( array( 'id', 'href' ) ) );
5 8 ?>
6 9 <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>
10 + <a <?php FrmAppHelper::array_to_html_params( $back_button_attr, true ); ?>
11 + tabindex="0" role="button"
12 + title="<?php esc_attr_e( 'Back', 'formidable' ); ?>">
13 + <svg class="frmsvg">
14 + <use href="#frm_back"></use>
15 + </svg>
11 16 </a>
12 - <span id="frm_style_name"><?php echo esc_html( $style->post_title ); ?></span>
17 + <span id="frm_style_name"><?php echo esc_html( $back_button_args['title'] ); ?></span>
13 18 </h2>
14 -<div class="styling_settings">
19 +
20 +<div class="styling_settings <?php echo esc_attr( FrmStylesHelper::style_editor_get_wrapper_classname( 'advanced-settings' ) ); ?>">
15 21 <?php FrmStylesController::do_accordion_sections( FrmStylesController::$screen, 'side', compact( 'style', 'frm_style' ) ); ?>
22 +</div>
23 +
24 +<div class="frm-quick-settings frm_grid_container <?php echo esc_attr( FrmStylesHelper::style_editor_get_wrapper_classname( 'quick-settings' ) ); ?>">
25 + <?php require_once FrmAppHelper::plugin_path() . '/classes/views/styles/_quick-settings.php'; ?>
16 26 </div>