<?php
// FROM HASH: a5a24dd33cd5145293dba1c1ee9b40ab
return array(
'code' => function($__templater, array $__vars, $__extensions = null)
{
	$__finalCompiled = '';
	$__templater->pageParams['pageTitle'] = $__templater->preEscaped('Force privacy policy agreement');
	$__finalCompiled .= '

';
	$__compilerTemp1 = '';
	if ($__vars['xf']['options']['privacyPolicyLastUpdate']) {
		$__compilerTemp1 .= $__templater->func('date_dynamic', array($__vars['xf']['options']['privacyPolicyLastUpdate'], array(
		)));
	} else {
		$__compilerTemp1 .= 'Never';
	}
	$__finalCompiled .= $__templater->form('
	<div class="block-container">
		<div class="block-body">
			' . $__templater->formInfoRow('
				' . 'Please confirm that you want to force all current users to accept the following:' . '
				<strong><a href="' . $__templater->escape($__vars['xf']['privacyPolicyUrl']) . '" target="_blank">' . 'Privacy policy' . ' &middot; ' . 'Last updated' . $__vars['xf']['language']['label_separator'] . ' ' . $__compilerTemp1 . '</a></strong>
			', array(
		'rowtype' => 'confirm',
	)) . '
		</div>
		' . $__templater->formSubmitRow(array(
		'icon' => 'save',
	), array(
		'rowtype' => 'simple',
	)) . '
	</div>
', array(
		'action' => $__templater->func('link', array('force-agreement/privacy-policy', ), false),
		'ajax' => 'true',
		'data-force-flash-message' => 'on',
		'class' => 'block',
	)) . '

';
	$__vars['header'] = $__templater->preEscaped('
	<div class="block-header">' . 'Options' . '</div>
');
	$__finalCompiled .= '
' . $__templater->callMacro(null, 'option_macros::option_form_block', array(
		'options' => $__vars['options'],
		'containerBeforeHtml' => $__vars['header'],
	), $__vars);
	return $__finalCompiled;
}
);