<?php
// FROM HASH: a7669305f5190da41622a35c1b25a908
return array(
'code' => function($__templater, array $__vars, $__extensions = null)
{
	$__finalCompiled = '';
	$__templater->pageParams['pageTitle'] = $__templater->preEscaped('Email transport setup');
	$__finalCompiled .= '

';
	$__compilerTemp1 = array();
	$__compilerTemp2 = '';
	if ($__vars['option']['option_value']['smtpHost']) {
		$__compilerTemp2 .= '
							<li>' . $__templater->escape($__vars['option']['option_value']['smtpHost']) . ':' . $__templater->escape($__vars['option']['option_value']['smtpPort']) . '</li>
						';
	}
	$__compilerTemp3 = '';
	if ($__vars['option']['option_value']['smtpLoginUsername']) {
		$__compilerTemp3 .= '
							<li>' . $__templater->escape($__vars['option']['option_value']['smtpLoginUsername']) . '</li>
						';
	}
	$__compilerTemp4 = '';
	if ($__vars['option']['option_value']['smtpSsl']) {
		$__compilerTemp4 .= '
							<li>SSL/TLS</li>
						';
	}
	$__compilerTemp5 = '';
	if ($__vars['option']['option_value']['oauth'] AND ($__vars['option']['option_value']['oauth']['provider'] == 'Google')) {
		$__compilerTemp5 .= '
							<li>' . 'Google OAuth' . '</li>
						';
	}
	$__compilerTemp6 = '';
	if ($__vars['option']['option_value']['oauth'] AND ($__vars['option']['option_value']['oauth']['provider'] == 'Microsoft')) {
		$__compilerTemp6 .= '
							<li>' . 'Microsoft OAuth' . '</li>
						';
	}
	$__vars['unchangedHint'] = $__templater->preEscaped('
					<ul class="listInline listInline--bullet listInline--selfInline">
						<li>' . (($__vars['option']['option_value']['emailTransport'] == 'sendmail') ? 'PHP built-in mail system' : $__templater->filter($__vars['option']['option_value']['emailTransport'], array(array('to_upper', array()),), true)) . '</li>
						' . $__compilerTemp2 . '
						' . $__compilerTemp3 . '
						' . $__compilerTemp4 . '
						' . $__compilerTemp5 . '
						' . $__compilerTemp6 . '
					</ul>
				');
	$__compilerTemp1[] = array(
		'value' => 'unchanged',
		'label' => 'Do not change',
		'hint' => $__templater->escape($__vars['unchangedHint']),
		'_type' => 'option',
	);
	$__compilerTemp1[] = array(
		'value' => 'sendmail',
		'label' => 'PHP built-in mail system',
		'_type' => 'option',
	);
	$__compilerTemp1[] = array(
		'value' => 'smtp',
		'label' => 'SMTP',
		'_type' => 'option',
	);
	$__compilerTemp1[] = array(
		'value' => 'google',
		'label' => 'Google OAuth',
		'_type' => 'option',
	);
	$__compilerTemp1[] = array(
		'value' => 'microsoft',
		'label' => 'Microsoft OAuth',
		'_type' => 'option',
	);
	$__finalCompiled .= $__templater->form('
	<div class="block-container">
		<div class="block-body">
			' . $__templater->formRadioRow(array(
		'name' => 'new_type',
		'value' => 'unchanged',
	), $__compilerTemp1, array(
		'label' => $__templater->escape($__vars['option']['title']),
	)) . '
		</div>
		' . $__templater->formSubmitRow(array(
		'submit' => 'Continue',
	), array(
	)) . '
	</div>
', array(
		'action' => $__templater->func('link', array('options/email-transport-setup', $__vars['option'], ), false),
		'ajax' => 'true',
		'class' => 'block',
	));
	return $__finalCompiled;
}
);