summaryrefslogtreecommitdiff
path: root/templates/wp-migrate.tpl
blob: 3da4de9c8a17a04d639f218bff430771f06cb00c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{strip}
<h1>WordPress {tr}Migration{/tr}</h1>
{formfeedback hash=$errors}
{if !empty($errorMap)}
	<p>{tr}There were the following errors with the migration:{/tr}</p>
	{foreach from=$errorMap item=errorSet}
		{formfeedback hash=$errorSet}
	{/foreach}
{/if}
{if empty($errors.success)}
{form}
	<p>{tr}In order to migrate from WordPress we need to know how your installation is configured.{/tr}</p>
	{legend legend="WordPress Settings"}
		{formlabel label="WordPress Install Direcotry" for="wp_config"}
		{forminput}
			<input type=text name="wp_config" id="wp_config" value="{$wp_config|default:"/path/to/wp/"}" width=60/>
			{formhelp note="The full path to your wordpress installation directory."}
		{/forminput}
	{/legend}
	<input type="submit" class="btn btn-default" name="migrate" value="Migrate!" />
{/form}
{/if}
{/strip}