{% set mal = vars.malware %}
<div class="row mt-3" id="ScanResultsLogs">
	<div class="col-12">

		<ul class="list-group">
			<li class="list-group-item">
				<span class="font-weight-bold">Potential Malware</span>:
				<span>
					Malware code can take any form - there's no such things as "malware coding standards".
					The malware scanner seeks out all PHP code that <em>looks like malware</em>
					so sometimes it might flag-up code that is legitimate.
				</span>
			</li>
			<li class="list-group-item">
				<span class="font-weight-bold">False-Positives</span>:
				<span>
					A <code>false positive</code> is where Shield alerts us to a potential malware file,
					but it's actually legitimate code.
					Our goal is to reduce false positive results as much as possible,
					leaving you with only true malware results.
				</span>
			</li>
			<li class="list-group-item">
				<span class="font-weight-bold">How We Reduce False Positives</span>:
				Shield uses an extensive knowledge database of <strong>millions of files</strong> from across 1000s of WordPress sites, plugins
				and themes to automatically remove false positives from your scan results so you never even see them.
			</li>
			<li class="list-group-item">
				<span class="font-weight-bold">False-Positive Confidence</span>:
				<span>
					To help with you with malware results, Shield gives all potential malware files a <em>false positive confidence score</em>.
					The higher the confidence score, the more likely the file is "okay".
					The lower the score, the less we know about the file's contents and you should
					investigate it using the links/tools in the table below.
				</span>
			</li>

			{% if flags.mal_is_restricted %}
				<li class="list-group-item list-group-item-warning">
					<span class="font-weight-bold">{{ strings.file_integrity }}:</span>
					<span>{{ strings.mal_restricted }}</span>
				</li>
			{% else %}
				{% if mal.flags.has_malware %}
					<li class="list-group-item list-group-item-danger">
						<span class="font-weight-bold">{{ strings.file_integrity }}</span>
						<span>{{ strings.files_found }}</span>
					</li>
				{% else %}
					<li class="list-group-item list-group-item-success">
						<span class="font-weight-bold">{{ strings.file_integrity }}</span>
						<span>{{ strings.no_files }}</span>
					</li>
				{% endif %}
			{% endif %}
		</ul>
	</div>

	<div class="col-12">
		<div class="row mt-3">
			{% if mal.flags.has_malware %}
				<div class="col">
					<table id="table_id-malware"
						   class="table table-striped table-bordered" style="width: 100%;"></table>
				</div>
				<script>
					jQuery( document ).ready( function () {
						jQuery( '#table_id-log' ).icwpWpsfScanTableActions(
							{
								'type': 'malware',
								'file': 'malware',
								'ajax': {
									'scanresults_action':{{ ajax.scanresults_action|raw }},
								},
								'datatables_init': {{ vars.datatables_init|raw }}
							}
						);
					} );
				</script>
			{% endif %}
		</div>
	</div>

</div>