<h2><tmpl_var name="list_head_txt">Import DNS records from Tupa PowerDNS controlpanel</h2>
<p><tmpl_var name="list_desc_txt"></p>

<div class="panel panel_tupa_import">
  
    <div class="pnl_formsarea">
        <fieldset class="inlineLabels"><legend>PowerDNS Tupa import</legend>
            <div class="ctrlHolder">
                <p class="label">Tupa database hostname</p>
                <div class="multiField">
                    <input id="dbhost" type="text" value="{tmpl_var name='dbhost'}" name="dbhost" />
                </div>
            </div>
            <div class="ctrlHolder">
                <p class="label">Tupa database name</p>
                <div class="multiField">
                    <input id="dbname" type="text" value="{tmpl_var name='dbname'}" name="dbname" />
                </div>
            </div>
            <div class="ctrlHolder">
                <p class="label">Tupa database user</p>
                <div class="multiField">
                    <input id="dbuser" type="text" value="{tmpl_var name='dbuser'}" name="dbuser" />
                </div>
            </div>
            <div class="ctrlHolder">
                <p class="label">Tupa database password</p>
                <div class="multiField">
                    <input id="dbpassword" type="text" value="{tmpl_var name='dbpassword'}" name="dbpassword" />
                </div>
            </div>                
        </fieldset>

        <tmpl_if name="msg">
            <div id="OKMsg"><p><tmpl_var name="msg"></p></div>
        </tmpl_if>
        <tmpl_if name="error">
            <div id="errorMsg"><h3>ERROR</h3><ol><tmpl_var name="error"></ol></div>
        </tmpl_if>

        <input type="hidden" name="id" value="{tmpl_var name='id'}">
		<input type="hidden" name="start" value="1">
            
        <div class="buttonHolder buttons">
            <button class="positive iconstxt icoPositive" type="button" value="Import" onClick="submitForm('pageForm','tools/dns_import_tupa.php');"><span>Start</span></button>
            <button class="negative iconstxt icoNegative" type="button" value="Cancel" onClick="loadContent('tools/index.php');"><span>Cancel</span></button>
        </div>
    </div>
  
</div>