Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/ninja-fo.../includes/Template...
File: admin-metabox-sub-fields.html.php
<div id="nf-sub-fields">
[0] Fix | Delete
[1] Fix | Delete
<table class="nf-sub-custom-fields-table">
[2] Fix | Delete
[3] Fix | Delete
<thead>
[4] Fix | Delete
<tr>
[5] Fix | Delete
<th><?php esc_html_e( 'Field', 'ninja-forms' ); ?></th>
[6] Fix | Delete
<th><?php esc_html_e( 'Value', 'ninja-forms' ); ?></th>
[7] Fix | Delete
</tr>
[8] Fix | Delete
</thead>
[9] Fix | Delete
[10] Fix | Delete
<tbody>
[11] Fix | Delete
<?php foreach( $fields as $field ): ?>
[12] Fix | Delete
[13] Fix | Delete
<?php if( in_array( $field->get_setting( 'type' ), $hidden_field_types ) ) continue; ?>
[14] Fix | Delete
<?php if( ! isset( Ninja_Forms()->fields[ $field->get_setting( 'type' ) ] ) ) continue; ?>
[15] Fix | Delete
[16] Fix | Delete
<?php $field_class = Ninja_Forms()->fields[ $field->get_setting( 'type' ) ]; ?>
[17] Fix | Delete
<?php if( ! $field_class ) continue; ?>
[18] Fix | Delete
[19] Fix | Delete
<tr>
[20] Fix | Delete
<td><?php echo ( $field->get_setting( 'admin_label' ) ) ? $field->get_setting( 'admin_label' ) : $field->get_setting( 'label' ) ; ?></td>
[21] Fix | Delete
<td><?php echo $field_class->admin_form_element( $field->get_id(), $sub->get_field_value( $field->get_id() ) ); ?></td>
[22] Fix | Delete
</tr>
[23] Fix | Delete
[24] Fix | Delete
<?php endforeach; ?>
[25] Fix | Delete
</tbody>
[26] Fix | Delete
[27] Fix | Delete
</table>
[28] Fix | Delete
[29] Fix | Delete
<!-- TODO: Move to Style Sheet -->
[30] Fix | Delete
<style>
[31] Fix | Delete
.nf-sub-custom-fields-table {
[32] Fix | Delete
width: 100%;
[33] Fix | Delete
border-spacing: 0;
[34] Fix | Delete
}
[35] Fix | Delete
.nf-sub-custom-fields-table thead {
[36] Fix | Delete
background-color: #f1f1f1;
[37] Fix | Delete
}
[38] Fix | Delete
.nf-sub-custom-fields-table thead th {
[39] Fix | Delete
text-align: left;
[40] Fix | Delete
}
[41] Fix | Delete
.nf-sub-custom-fields-table th,
[42] Fix | Delete
.nf-sub-custom-fields-table td {
[43] Fix | Delete
padding: 10px 0 10px 10px;
[44] Fix | Delete
vertical-align: top;
[45] Fix | Delete
}
[46] Fix | Delete
.nf-sub-custom-fields-table textarea {
[47] Fix | Delete
height: 150px;
[48] Fix | Delete
}
[49] Fix | Delete
</style>
[50] Fix | Delete
[51] Fix | Delete
</div>
[52] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function