{if $form_validation} { $block->display("core:alert_fields") } {/if} {$method->exe("service","add_tpl")} {if ($method->result == FALSE)} {$block->display("core:method_error")} {else} {literal} {/literal}
{translate module=service} title_add {/translate}
{translate module=service} field_account_id {/translate}
{html_select_account name="service_account_id" default=$VAR.service_account_id}
{translate module=service} field_product_id {/translate}
Select Product
{translate module=service} field_sku {/translate}
{if $product.sku != ""} {else} {/if} Clear & Configure Manually
{translate module=service} field_type {/translate}
None Group Access Product Plugin Hosting
{translate module=service} field_price_type {/translate}
{translate module=product} price_type_one {/translate} {translate module=product} price_type_recurr {/translate}
{translate} submit {/translate}

{translate module=service} title_recurring {/translate}
{translate module=product} field_price_base {/translate} {$list->currency_iso("")}
{translate module=service} field_date_last_invoice {/translate} { $list->calender_view("date_last_invoice", 0, "form_field", $service.id) }
{translate module=product} field_price_recurr_default {/translate}
{translate module=product} field_taxable {/translate} { $list->bool("product_taxable", $product.taxable, "form_menu") }
{translate module=product} field_price_recurr_type {/translate} {translate module=product} user_options {/translate}
{translate module=product} recurr_type_aniv {/translate}
{translate module=product} recurr_type_fixed {/translate}
{translate module=product} field_price_recurr_weekday {/translate} (1-28)
{ $list->bool("product_price_recurr_schedule", $product.price_recurr_schedule, "form_menu") } {translate module=product} field_price_recurr_schedule {/translate}
{ $list->bool("product_price_recurr_cancel", $product.price_recurr_cancel, "form_menu") } {translate module=product} field_price_recurr_cancel {/translate}
{ $list->bool("product_price_recurr_modify", $product.price_recurr_modify, "form_menu") } {translate module=product} field_price_recurr_modify {/translate}
{translate module=service} field_account_billing_id {/translate} { $list->menu_cc_admin("account_billing_id", $VAR.service_account_id, $VAR.ccnum, "form_menu") }

{translate module=service} title_group {/translate}

{translate module=product} assoc_group_limited {/translate}
{translate module=product} assoc_group_subscription {/translate}
{translate module=product} assoc_group_forever {/translate}

{ $list->menu_multi($product.assoc_grant_group, "product_assoc_grant_group", "group", "name", "10", "", "form_menu") }

{if $list->is_installed('host_server')}
{ if ($list->smarty_array("host_server","provision_plugin", "", "plugin")) } {foreach from=$plugin item=arr} {if $product.host_server_id == $arr.id} {/if} {/foreach} {/if}
{translate module=service} title_hosting {/translate}
{translate module=product} field_host_server_id {/translate} { $list->menu("no", "product_host_server_id", "host_server", "name", $product.host_server_id, "\" onchange=\"submit();") } Configure
{translate module=service} field_domain_name {/translate} .
{translate module=service} field_host_ip {/translate}
{translate module=service} field_host_username {/translate}
{translate module=service} field_host_password {/translate}
{assign var="afile" value=$arr.provision_plugin} {assign var="ablock" value="host_provision_plugin:plugin_prod_"} {assign var="blockfile" value="$ablock$afile"} { $block->display($blockfile) }

{/if}
{ if $product.prod_plugin_file != ""} {/if}
{translate module=service} title_product {/translate}
Plugin to Enable { $list->menu_files("", "product_prod_plugin_file", $product.prod_plugin_file, "product", "", ".php", "\" onchange=\"document.product_view.submit();") } Configure
{assign var="afile" value=$product.prod_plugin_file} {assign var="ablock" value="product_plugin:plugin_prod_"} {assign var="blockfile" value="$ablock$afile"} { $block->display($blockfile) }

{if $list->is_installed('host_tld')}
{translate module=service} title_domain {/translate}

{translate module=product} domain_register {/translate}
{translate module=product} domain_transfer {/translate} {/if}
{translate module=product} domain_ns_transfer {/translate} {if $product.host_allow_host_only}

{/if}
{/if}