Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/http-headers/views/includes/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/http-headers/views/includes/csp-sandbox.inc.php |
<?php
$sandbox = array(
'allow-forms',
'allow-same-origin',
'allow-scripts',
'allow-popups',
'allow-modals',
'allow-downloads',
'allow-orientation-lock',
'allow-pointer-lock',
'allow-presentation',
'allow-popups-to-escape-sandbox',
'allow-top-navigation',
'allow-top-navigation-by-user-activation',
);
foreach ($sandbox as $origin)
{
?>
<p>
<input type="checkbox"
name="hh_content_security_policy_value[<?php echo $item; ?>][<?php echo $origin; ?>]"
id="csp-<?php echo $item; ?>-<?php echo $origin; ?>"
value="1"<?php echo isset($csp_value[$item][$origin]) ? ' checked' : NULL; ?>
class="http-header-value"<?php echo $content_security_policy == 1 ? NULL : ' readonly'; ?>>
<label for="csp-<?php echo $item; ?>-<?php echo $origin; ?>"><?php echo $origin; ?></label>
</p>
<?php
}
?>