<xf:title>{{ phrase('import_data') }}</xf:title>

<xf:if is="!$xf.addOns.XFI">
	<div class="blockMessage blockMessage--important">
		{{ phrase('xenforo_importers_now_installed_as_separate_add_on_downloadable_from') }}
	</div>
</xf:if>

<xf:if is="$complete">
	<div class="blockMessage blockMessage--success blockMessage--iconic">
		{{ phrase('your_import_has_been_completed_successfully') }}
	</div>
</xf:if>

<xf:if is="$importersGrouped">
	<xf:form action="{{ link('import/config') }}" class="block">
		<div class="block-container">
			<div class="block-body">
				<xf:selectrow label="{{ phrase('import_from') }}" name="importer" size="10">
					<xf:foreach loop="$importersGrouped" key="$target" value="$importers">
						<xf:optgroup label="{{ phrase('import_target:') }} {$target}">
							<xf:foreach loop="$importers" key="$importer" value="$info">
								<xf:option value="{$importer}">{$info.source}</xf:option>
							</xf:foreach>
						</xf:optgroup>
					</xf:foreach>
				</xf:selectrow>
			</div>
			<xf:submitrow submit="{{ phrase('continue...') }}" />
		</div>
	</xf:form>
<xf:else />
	<div class="blockMessage">{{ phrase('no_importers_currently_available') }}</div>
</xf:if>