| @@ -1,5 +1,11 @@ | ||
| 1 | 1 | <?php |
| 2 | +/** | |
| 3 | + * CSS layout classes modal content. | |
| 4 | + * | |
| 5 | + * @package Formidable | |
| 6 | + */ | |
| 7 | + | |
| 2 | 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | 9 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 10 | } |
| 5 | 11 | ?> |
| @@ -32,12 +38,12 @@ | ||
| 32 | 38 | <div class="frm-collapse-me" role="group"> |
| 33 | 39 | <ul class="frm_code_list frm-full-hover"> |
| 34 | 40 | <?php |
| 35 | 41 | foreach ( FrmFormsHelper::css_classes() as $c => $d ) { |
| 36 | - $title = ! empty( $d ) && is_array( $d ) && isset( $d['title'] ) ? $d['title'] : ''; | |
| 42 | + $title = $d && is_array( $d ) && isset( $d['title'] ) ? $d['title'] : ''; | |
| 37 | 43 | ?> |
| 38 | 44 | <li> |
| 39 | - <a href="javascript:void(0);" data-code="<?php echo esc_attr( $c ); ?>" class="frm_insert_code show_frm_classes<?php echo esc_attr( ! empty( $title ) ? ' frm_help' : '' ); ?>" tabindex="0" <?php echo ( ! empty( $title ) ? ' title="' . esc_attr( $title ) . '"' : '' ); ?>> | |
| 45 | + <a href="javascript:void(0);" data-code="<?php echo esc_attr( $c ); ?>" class="frm_insert_code show_frm_classes<?php echo esc_attr( $title ? ' frm_help' : '' ); ?>" tabindex="0" <?php echo ( $title ? ' title="' . esc_attr( $title ) . '"' : '' ); ?>> | |
| 40 | 46 | <span><?php echo esc_html( FrmFormsHelper::style_class_label( $d, $c ) ); ?></span> |
| 41 | 47 | <span class="frm-text-grey-500"><?php echo esc_html( $c ); ?></span> |
| 42 | 48 | </a> |
| 43 | 49 | </li> |