| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
|
| 6 |
$field_option_count = is_array( $args['field']['options'] ) ? count( $args['field']['options'] ) : 0; |
| 7 |
?> |
| 8 |
<span class="frm-bulk-edit-link <?php echo $should_hide_bulk_edit ? 'frm_hidden' : ''; ?>"> |
| 9 |
<a href="#" title="<?php echo esc_attr( $option_title ); ?>" class="frm-h-stack frm-justify-end frm-bulk-edit-link"> |
| 10 |
<span> |
| 11 |
<?php |
| 12 |
FrmAppHelper::icon_by_class( |
| 13 |
'frmfont frm_simple_pencil_icon frm_svg24', |
| 14 |
array( |
| 15 |
'echo' => true, |
| 16 |
'aria-label' => __( 'Bulk Edit', 'formidable' ), |
| 17 |
) |
| 18 |
); |
| 19 |
?> |
| 20 |
</span> |
| 21 |
<span><?php echo esc_html( $this->get_bulk_edit_string() ); ?></span> |
| 22 |
</a> |
| 23 |
</span> |
| 24 |
|
| 25 |
<?php do_action( 'frm_add_multiple_opts_labels', $args['field'] ); ?> |
| 26 |
|
| 27 |
<span class="frm-hr frm-mb-sm"></span> |
| 28 |
|
| 29 |
<ul id="frm_field_<?php echo esc_attr( $args['field']['id'] ); ?>_opts" class="frm_sortable_field_opts frm_clear<?php echo $field_option_count > 10 ? ' frm_field_opts_list' : ''; ?> frm_add_remove" data-key="<?php echo esc_attr( $args['field']['field_key'] ); ?>"> |
| 30 |
<?php $this->show_single_option( $args ); ?> |
| 31 |
</ul> |
| 32 |
|