<commit_before><?php defined('CORE') OR die('403'); ?>

<label for="<?=$vars['name'];?>"><?=$vars['title'];?><?=$vars['required_str'];?></label>

<div class="input-group">
	<input
	 id="<?=$vars['name'];?>"
	 class="form-control"
	 name="<?=$vars['name'];?>"
	 type="text"
	 value="<?=$vars['output'];?>"
	 title="Enter a path to a file for &laquo;<?=$vars['title'];?>&raquo; Field here."
	 placeholder="Enter a path to a file here"
	 data-iframe-id="js_<?=$vars['name'];?>_iframe"
	 onchange="confirmLeave('on');" />
	<span
	 id="js_<?=$vars['name'];?>_btn"
	 class="input-group-addon"
	 role="button"<commit_msg>Added link to file preview for File Uploader.<commit_after><?php defined('CORE') OR die('403'); ?>

<label for="<?=$vars['name'];?>"><?=$vars['title'];?><?=$vars['required_str'];?></label>

<div class="input-group">
	<?php if( Utils::pr($vars['output']) ): ?>
		<span class="input-group-addon"><a href="<?=$vars['output'];?>" target="_blank">Open file</a></span>
	<?php endif; ?>
	<input
	 id="<?=$vars['name'];?>"
	 class="form-control"
	 name="<?=$vars['name'];?>"
	 type="text"
	 value="<?=$vars['output'];?>"
	 title="Enter a path to a file for &laquo;<?=$vars['title'];?>&raquo; Field here."
	 placeholder="Enter a path to a file here"
	 data-iframe-id="js_<?=$vars['name'];?>_iframe"
	 onchange="confirmLeave('on');" />
	<span
	 id="js_<?=$vars['name'];?>_btn"
	 class="input-group-addon"
	 role="button"
{'fraction_non_alphanumeric': 0.29634831460674155, 'fraction_numerical': 0.004213483146067416, 'mean_word_length': 6.916666666666667, 'pattern_counts': {'":': 0, '<': 40, '<?xml version=': 0, '>': 38, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4254740', 'n_tokens_mistral': 524, 'n_tokens_neox': 500, 'n_words': 90}