Changes to AgileBill
This commit is contained in:
@@ -1,116 +1,65 @@
|
||||
{assign var=meth value=':'|explode:$VAR._page}
|
||||
<!-- {$meth.0}:{$meth.1} -->
|
||||
|
||||
<!-- Display the form validation -->
|
||||
{if $form_validation}
|
||||
{ $block->display("core:alert_fields") }
|
||||
{$block->display('core:alert_fields')}
|
||||
{/if}
|
||||
|
||||
<!-- Display the form to collect the input values -->
|
||||
<form id="host_tld_add" name="host_tld_add" method="post" action="">
|
||||
<form id="add" method="post" action="" enctype="multipart/form-data">
|
||||
|
||||
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td width="65%" class="table_heading">
|
||||
<center>
|
||||
{translate module=host_tld}
|
||||
title_add
|
||||
{/translate}
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_tld}
|
||||
field_status
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ if $VAR.host_tld_status != ""}
|
||||
{ $list->bool("host_tld_status", $VAR.host_tld_status, "form_menu") }
|
||||
{else}
|
||||
{ $list->bool("host_tld_status", "1", "form_menu") }
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_tld}
|
||||
field_name
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_tld_name" value="{$VAR.host_tld_name}" {if $host_tld_name == true}class="form_field_error"{/if} size="12">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_tld}
|
||||
field_whois_plugin
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->menu_files("", "host_tld_whois_plugin", $VAR.host_tld_whois_plugin, "whois_plugin", "", ".php", "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_tld}
|
||||
field_registrar_plugin_id
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->menu("", "host_tld_registrar_plugin_id", "host_registrar_plugin", "name", $VAR.host_tld_registrar_plugin_id, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_tld}
|
||||
field_taxable
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->bool("host_tld_taxable", $VAR.host_tld_taxable, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_tld}
|
||||
field_auto_search
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->bool("host_tld_auto_search", $VAR.host_tld_auto_search, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_tld}
|
||||
field_default_term_new
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_tld_default_term_new" value="{$VAR.host_tld_default_term_new}" {if $host_tld_default_term_new == true}class="form_field_error"{/if} size="5">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%"> </td>
|
||||
<td width="50%">
|
||||
<input type="submit" name="Submit" value="{translate}submit{/translate}" class="form_button">
|
||||
<input type="hidden" name="_page" value="host_tld:view">
|
||||
<input type="hidden" name="_page_current" value="host_tld:add">
|
||||
<input type="hidden" name="do[]" value="host_tld:add">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td class="table_heading">{osb f=tt}</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td style="width: 35%;">{osb f=tf field=status}</td>
|
||||
<td style="width: 65%;">
|
||||
{if $VAR.host_tld_status != ''}
|
||||
{$list->bool('host_tld_status',$VAR.host_tld_status)}
|
||||
{else}
|
||||
{$list->bool('host_tld_status','1')}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td style="width: 35%;">{osb f=tf field=name}</td>
|
||||
<td style="width: 65%;"><input type="text" name="host_tld_name" value="{$VAR.host_tld_name}" {if $host_tld_name == true}class="form_field_error"{/if} size="12"/></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td style="width: 35%;">{osb f=tf field=whois_plugin}</td>
|
||||
<td style="width: 65%;">{$list->menu_files('','host_tld_whois_plugin',$VAR.host_tld_whois_plugin,'whois_plugin','','.php','form_menu')}</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td style="width: 35%;">{osb f=tf field=registrar_plugin_id}</td>
|
||||
<td style="width: 65%;">{$list->menu('','host_tld_registrar_plugin_id','host_registrar_plugin','name',$VAR.host_tld_registrar_plugin_id,'form_menu')}</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td style="width: 35%;">{osb f=tf field=taxable}</td>
|
||||
<td style="width: 65%;">{$list->bool('host_tld_taxable',$VAR.host_tld_taxable)}</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td style="width: 35%;">{osb f=tf field=auto_search}</td>
|
||||
<td style="width: 65%;">{$list->bool('host_tld_auto_search',$VAR.host_tld_auto_search)}</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td style="width: 35%;">{osb f=tf field=default_term_new}</td>
|
||||
<td style="width: 65%;"><input type="text" name="host_tld_default_term_new" value="{$VAR.host_tld_default_term_new}" {if $host_tld_default_term_new == true}class="form_field_error"{/if} size="5"/></td>
|
||||
</tr>
|
||||
{include file='file:../core/add_tr_submit.tpl'}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
@@ -1,129 +1,12 @@
|
||||
{assign var=meth value=':'|explode:$VAR._page}
|
||||
<!-- {$meth.0}:{$meth.1} -->
|
||||
|
||||
|
||||
{$method->exe("host_tld","search_show")}
|
||||
{if ($method->result == FALSE)}
|
||||
{$block->display("core:method_error")}
|
||||
{$method->exe($meth.0,$meth.1)}
|
||||
{if ($method->result == false)}
|
||||
{$block->display('core:method_error')}
|
||||
{else}
|
||||
{if $results == 1}
|
||||
{translate results=$results}search_result_count{/translate}
|
||||
{else}
|
||||
{translate results=$results}search_results_count{/translate}
|
||||
{/if}
|
||||
<BR>
|
||||
|
||||
|
||||
{literal}
|
||||
<script language="JavaScript">
|
||||
<!-- START
|
||||
var module = 'host_tld';
|
||||
{/literal}
|
||||
{if $VAR._print == TRUE}
|
||||
var p = '&_escape=y&_print=y';
|
||||
{else}
|
||||
var p = '';
|
||||
{/if}{literal}
|
||||
var IMAGE = '{/literal}{$NONSSL_IMAGE}{literal}';
|
||||
var order = '{/literal}{$order}{literal}';
|
||||
var sort1 = '{/literal}{$sort}{literal}';
|
||||
var search_id = '{/literal}{$search_id}{literal}';
|
||||
var page = {/literal}{$page}{literal};
|
||||
var pages = '{/literal}{$pages}{literal}';
|
||||
var results = '{/literal}{$results}{literal}';
|
||||
var limit = '{/literal}{$limit}{literal}';
|
||||
record_arr = new Array ({/literal}{$limit}{literal});
|
||||
var i = 0;
|
||||
// END -->
|
||||
</script>
|
||||
<SCRIPT SRC="themes/{/literal}{$THEME_NAME}{literal}/search.js"></SCRIPT>
|
||||
{/literal}
|
||||
|
||||
<!-- SHOW THE SEARCH NAVIGATION MENU -->
|
||||
<center><script language="JavaScript">document.write(search_nav_top());</script></center>
|
||||
|
||||
<!-- BEGIN THE RESULTS CONTENT AREA -->
|
||||
<div id="search_results" onKeyPress="key_handler(event);">
|
||||
<table id="main1" width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<form id="form1" name="form1" method="post" action="">
|
||||
<tr>
|
||||
<td>
|
||||
<table id="main2" width="100%" border="0" cellspacing="1" cellpadding="2">
|
||||
<!-- DISPLAY THE SEARCH HEADING -->
|
||||
<tr valign="middle" align="center" class="table_heading">
|
||||
<td width="5%" class="table_heading"> </td>
|
||||
<td width="21%" class="table_heading">
|
||||
{literal}
|
||||
<script language="JavaScript">
|
||||
document.write(search_heading('{/literal}{translate module=host_tld}field_name{/translate}{literal}','name'));
|
||||
</script>
|
||||
{/literal}
|
||||
</td>
|
||||
<td width="17%" class="table_heading">
|
||||
{literal}
|
||||
<script language="JavaScript">
|
||||
document.write(search_heading('{/literal}{translate module=host_tld}field_status{/translate}{literal}','status'));
|
||||
</script>
|
||||
{/literal}
|
||||
</td>
|
||||
<td width="20%" class="table_heading">
|
||||
{literal}
|
||||
<script language="JavaScript">
|
||||
document.write(search_heading('{/literal}{translate module=host_tld}field_whois_plugin{/translate}{literal}','whois_plugin'));
|
||||
</script>
|
||||
{/literal}
|
||||
</td>
|
||||
<td width="37%" class="table_heading">
|
||||
{literal}
|
||||
<script language="JavaScript">
|
||||
document.write(search_heading('{/literal}{translate module=host_tld}field_registrar_plugin_id{/translate}{literal}','registrar_plugin_id'));
|
||||
</script>
|
||||
{/literal}
|
||||
</td>
|
||||
<!-- LOOP THROUGH EACH RECORD -->
|
||||
{foreach from=$host_tld item=record}
|
||||
<tr id="row{$record.id}" onClick="row_sel('{$record.id}',1);" onDblClick="window.location='?_page=host_tld:view&id={$record.id},';" onMouseOver="row_mouseover('{$record.id}', 'row_mouse_over_select', 'row_mouse_over');" onMouseOut="row_mouseout('{$record.id}', '{$record._C}', 'row_select');" class="{$record._C}">
|
||||
<td align="center" width="5%">
|
||||
<input type="checkbox" name="record{$record.id}" value="{$record.id}" onClick="row_sel('{$record.id}',1,'{$record._C}');">
|
||||
</td>
|
||||
<td width="21%">
|
||||
{$record.name}
|
||||
</td>
|
||||
<td width="17%">
|
||||
{if $record.status == "1"}
|
||||
{translate}
|
||||
true
|
||||
{/translate}
|
||||
{else}
|
||||
{translate}
|
||||
false
|
||||
{/translate}
|
||||
{/if}
|
||||
</td>
|
||||
<td width="20%">
|
||||
{$record.whois_plugin}
|
||||
</td>
|
||||
<td width="37%">
|
||||
{$record.registrar_plugin_id}
|
||||
</td>
|
||||
</tr>
|
||||
{literal}
|
||||
<script language="JavaScript">row_sel('{/literal}{$record.id}{literal}', 0, '{/literal}{$record._C}{literal}'); record_arr[i] = '{/literal}{$record.id}{literal}'; i++; </script>
|
||||
{/literal}
|
||||
{/foreach}
|
||||
<!-- END OF RESULT LOOP -->
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
{if $VAR._print != TRUE}<br>
|
||||
<center>
|
||||
<input type="submit" name="Submit" value="{translate}view_edit{/translate}" onClick="mass_do('', module+':view', limit, module);" class="form_button">
|
||||
<input type="submit" name="Submit" value="{translate}delete{/translate}" onClick="mass_do('delete', module+':search_show&search_id={$search_id}&page={$page}&order_by={$order}&{$sort}', limit, module);" class="form_button">
|
||||
<input type="submit" name="Submit" value="{translate}select_all{/translate}" onClick="all_select(record_arr);" class="form_button">
|
||||
<input type="submit" name="Submit" value="{translate}deselect_all{/translate}" onClick="all_deselect(record_arr);" class="form_button">
|
||||
<input type="submit" name="Submit" value="{translate}range_select{/translate}" onClick="all_range_select(record_arr,limit);" class="form_button">
|
||||
<br>
|
||||
</center>
|
||||
{include file='file:../core/search_show_pre.tpl'}
|
||||
{$method->exe_noauth($meth.0,'tpl_search_show',$search_show)}
|
||||
{include file='file:../core/search_show_post-1.tpl'}
|
||||
{include file='file:../core/search_show_post-2.tpl'}
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
|
@@ -1,735 +1,144 @@
|
||||
{assign var=meth value=':'|explode:$VAR._page}
|
||||
<!-- {$meth.0}:{$meth.1} -->
|
||||
|
||||
{ $method->exe("host_tld","view") } { if ($method->result == FALSE) } { $block->display("core:method_error") } {else}
|
||||
{$method->exe($meth.0,$meth.1)}
|
||||
{if ($method->result == false)}
|
||||
{$block->display('core:method_error')}
|
||||
{else}
|
||||
{include file='file:../core/view_pre.tpl'}
|
||||
|
||||
{literal}
|
||||
<script src="themes/{/literal}{$THEME_NAME}{literal}/view.js"></script>
|
||||
<script language="JavaScript">
|
||||
var module = 'host_tld';
|
||||
var locations = '{/literal}{$VAR.module_id}{literal}';
|
||||
var id = '{/literal}{$VAR.id}{literal}';
|
||||
var ids = '{/literal}{$VAR.ids}{literal}';
|
||||
var array_id = id.split(",");
|
||||
var array_ids = ids.split(",");
|
||||
var num=0;
|
||||
if(array_id.length > 2) {
|
||||
document.location = '?_page='+module+':view&id='+array_id[0]+'&ids='+id;
|
||||
}else if (array_ids.length > 2) {
|
||||
document.write(view_nav_top(array_ids,id,ids));
|
||||
}
|
||||
|
||||
function delete_record(id,ids)
|
||||
{
|
||||
temp = window.confirm("{/literal}{translate}alert_delete{/translate}{literal}");
|
||||
if(temp == false) return;
|
||||
|
||||
var replace_id = id + ",";
|
||||
ids = ids.replace(replace_id, '');
|
||||
if(ids == '') {
|
||||
var url = '?_page=core:search&module=' + module + '&do[]=' + module + ':delete&delete_id=' + id + COOKIE_URL;
|
||||
window.location = url;
|
||||
return;
|
||||
} else {
|
||||
var page = 'view&id=' +ids;
|
||||
}
|
||||
|
||||
var doit = 'delete';
|
||||
var url = '?_page='+ module +':'+ page +'&do[]=' + module + ':' + doit + '&delete_id=' + id + COOKIE_URL;
|
||||
window.location = url;
|
||||
}
|
||||
// END -->
|
||||
</script>
|
||||
{/literal}
|
||||
<!-- Display the field validation -->
|
||||
{if $form_validation}
|
||||
{$block->display('core:alert_fields')}
|
||||
{/if}
|
||||
|
||||
<!-- Loop through each record -->
|
||||
{foreach from=$host_tld item=host_tld} <a name="{$host_tld.id}"></a>
|
||||
<!-- Display each record -->
|
||||
<form id="view" method="post" action='' enctype="multipart/form-data">
|
||||
|
||||
<!-- Display the field validation -->
|
||||
{if $form_validation}
|
||||
{ $block->display("core:alert_fields") }
|
||||
{/if}
|
||||
|
||||
<!-- Display each record -->
|
||||
<form name="host_tld_view" method="post" action="">
|
||||
|
||||
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td width="65%" class="table_heading">
|
||||
<center>
|
||||
{translate module=host_tld}
|
||||
title_view
|
||||
{/translate}
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_tld}
|
||||
field_status
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->bool("host_tld_status", $host_tld.status, "onChange=\"submit()\"") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_tld}
|
||||
field_name
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_tld_name" value="{$host_tld.name}" size="12">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_tld}
|
||||
field_whois_plugin
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->menu_files("", "host_tld_whois_plugin", $host_tld.whois_plugin, "whois_plugin", "", ".php", "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{assign var="ablock" value="host_whois_plugin:plugin_cfg_"}
|
||||
{assign var="afile" value=$host_tld.whois_plugin}
|
||||
{assign var="blockfile" value="$ablock$afile"}
|
||||
{ $block->display($blockfile) }
|
||||
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_tld}
|
||||
field_registrar_plugin_id
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->menu("", "host_tld_registrar_plugin_id", "host_registrar_plugin", "name", $host_tld.registrar_plugin_id, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_tld}
|
||||
field_taxable
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->bool("host_tld_taxable", $host_tld.taxable, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_tld}
|
||||
field_auto_search
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->bool("host_tld_auto_search", $host_tld.auto_search, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_tld}
|
||||
field_default_term_new
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="host_tld_default_term_new" value="{$host_tld.default_term_new}" size="5">
|
||||
{$list->unserial($host_tld.price_group, "price")}
|
||||
</td>
|
||||
<td>
|
||||
<div align="right">
|
||||
<input type="submit" name="Submit22" value="{translate}submit{/translate}" class="form_button">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td class="table_heading"> <b>
|
||||
{translate module=host_tld}
|
||||
parking
|
||||
{/translate}
|
||||
|
||||
{ $list->bool("host_tld_price_group[0][show]", $price[0].show, "form_menu") }
|
||||
</b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
{ if ($list->smarty_array("group","name"," AND pricing='1' ", "group_array")) }
|
||||
{/if}
|
||||
{foreach from=$group_array item=arr}
|
||||
{assign var="idx" value=$arr.id}
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b>
|
||||
{$arr.name}
|
||||
</b> </td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[0][{$arr.id}][register]" value="{$price[0][$idx].register}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%"> </td>
|
||||
<td width="20%"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
{/foreach}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td class="table_heading"> <b>
|
||||
{translate module=host_tld}
|
||||
year1
|
||||
{/translate}
|
||||
|
||||
{ $list->bool("host_tld_price_group[1][show]", $price[1].show, "form_menu") }
|
||||
</b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b> </b> </td>
|
||||
<td width="20%"> Registrations</td>
|
||||
<td width="20%"> Renewals</td>
|
||||
<td width="20%"> Transfers</td>
|
||||
</tr>
|
||||
</table>
|
||||
{foreach from=$group_array item=arr}
|
||||
{assign var="idx" value=$arr.id}
|
||||
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b>
|
||||
{$arr.name}
|
||||
</b> </td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[1][{$arr.id}][register]" value="{$price[1][$idx].register}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[1][{$arr.id}][renew]" value="{$price[1][$idx].renew}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[1][{$arr.id}][transfer]" value="{$price[1][$idx].transfer}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/foreach}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td class="table_heading"> <b>
|
||||
{translate module=host_tld}
|
||||
year2
|
||||
{/translate}
|
||||
|
||||
{ $list->bool("host_tld_price_group[2][show]", $price[2].show, "form_menu") }
|
||||
</b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b> </b> </td>
|
||||
<td width="20%"> Registrations</td>
|
||||
<td width="20%"> Renewals</td>
|
||||
<td width="20%"> Transfers</td>
|
||||
</tr>
|
||||
</table>
|
||||
{foreach from=$group_array item=arr}
|
||||
{assign var="idx" value=$arr.id}
|
||||
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b>
|
||||
{$arr.name}
|
||||
</b> </td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[2][{$arr.id}][register]" value="{$price[2][$idx].register}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[2][{$arr.id}][renew]" value="{$price[2][$idx].renew}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[2][{$arr.id}][transfer]" value="{$price[2][$idx].transfer}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td class="table_heading"> <b>
|
||||
{translate module=host_tld}
|
||||
year3
|
||||
{/translate}
|
||||
|
||||
{ $list->bool("host_tld_price_group[3][show]", $price[3].show, "form_menu") }
|
||||
</b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b> </b> </td>
|
||||
<td width="20%"> Registrations</td>
|
||||
<td width="20%"> Renewals</td>
|
||||
<td width="20%"> Transfers</td>
|
||||
</tr>
|
||||
</table>
|
||||
{foreach from=$group_array item=arr}
|
||||
{assign var="idx" value=$arr.id}
|
||||
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b>
|
||||
{$arr.name}
|
||||
</b> </td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[3][{$arr.id}][register]" value="{$price[3][$idx].register}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[3][{$arr.id}][renew]" value="{$price[3][$idx].renew}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[3][{$arr.id}][transfer]" value="{$price[3][$idx].transfer}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/foreach}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td class="table_heading"> <b>
|
||||
{translate module=host_tld}
|
||||
year4
|
||||
{/translate}
|
||||
|
||||
{ $list->bool("host_tld_price_group[4][show]", $price[4].show, "form_menu") }
|
||||
</b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b> </b> </td>
|
||||
<td width="20%"> Registrations</td>
|
||||
<td width="20%"> Renewals</td>
|
||||
<td width="20%"> Transfers</td>
|
||||
</tr>
|
||||
</table>
|
||||
{foreach from=$group_array item=arr}
|
||||
{assign var="idx" value=$arr.id}
|
||||
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b>
|
||||
{$arr.name}
|
||||
</b> </td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[4][{$arr.id}][register]" value="{$price[4][$idx].register}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[4][{$arr.id}][renew]" value="{$price[4][$idx].renew}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[4][{$arr.id}][transfer]" value="{$price[4][$idx].transfer}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td class="table_heading"> <b>
|
||||
{translate module=host_tld}
|
||||
year5
|
||||
{/translate}
|
||||
|
||||
{ $list->bool("host_tld_price_group[5][show]", $price[5].show, "form_menu") }
|
||||
</b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b> </b> </td>
|
||||
<td width="20%"> Registrations</td>
|
||||
<td width="20%"> Renewals</td>
|
||||
<td width="20%"> Transfers</td>
|
||||
</tr>
|
||||
</table>
|
||||
{foreach from=$group_array item=arr}
|
||||
{assign var="idx" value=$arr.id}
|
||||
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b>
|
||||
{$arr.name}
|
||||
</b> </td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[5][{$arr.id}][register]" value="{$price[5][$idx].register}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[5][{$arr.id}][renew]" value="{$price[5][$idx].renew}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[5][{$arr.id}][transfer]" value="{$price[5][$idx].transfer}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td class="table_heading"> <b>
|
||||
{translate module=host_tld}
|
||||
year6
|
||||
{/translate}
|
||||
|
||||
{ $list->bool("host_tld_price_group[6][show]", $price[6].show, "form_menu") }
|
||||
</b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b> </b> </td>
|
||||
<td width="20%"> Registrations</td>
|
||||
<td width="20%"> Renewals</td>
|
||||
<td width="20%"> Transfers</td>
|
||||
</tr>
|
||||
</table>
|
||||
{foreach from=$group_array item=arr}
|
||||
{assign var="idx" value=$arr.id}
|
||||
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b>
|
||||
{$arr.name}
|
||||
</b> </td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[6][{$arr.id}][register]" value="{$price[6][$idx].register}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[6][{$arr.id}][renew]" value="{$price[6][$idx].renew}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[6][{$arr.id}][transfer]" value="{$price[6][$idx].transfer}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1"><b> </b>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td class="table_heading"> <b>
|
||||
{translate module=host_tld}
|
||||
year7
|
||||
{/translate}
|
||||
|
||||
{ $list->bool("host_tld_price_group[7][show]", $price[7].show, "form_menu") }
|
||||
</b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b> </b> </td>
|
||||
<td width="20%"> Registrations</td>
|
||||
<td width="20%"> Renewals</td>
|
||||
<td width="20%"> Transfers</td>
|
||||
</tr>
|
||||
</table>
|
||||
{foreach from=$group_array item=arr}
|
||||
{assign var="idx" value=$arr.id}
|
||||
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b>
|
||||
{$arr.name}
|
||||
</b> </td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[7][{$arr.id}][register]" value="{$price[7][$idx].register}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[7][{$arr.id}][renew]" value="{$price[7][$idx].renew}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[7][{$arr.id}][transfer]" value="{$price[7][$idx].transfer}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1"><b> </b>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td class="table_heading"> <b>
|
||||
{translate module=host_tld}
|
||||
year8
|
||||
{/translate}
|
||||
|
||||
{ $list->bool("host_tld_price_group[8][show]", $price[8].show, "form_menu") }
|
||||
</b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b> </b> </td>
|
||||
<td width="20%"> Registrations</td>
|
||||
<td width="20%"> Renewals</td>
|
||||
<td width="20%"> Transfers</td>
|
||||
</tr>
|
||||
</table>
|
||||
{foreach from=$group_array item=arr}
|
||||
{assign var="idx" value=$arr.id}
|
||||
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b>
|
||||
{$arr.name}
|
||||
</b> </td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[8][{$arr.id}][register]" value="{$price[8][$idx].register}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[8][{$arr.id}][renew]" value="{$price[8][$idx].renew}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[8][{$arr.id}][transfer]" value="{$price[8][$idx].transfer}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1"><b> </b>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td class="table_heading"> <b>
|
||||
{translate module=host_tld}
|
||||
year9
|
||||
{/translate}
|
||||
|
||||
{ $list->bool("host_tld_price_group[9][show]", $price[9].show, "form_menu") }
|
||||
</b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b> </b> </td>
|
||||
<td width="20%"> Registrations</td>
|
||||
<td width="20%"> Renewals</td>
|
||||
<td width="20%"> Transfers</td>
|
||||
</tr>
|
||||
</table>
|
||||
{foreach from=$group_array item=arr}
|
||||
{assign var="idx" value=$arr.id}
|
||||
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b>
|
||||
{$arr.name}
|
||||
</b> </td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[9][{$arr.id}][register]" value="{$price[9][$idx].register}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[9][{$arr.id}][renew]" value="{$price[9][$idx].renew}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[9][{$arr.id}][transfer]" value="{$price[9][$idx].transfer}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1"><b> </b>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td class="table_heading"> <b>
|
||||
{translate module=host_tld}
|
||||
year10
|
||||
{/translate}
|
||||
|
||||
{ $list->bool("host_tld_price_group[10][show]", $price[10].show, "form_menu") }
|
||||
</b> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b> </b> </td>
|
||||
<td width="20%"> Registrations</td>
|
||||
<td width="20%"> Renewals</td>
|
||||
<td width="20%"> Transfers</td>
|
||||
</tr>
|
||||
</table>
|
||||
{foreach from=$group_array item=arr}
|
||||
{assign var="idx" value=$arr.id}
|
||||
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> <b>
|
||||
{$arr.name}
|
||||
</b> </td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[10][{$arr.id}][register]" value="{$price[10][$idx].register}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[10][{$arr.id}][renew]" value="{$price[10][$idx].renew}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
<td width="20%">
|
||||
<input type="text" name="host_tld_price_group[10][{$arr.id}][transfer]" value="{$price[10][$idx].transfer}" size="5">
|
||||
{$list->currency_iso("")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/foreach}
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="33%">
|
||||
<input type="submit" name="Submit2" value="{translate}submit{/translate}" class="form_button">
|
||||
</td>
|
||||
<td width="67%">
|
||||
<div align="right">
|
||||
<input type="button" name="delete2" value="{translate}delete{/translate}" class="form_button" onClick="delete_record('{$host_tld.id}','{$VAR.id}');">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="_page" value="host_tld:view">
|
||||
<input type="hidden" name="host_tld_id" value="{$host_tld.id}">
|
||||
<input type="hidden" name="do[]" value="host_tld:update">
|
||||
<input type="hidden" name="id" value="{$VAR.id}">
|
||||
</form>
|
||||
{/foreach}
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td class="table_heading">{osb f=tt}</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">{osb f=tf field=status}</td>
|
||||
<td width="50%">{$list->bool('host_tld_status',$record.status,'onChange="submit()')}</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">{osb f=tf field=name}</td>
|
||||
<td width="50%"><input type="text" name="host_tld_name" value="{$record.name}" size="12"/></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">{osb f=tf field=whois_plugin}</td>
|
||||
<td width="50%">{$list->menu_files('','host_tld_whois_plugin',$record.whois_plugin,'whois_plugin','','.php','form_menu')}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{assign var="ablock" value="host_whois_plugin:plugin_cfg_"}
|
||||
{assign var="afile" value=$record.whois_plugin}
|
||||
{assign var="blockfile" value="$ablock$afile"}
|
||||
{$block->display($blockfile)}
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">{osb f=tf field=registrar_plugin_id}</td>
|
||||
<td width="50%">{$list->menu('','host_tld_registrar_plugin_id','host_registrar_plugin','name',$record.registrar_plugin_id,'form_menu')}</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td width="50%">{osb f=tf field=taxable}</td>
|
||||
<td width="50%">{$list->bool('host_tld_taxable',$record.taxable,'form_menu')}</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">{osb f=tf field=auto_search}</td>
|
||||
<td width="50%">{$list->bool('host_tld_auto_search',$record.auto_search,'form_menu')}</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">{osb f=tf field=default_term_new}</td>
|
||||
<td width="50%">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="host_tld_default_term_new" value="{$record.default_term_new}" size="5"/>
|
||||
{$list->unserial($record.price_group,'price')}
|
||||
</td>
|
||||
<td style="text-align: right;"><input type="submit" name="Submit" value="{t}Submit{/t}" class="form_button"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td class="table_heading"><b>{t}Offer domain parking for this TLD{/t} {$list->bool('host_tld_price_group[0][show]',$price[0].show,'form_menu')}</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{if ($list->smarty_array('group','name'," AND pricing='1' ",'group_array'))}{/if}
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
{foreach from=$group_array item=arr}
|
||||
{assign var="idx" value=$arr.id}
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="row1">
|
||||
<tr>
|
||||
<td width="30%"><b>{$arr.name}</b></td>
|
||||
<td width="20%"><input type="text" name="host_tld_price_group[0][{$arr.id}][register]" value="{$price[0][$idx].register}" size="5"/>{$list->currency_iso('')}</td>
|
||||
<td width="20%"> </td>
|
||||
<td width="20%"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
{section name=year start=1 loop=11 step=1}
|
||||
{assign var="year" value=$smarty.section.year.index}
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td class="table_heading"><b>{t}Offer purchase options for this TLD for year{/t}: {$year} {$list->bool("host_tld_price_group[$year][show]",$price[$year].show,'form_menu')}</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"> </td>
|
||||
<td width="20%">{t}Registrations{/t}</td>
|
||||
<td width="20%">{t}Renewals{/t}</td>
|
||||
<td width="20%">{t}Transfers{/t}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{foreach from=$group_array item=arr}
|
||||
{assign var="idx" value=$arr.id}
|
||||
<table width="100%" border="0" cellspacing="2" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="30%"><b>{$arr.name}</b></td>
|
||||
<td width="20%"><input type="text" name="host_tld_price_group[{$year}][{$arr.id}][register]" value="{$price[$year][$idx].register}" size="5"/>{$list->currency_iso('')}</td>
|
||||
<td width="20%"><input type="text" name="host_tld_price_group[{$year}][{$arr.id}][renew]" value="{$price[$year][$idx].renew}" size="5"/>{$list->currency_iso('')}</td>
|
||||
<td width="20%"><input type="text" name="host_tld_price_group[{$year}][{$arr.id}][transfer]" value="{$price[$year][$idx].transfer}" size="5"/>{$list->currency_iso('')}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
{/section}
|
||||
{include file='file:../core/view_tr_submit_delete.tpl'}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file='file:../core/view_post.tpl'}
|
||||
</form>
|
||||
{/if}
|
||||
|
Reference in New Issue
Block a user