<!-- BEGIN DYNAMIC BLOCK: noDomainsModule -->
<div class="notice notice-red">
  [l]Sorry, you must have the domains module installed to use this tool.[/l]
</div>
<!-- END DYNAMIC BLOCK: noDomainsModule -->

<!-- BEGIN DYNAMIC BLOCK: hasDomainsModule -->
<script type="text/javascript" src="../plugins/import/domains_registrar/PluginDomainsregistrar.js?version={CE_VERSION}"></script>
<!-- BEGIN DYNAMIC BLOCK: registrarDropdown -->

<div id="domains_results"></div>

<div class="blue-box" style="padding:4px !important;">
    <table class="automation">
        <tbody>
            <tr>
                <td>
                    <form id="fetchDomains" action="index.php" method="post">
                        <div>[l]Select Registrar[/l]:&nbsp;
                            <select id="selectRegistrar" name="selectRegistrar" onchange="gridstore.setBaseParam('registrar', this.options[this.selectedIndex].value); gridstore.load();">
                              <option value="--">----&nbsp;&nbsp;</option>
                              <!-- BEGIN DYNAMIC BLOCK: registrar -->
                              <option value="{REGISTRAR}">[l]{REGISTRAR}[/l]&nbsp;&nbsp;</option>
                              <!-- END DYNAMIC BLOCK: registrar -->
                            </select>
                        </div>
                     </form> 
                </td>
            </tr>
        </tbody>
    </table>
</div>

<div>
  <div id="domains-grid">
  </div>
</div>
<!-- END DYNAMIC BLOCK: registrarDropdown -->

<!-- BEGIN DYNAMIC BLOCK: noRegistrars -->
<br/>
<div class="notice notice-red">
  {noRegistrarsText}
</div>
<!-- END DYNAMIC BLOCK: noRegistrars -->

<!-- BEGIN DYNAMIC BLOCK: hasRegistrars -->
<div class="table-summary" style="margin-bottom: 10px; margin-top: 10px;">
    [l]Select a registrar from the drop-down field above to fetch a list of the domains you have registered that are not already part of ClientExec. <b>It takes approximately 5 seconds PER 100 Domains to retrieve the information from the registrar and a further 5 seconds PER DOMAIN to import.</b> [/l]<br /><br />
    [l]Once a domain is imported, you can edit from within ClientExec its contact info, name servers, initiate a domain transfer, etc.[/l]<br />
    [l]Note that when a domain is imported, if the registrant doesn't have an account in ClientExec then a new account will be created, except if the registrant's personal information is marked as private.[/l]
    [l]If you have configured a TLD with a registrar that is not listed it is most likely due to the plugin not supporting import functionality.[/l]
</div>
<!-- END DYNAMIC BLOCK: hasRegistrars -->

<!-- END DYNAMIC BLOCK: hasDomainsModule -->