| 1 |
<div class="posttypediv"> |
| 2 |
<ul class="posttype-tabs add-menu-item-tabs"> |
| 3 |
<li <?php echo ( 'default' === $current_tab ? ' class="tabs"' : '' ); ?>> |
| 4 |
<a href="<?php echo esc_url( '?page=formidable-styles&page-tab=default#tabs-panel-success-msg' ) ?>" class="nav-tab-link" data-type="tabs-panel-success-msg"><?php esc_html_e( 'Success', 'formidable' ) ?></a> |
| 5 |
</li> |
| 6 |
<li <?php echo ( 'error-msg' === $current_tab ? ' class="tabs"' : '' ); ?>> |
| 7 |
<a href="<?php echo esc_url( '?page=formidable-styles&page-tab=error-msge#page-error-msg' ) ?>" class="nav-tab-link" data-type="tabs-panel-error-msg"><?php esc_html_e( 'Error', 'formidable' ) ?></a> |
| 8 |
</li> |
| 9 |
</ul><!-- .posttype-tabs --> |
| 10 |
|
| 11 |
<div id="tabs-panel-success-msg" class="tabs-panel <?php echo esc_attr( 'default' === $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' ); ?>"> |
| 12 |
<div class="field-group field-group-border clearfix"> |
| 13 |
<label><?php esc_html_e( 'BG color', 'formidable' ) ?></label> |
| 14 |
<div class="hasPicker"> |
| 15 |
<input name="<?php echo esc_attr( $frm_style->get_field_name( 'success_bg_color' ) ) ?>" id="frm_success_bg_color" class="hex" value="<?php echo esc_attr( $style->post_content['success_bg_color'] ) ?>" type="text" /> |
| 16 |
</div> |
| 17 |
</div> |
| 18 |
<div class="field-group clearfix"> |
| 19 |
<label><?php esc_html_e( 'Border', 'formidable' ) ?></label> |
| 20 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'success_border_color' ) ) ?>" id="frm_success_border_color" class="hex" value="<?php echo esc_attr( $style->post_content['success_border_color'] ) ?>" /> |
| 21 |
</div> |
| 22 |
<div class="field-group clearfix"> |
| 23 |
<label><?php esc_html_e( 'Text', 'formidable' ) ?></label> |
| 24 |
<input name="<?php echo esc_attr( $frm_style->get_field_name( 'success_text_color' ) ) ?>" id="frm_success_text_color" class="hex" value="<?php echo esc_attr( $style->post_content['success_text_color'] ) ?>" type="text" /> |
| 25 |
</div> |
| 26 |
<div class="field-group clearfix"> |
| 27 |
<label><?php esc_html_e( 'Size', 'formidable' ) ?></label> |
| 28 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'success_font_size' ) ) ?>" id="frm_success_font_size" value="<?php echo esc_attr( $style->post_content['success_font_size'] ) ?>" size="3" /> |
| 29 |
</div> |
| 30 |
<div class="clear"></div> |
| 31 |
</div><!-- /.tabs-panel --> |
| 32 |
|
| 33 |
<div id="tabs-panel-error-msg" class="tabs-panel <?php echo esc_attr( 'error-msg' === $current_tab ? 'tabs-panel-active' : 'tabs-panel-inactive' ); ?>"> |
| 34 |
<div class="field-group field-group-border clearfix"> |
| 35 |
<label><?php esc_html_e( 'BG color', 'formidable' ) ?></label> |
| 36 |
<div class="hasPicker"> |
| 37 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'error_bg' ) ) ?>" id="frm_error_bg" class="hex" value="<?php echo esc_attr( $style->post_content['error_bg'] ) ?>" /> |
| 38 |
</div> |
| 39 |
</div> |
| 40 |
<div class="field-group clearfix"> |
| 41 |
<label><?php esc_html_e( 'Border', 'formidable' ) ?></label> |
| 42 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'error_border' ) ) ?>" id="frm_error_border" class="hex" value="<?php echo esc_attr( $style->post_content['error_border'] ) ?>" /> |
| 43 |
</div> |
| 44 |
<div class="field-group clearfix"> |
| 45 |
|
| 46 |
<label><?php esc_html_e( 'Text', 'formidable' ) ?></label> |
| 47 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'error_text' ) ) ?>" id="frm_error_text" class="hex" value="<?php echo esc_attr( $style->post_content['error_text'] ) ?>" /> |
| 48 |
</div> |
| 49 |
|
| 50 |
<div class="field-group clearfix"> |
| 51 |
<label><?php esc_html_e( 'Size', 'formidable' ) ?></label> |
| 52 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'error_font_size' ) ) ?>" id="frm_error_font_size" value="<?php echo esc_attr( $style->post_content['error_font_size'] ) ?>" size="3" /> |
| 53 |
</div> |
| 54 |
<div class="clear"></div> |
| 55 |
</div><!-- /.tabs-panel --> |
| 56 |
|
| 57 |
</div> |
| 58 |
|