File: /var/www/clients/client1/web95/web/wp-content/plugins/wpai-acf-add-on/src/fields/views/file.php
<input
type="text"
placeholder=""
value="<?php echo (!is_array($current_field)) ? esc_attr( $current_field ) : esc_attr( $current_field['url'] );?>"
name="fields<?php echo $field_name;?>[<?php echo $field['key'];?>][url]"
class="text w95 widefat rad4"/>
<a
href="#help"
class="wpallimport-help"
title="<?php _e('Specify the URL to the image or file.', 'wp_all_import_acf_add_on'); ?>"
style="top:0;">?</a>
<div class="input">
<input
type="hidden"
name="fields<?php echo $field_name;?>[<?php echo $field['key'];?>][search_in_media]"
value="0"/>
<input
type="checkbox"
id="<?php echo $field_name . $field['key'] . '_search_in_media';?>"
name="fields<?php echo $field_name;?>[<?php echo $field['key'];?>][search_in_media]"
value="1" <?php echo (!empty($current_field['search_in_media'])) ? 'checked="checked"' : '';?>/>
<label
for="<?php echo $field_name . $field['key'] . '_search_in_media';?>">
<?php _e('Search through the Media Library for existing files before importing new files.', 'wp_all_import_acf_add_on'); ?></label>
<a
href="#help"
class="wpallimport-help"
title="<?php _e('If an attachment with the same file name is found in the Media Library then that file will be attached to this record instead of importing a new file. Disable this setting if your import has different files with the same file name.', 'wp_all_import_acf_add_on') ?>"
style="position: relative; top: -2px;">?</a>
</div>
<div class="input">
<input
type="hidden"
name="fields<?php echo $field_name;?>[<?php echo $field['key'];?>][search_in_files]"
value="0"/>
<input
type="checkbox"
id="<?php echo $field_name . $field['key'] . '_search_in_files';?>"
name="fields<?php echo $field_name;?>[<?php echo $field['key'];?>][search_in_files]"
value="1" <?php echo (!empty($current_field['search_in_files'])) ? 'checked="checked"' : '';?>/>
<label
for="<?php echo $field_name . $field['key'] . '_search_in_files';?>">
<?php _e('Use files currently uploaded in wp-content/uploads/wpallimport/files/', 'wp_all_import_acf_add_on'); ?></label>
</div>