This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/host_tld/search_transfer.tpl
2008-11-26 14:50:40 -08:00

91 lines
3.7 KiB
Smarty

{literal}
<script language="JavaScript">
var type='transfer';
</script>
<script src="themes/default/blocks/host_tld/ajax.js" type="text/javascript"></script>
{/literal}
<table width=100% border="0" cellspacing="1" cellpadding="0" class="table_background">
<tr valign="middle" class="row2">
<td width="96%">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_heading_cart" height="25">
<tr valign="top">
<td>
{translate module=host_tld}
domain_transfer
{/translate}
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top" class="row2">
<td width="96%">
<form name="domain" method="post" action="javascript:void(0);" onSubmit="domainSearch();">
<table width="100%" border="0" cellspacing="0" cellpadding="3" class="row1">
<tr>
<td width="95%">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="13%">
<input type="text" id="domainName" name="domainName" maxlength="128" size="22" value="{$VAR.domain}">
</td>
<td width="5%">
<select id="domainTLD" name="domainTLD" >
{ if $list->smarty_array("host_tld", "name", "", "tld") }
{foreach from=$tld item=tld}
<option value="{$tld.name}"{if $VAR.tld==$tld.name} selected{/if}>
{$tld.name}
</option>
{/foreach}
{/if}
</select>
</td>
<td width="20"><a href="javascript:domainSearch();"><img src="themes/{$THEME_NAME}/images/icons/srch_16.gif" border="0" width="16" height="16"></a><b></b></td>
<td width="68%" class="body"><a href="javascript:domainSearch();"><b><u>{translate}search{/translate}</u></b></a></td>
<td width="77%"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="row1">
<div id="search" style="display:none"><b>
{translate module=host_tld}
transfer_searching
{/translate}
</b></div>
<div id="unavailable" style="display:none"><b>
{translate module=host_tld}
transfer_unavail
{/translate}
</b></div>
<div id="available" style="display:none"> <b>
{translate module=host_tld}
transfer_avail_s
{/translate}</b><br><br>
<a href="javascript:cartAdd('transfer')">
<img src="themes/{$THEME_NAME}/images/icons/cart_16.gif" border="0">
{translate module=host_tld}
transfer_cart
{/translate}
</a> </div>
<div id="instructions"> <b>
{translate module=host_tld}
register_instructions_s
{/translate}
</b> </div>
</td>
</tr>
<tr>
<td width="13%"> </td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<script language="JavaScript">
{if $VAR.domain != ""} domainSearch('transfer'); {else} {literal} try{ document.getElementById('domain').focus(); } catch(e) {} {/literal} {/if}
</script>