File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/backup/oude-site/cms/admin/templates/importer.view.tpl
{template="header"}
<script type="text/javascript" src="../javascript/admin.importer.js"></script>
{capture name=buttons}
<input type="button" name="cancel" id="cancel_button" value="{$lang.Cancel}" class="Button" style="width: 80px;" />
<input type="submit" name="next" id="next_button" value="{$lang.NextWithArrow}" class="Button" style="width: 80px;" />
{/capture}
<div class="BodyContainer">
<table class="OuterPanel">
<tr>
<td class="Intro">
<h2 class="Heading1">{$lang.importerWebsiteImporter}</h2>
<form method="post" action="index.php?section=importer&action=import" id="importerForm">
<div>{$lang.importerWebsiteImporterIntro}</div>
{template="message"}
{$buttons}<br /><br />
<table class="Panel">
<tr>
<td class="Heading2" colspan=2>{$lang.importerExistingWebsiteContent}</td>
</tr>
<tr>
<td class="FieldLabel">
<span class="Required">*</span> {$lang.importerMyWebsiteIsRunning}:
</td>
<td style="padding-bottom: 5px;">
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<td width="250"><select class="Field250" onchange="AdminImporter.changeImporter();" size="5" id="ImportSoftware" name="importer">
{foreach from=$importerList key=key item=name}
<option value="{$key}" {if $currentImporter == $key}selected="selected"{/if}>{$name}</option>
{/foreach}
</select></td>
<td valign="top">{$help.importerWebsiteScript}</td>
</tr>
</table>
<label><input type="checkbox" value="checked" name="DeleteAll" id="DeleteAll"/> {$lang.importerDeleteEverythingFirst}</label> {$help.importerDeleteEverything}
</td>
</tr>
</table>
<div style="display: none;" class="ImporterConfiguration" id="iwp45Configure"><br/>
<table class="Panel">
<tbody>
<tr>
<td colspan="2" class="Heading2">{$lang.importerIWP45Details}</td>
</tr>
<tr>
<td class="FieldLabel" style="padding-bottom: 8px;">
<span class="Required">*</span> {$lang.importerMyIWP45HomepageIs}:
</td>
<td style="padding-bottom: 8px;">
<input type="text" value="{$iwp45Path}" id="IWP45Path" class="Field250" name="iwp45_path"/> {$help.importerMyHomePage}
</td>
</tr>
</tbody>
</table>
<script type="text/javascript">
function iwp45CheckForm()
{
if($('#IWP45Path').val() == '' || $('#IWP45Path').val() == 'http://') {
alert('{$lang.importerPleaseEnterValidURL|addslashes}');
$('#IWP45Path').focus();
$('#IWP45Path').select();
return false;
}
return true;
}
$(document).ready(function() {
$('#importerForm').submit(function() {
return AdminImporter.checkSelectImporterForm();
});
AdminImporter.changeImporter();
});
</script>
</div>
<br />
<div style="padding-left: 190px;">
{$buttons}
</div>
</form>
</td></tr></table>
</div>
{template="footer"}