@@ -3,7 +3,7 @@ |
||
| 3 | 3 | class FrmDefPostAction extends FrmFormAction { |
| 4 | 4 | public function __construct() { |
| 5 | 5 | $action_ops = FrmFormAction::default_action_opts(); |
| 6 | - $action_ops['classes'] = 'ab-icon frm_dashicon_font dashicons-before frm_show_upgrade'; |
|
| 6 | + $action_ops['classes'] = 'ab-icon frm_dashicon_font dashicons-before frm_show_upgrade'; |
|
| 7 | 7 | |
| 8 | 8 | parent::__construct( 'wppost', __( 'Create Post', 'formidable' ), $action_ops ); |
| 9 | 9 | } |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | $field_name = FrmFormsHelper::get_field_link_name( $field_type ); |
| 86 | 86 | $field_label .= ' <span>' . $field_name . '</span>'; |
| 87 | 87 | $upgrade_label = sprintf( esc_html__( '%s fields', 'formidable' ), $field_name ); |
| 88 | - ?> |
|
| 88 | + ?> |
|
| 89 | 89 | <li class="frmbutton button <?php echo esc_attr( $no_allow_class . ' frm_t' . str_replace( '|', '-', $field_key ) ) ?>" id="<?php echo esc_attr( $field_key ) ?>" data-upgrade="<?php echo esc_attr( $upgrade_label ); ?>" data-medium="builder-<?php echo esc_attr( sanitize_title( $upgrade_label ) ); ?>"> |
| 90 | 90 | <?php echo FrmAppHelper::kses( apply_filters( 'frmpro_field_links', $field_label, $id, $field_key ), array( 'a', 'i', 'span' ) ); // WPCS: XSS ok. ?> |
| 91 | 91 | </li> |
@@ -263,7 +263,7 @@ discard block |
||
| 263 | 263 | <ul class="frm_actions_list"> |
| 264 | 264 | <?php |
| 265 | 265 | |
| 266 | - //For each add-on, add an li, class, and javascript function. If active, add an additional class. |
|
| 266 | + //For each add-on, add an li, class, and javascript function. If active, add an additional class. |
|
| 267 | 267 | $included = false; |
| 268 | 268 | foreach ( $action_controls as $action_control ) { |
| 269 | 269 | $classes = ( isset( $action_control->action_options['active'] ) && $action_control->action_options['active'] ) ? 'frm_active_action ' : 'frm_inactive_action '; |
@@ -274,14 +274,14 @@ discard block |
||
| 274 | 274 | FrmAppController::include_upgrade_overlay(); |
| 275 | 275 | } |
| 276 | 276 | $upgrade_label = sprintf( esc_html__( '%s form actions', 'formidable' ), $action_control->action_options['tooltip'] ); |
| 277 | - ?> |
|
| 277 | + ?> |
|
| 278 | 278 | <li> |
| 279 | 279 | <a href="javascript:void(0)" class="frm_<?php echo esc_attr( $action_control->id_base ) ?>_action frm_bstooltip <?php echo esc_attr( $classes ); ?>" title="<?php echo esc_attr( $action_control->action_options['tooltip'] ) ?>" data-limit="<?php echo esc_attr( isset( $action_control->action_options['limit'] ) ? $action_control->action_options['limit'] : '99' ); ?>" data-actiontype="<?php echo esc_attr( $action_control->id_base ) ?>" data-upgrade="<?php echo esc_attr( $upgrade_label ); ?>" data-medium="settings-<?php echo esc_attr( $action_control->id_base ); ?>"></a> |
| 280 | 280 | </li> |
| 281 | 281 | <?php |
| 282 | 282 | unset( $actions_icon, $classes ); |
| 283 | - } |
|
| 284 | - ?> |
|
| 283 | + } |
|
| 284 | + ?> |
|
| 285 | 285 | </ul> |
| 286 | 286 | </div> |
| 287 | 287 | <div class="frm_no_actions"> |
@@ -319,10 +319,10 @@ discard block |
||
| 319 | 319 | <textarea name="field_options[custom_html_<?php echo esc_attr( $field['id'] ); ?>]" rows="7" id="custom_html_<?php echo esc_attr( $field['id'] ); ?>" class="field_custom_html frm_long_input"><?php echo FrmAppHelper::esc_textarea( $field['custom_html'] ); // WPCS: XSS ok. ?></textarea> |
| 320 | 320 | </p> |
| 321 | 321 | <?php |
| 322 | - } |
|
| 322 | + } |
|
| 323 | 323 | unset( $field ); |
| 324 | - } |
|
| 325 | - } |
|
| 324 | + } |
|
| 325 | + } |
|
| 326 | 326 | ?> |
| 327 | 327 | </div> |
| 328 | 328 | |