Initial Commit of AgileBill Open Source
This commit is contained in:
73
themes/default/blocks/host_registrar_plugin/add.tpl
Normal file
73
themes/default/blocks/host_registrar_plugin/add.tpl
Normal file
@@ -0,0 +1,73 @@
|
||||
|
||||
|
||||
<!-- Display the form validation -->
|
||||
{if $form_validation}
|
||||
{ $block->display("core:alert_fields") }
|
||||
{/if}
|
||||
|
||||
<!-- Display the form to collect the input values -->
|
||||
<form id="host_registrar_plugin_add" name="host_registrar_plugin_add" 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_registrar_plugin}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_registrar_plugin}
|
||||
field_status
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->bool("host_registrar_plugin_status", $VAR.host_registrar_plugin_status, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
field_name
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_name" value="{$VAR.host_registrar_plugin_name}" {if $host_registrar_plugin_name == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{assign var=thistype value="add"}
|
||||
{assign var="afile" value=$VAR.host_registrar_plugin_file}
|
||||
{assign var="ablock" value="host_registrar_plugin:plugin_cfg_"}
|
||||
{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%"></td>
|
||||
<td width="50%">
|
||||
<input type="submit" name="Submit" value="{translate}submit{/translate}" class="form_button">
|
||||
<input type="hidden" name="_page" value="host_registrar_plugin:view">
|
||||
<input type="hidden" name="_page_current" value="host_registrar_plugin:add">
|
||||
<input type="hidden" name="do[]" value="host_registrar_plugin:add">
|
||||
<input type="hidden" name="host_registrar_plugin_file" value="{$VAR.host_registrar_plugin_file}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
27
themes/default/blocks/host_registrar_plugin/main.tpl
Normal file
27
themes/default/blocks/host_registrar_plugin/main.tpl
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td>
|
||||
<table width=100% border="0" cellspacing="1" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td class="table_heading">
|
||||
<center>
|
||||
{translate module=host_registrar_plugin}
|
||||
menu
|
||||
{/translate}
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1">
|
||||
<table width="100%" border="0" cellpadding="5" class="row1">
|
||||
<tr>
|
||||
<td>{translate module=host_registrar_plugin}help_file{/translate}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
@@ -0,0 +1,99 @@
|
||||
{ if $thistype != "add" }
|
||||
{$list->unserial($host_registrar_plugin.plugin_data, "plugin_data")}
|
||||
{ else}
|
||||
{assign var=plugin_data value=$VAR.host_registrar_plugin_data}
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
debug
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[debug]", $plugin_data.debug, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1]" value="{$plugin_data.ns1}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2]" value="{$plugin_data.ns2}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1ip]" value="{$plugin_data.ns1ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2ip]" value="{$plugin_data.ns2ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
br_user
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[br_user]" value="{$plugin_data.br_user}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
br_pass
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="password" name="host_registrar_plugin_plugin_data[br_pass]" value="{$plugin_data.br_pass}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
br_pgpemail
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->menu("", "host_registrar_plugin_plugin_data[br_pgpemail]", "staff", "nickname", $plugin_data.br_pgpemail, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
br_mode
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[br_mode]", $plugin_data.br_mode, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -0,0 +1,95 @@
|
||||
{ if $thistype != "add" }
|
||||
{$list->unserial($host_registrar_plugin.plugin_data, "plugin_data")}
|
||||
{ else}
|
||||
{assign var=plugin_data value=$VAR.host_registrar_plugin_data}
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
debug
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[debug]", $plugin_data.debug, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1]" value="{$plugin_data.ns1}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2]" value="{$plugin_data.ns2}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1ip]" value="{$plugin_data.ns1ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2ip]" value="{$plugin_data.ns2ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
directi_user
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[user]" value="{$plugin_data.user}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
directi_pass
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="password" name="host_registrar_plugin_plugin_data[pass]" value="{$plugin_data.pass}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">Directi Parent ID</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[parent_id]" value="{$plugin_data.parent_id}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
directi_mode
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[mode]", $plugin_data.mode, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -0,0 +1,83 @@
|
||||
{ if $thistype != "add" }
|
||||
{$list->unserial($host_registrar_plugin.plugin_data, "plugin_data")}
|
||||
{ else}
|
||||
{assign var=plugin_data value=$VAR.host_registrar_plugin_data}
|
||||
{/if}
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
debug
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[debug]", $plugin_data.debug, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%"> Live Mode </td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[enom_mode]", $plugin_data.enom_mode, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1]" value="{$plugin_data.ns1}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2]" value="{$plugin_data.ns2}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1ip]" value="{$plugin_data.ns1ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2ip]" value="{$plugin_data.ns2ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
enom_user
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[enom_user]" value="{$plugin_data.enom_user}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
enom_pass
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="password" name="host_registrar_plugin_plugin_data[enom_pass]" value="{$plugin_data.enom_pass}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
@@ -0,0 +1,89 @@
|
||||
{ if $thistype != "add" }
|
||||
{$list->unserial($host_registrar_plugin.plugin_data, "plugin_data")}
|
||||
{ else}
|
||||
{assign var=plugin_data value=$VAR.host_registrar_plugin_data}
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
debug
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[debug]", $plugin_data.debug, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1]" value="{$plugin_data.ns1}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2]" value="{$plugin_data.ns2}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1ip]" value="{$plugin_data.ns1ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2ip]" value="{$plugin_data.ns2ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
gd_user
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[gd_user]" value="{$plugin_data.gd_user}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
gd_pass
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="password" name="host_registrar_plugin_plugin_data[gd_pass]" value="{$plugin_data.gd_pass}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
gd_mode
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[gd_mode]", $plugin_data.gd_mode, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -0,0 +1,87 @@
|
||||
{ if $thistype != "add" }
|
||||
{$list->unserial($host_registrar_plugin.plugin_data, "plugin_data")}
|
||||
{ else}
|
||||
{assign var=plugin_data value=$VAR.host_registrar_plugin_data}
|
||||
{/if}
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1]" value="{$plugin_data.ns1}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2]" value="{$plugin_data.ns2}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1ip]" value="{$plugin_data.ns1ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2ip]" value="{$plugin_data.ns2ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
manual_add_email
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->menu("", "host_registrar_plugin_plugin_data[manual_add_email]", "staff", "nickname", $plugin_data.manual_add_email, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
manual_renew_email
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->menu("", "host_registrar_plugin_plugin_data[manual_renew_email]", "staff", "nickname", $plugin_data.manual_renew_email, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
manual_transfer_email
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->menu("", "host_registrar_plugin_plugin_data[manual_transfer_email]", "staff", "nickname", $plugin_data.manual_transfer_email, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
manual_park_email
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->menu("", "host_registrar_plugin_plugin_data[manual_park_email]", "staff", "nickname", $plugin_data.manual_park_email, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
@@ -0,0 +1,99 @@
|
||||
{ if $thistype != "add" }
|
||||
{$list->unserial($host_registrar_plugin.plugin_data, "plugin_data")}
|
||||
{ else}
|
||||
{assign var=plugin_data value=$VAR.host_registrar_plugin_data}
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
debug
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[debug]", $plugin_data.debug, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1]" value="{$plugin_data.ns1}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2]" value="{$plugin_data.ns2}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1ip]" value="{$plugin_data.ns1ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2ip]" value="{$plugin_data.ns2ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
melbourne_user
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[melbourne_user]" value="{$plugin_data.melbourne_user}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
melbourne_pass
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="password" name="host_registrar_plugin_plugin_data[melbourne_pass]" value="{$plugin_data.melbourne_pass}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
melbourne_pgpemail
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[melbourne_pgpemail]" value="{$plugin_data.melbourne_pgpemail}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
melbourne_mode
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[melbourne_mode]", $plugin_data.melbourne_mode, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -0,0 +1,87 @@
|
||||
{ if $thistype != "add" }
|
||||
{$list->unserial($host_registrar_plugin.plugin_data, "plugin_data")}
|
||||
{ else}
|
||||
{assign var=plugin_data value=$VAR.host_registrar_plugin_data}
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
debug
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[debug]", $plugin_data.debug, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1]" value="{$plugin_data.ns1}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2]" value="{$plugin_data.ns2}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1ip]" value="{$plugin_data.ns1ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2ip]" value="{$plugin_data.ns2ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%"> Names4Ever Reseller ID</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[user]" class="form_field" value="{$plugin_data.user}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%"> Names4Ever Password</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[password]" class="form_field" value="{$plugin_data.password}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">Names4Ever Plan ID</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[plan_id]" class="form_field" value="{$plugin_data.plan_id}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
osrs_enviroment
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[mode]", $plugin_data.mode, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -0,0 +1,79 @@
|
||||
{ if $thistype != "add" }
|
||||
{$list->unserial($host_registrar_plugin.plugin_data, "plugin_data")}
|
||||
{ else}
|
||||
{assign var=plugin_data value=$VAR.host_registrar_plugin_data}
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
debug
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[debug]", $plugin_data.debug, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1]" value="{$plugin_data.ns1}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2]" value="{$plugin_data.ns2}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1ip]" value="{$plugin_data.ns1ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2ip]" value="{$plugin_data.ns2ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
nominet_tag
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[nominet_tag]" value="{$plugin_data.nominet_tag}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
pgp_emailto
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->menu("", "host_registrar_plugin_plugin_data[pgp_emailto]", "staff", "nickname", $plugin_data.pgp_emailto, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -0,0 +1,75 @@
|
||||
{ if $thistype != "add" }
|
||||
{$list->unserial($host_registrar_plugin.plugin_data, "plugin_data")}
|
||||
{ else}
|
||||
{assign var=plugin_data value=$VAR.host_registrar_plugin_data}
|
||||
{/if}
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
debug
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[debug]", $plugin_data.debug, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%"> Live Mode </td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[mode]", $plugin_data.mode, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1]" value="{$plugin_data.ns1}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2]" value="{$plugin_data.ns2}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1ip]" value="{$plugin_data.ns1ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2ip]" value="{$plugin_data.ns2ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%"> Reseller ID</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[user]" value="{$plugin_data.user}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%"> Password</td>
|
||||
<td width="50%">
|
||||
<input type="password" name="host_registrar_plugin_plugin_data[pass]" value="{$plugin_data.pass}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
@@ -0,0 +1,99 @@
|
||||
{ if $thistype != "add" }
|
||||
{$list->unserial($host_registrar_plugin.plugin_data, "plugin_data")}
|
||||
{ else}
|
||||
{assign var=plugin_data value=$VAR.host_registrar_plugin_data}
|
||||
{/if}
|
||||
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
debug
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[debug]", $plugin_data.debug, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1]" value="{$plugin_data.ns1}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2]" value="{$plugin_data.ns2}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1ip]" value="{$plugin_data.ns1ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2ip]" value="{$plugin_data.ns2ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
osrs_user
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[osrs_user]" value="{$plugin_data.osrs_user}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
osrs_testkey
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<textarea name="host_registrar_plugin_plugin_data[osrs_testkey]" class="form_field" cols="40" rows="3">{$plugin_data.osrs_testkey}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
osrs_livekey
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<textarea name="host_registrar_plugin_plugin_data[osrs_livekey]" class="form_field" cols="40">{$plugin_data.osrs_livekey}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
osrs_enviroment
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[osrs_enviroment]", $plugin_data.osrs_enviroment, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -0,0 +1,77 @@
|
||||
{ if $thistype != "add" }
|
||||
{$list->unserial($host_registrar_plugin.plugin_data, "plugin_data")}
|
||||
{ else}
|
||||
{assign var=plugin_data value=$VAR.host_registrar_plugin_data}
|
||||
{/if}
|
||||
|
||||
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
debug
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[debug]", $plugin_data.debug, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1]" value="{$plugin_data.ns1}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2]" value="{$plugin_data.ns2}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1ip]" value="{$plugin_data.ns1ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2ip]" value="{$plugin_data.ns2ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%"> PlanetDomain Username</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[username]" value="{$plugin_data.username}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%"> PlanetDomain Password</td>
|
||||
<td width="50%">
|
||||
<input type="password" name="host_registrar_plugin_plugin_data[password]" value="{$plugin_data.password}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">PlanetDomain Reseller Id</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[reseller]" value="{$plugin_data.reseller}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
@@ -0,0 +1,79 @@
|
||||
{ if $thistype != "add" }
|
||||
{$list->unserial($host_registrar_plugin.plugin_data, "plugin_data")}
|
||||
{ else}
|
||||
{assign var=plugin_data value=$VAR.host_registrar_plugin_data}
|
||||
{/if}
|
||||
|
||||
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
debug
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{$list->bool("host_registrar_plugin_plugin_data[debug]", $plugin_data.debug, "form_menu")}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1]" value="{$plugin_data.ns1}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_ns
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2]" value="{$plugin_data.ns2}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
primary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns1ip]" value="{$plugin_data.ns1ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
secondary_nsip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[ns2ip]" value="{$plugin_data.ns2ip}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
tr_partnerno
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_plugin_data[tr_partnerno]" value="{$plugin_data.tr_partnerno}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
tr_pass
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="password" name="host_registrar_plugin_plugin_data[tr_pass]" value="{$plugin_data.tr_pass}" class="form_field">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
98
themes/default/blocks/host_registrar_plugin/search_show.tpl
Normal file
98
themes/default/blocks/host_registrar_plugin/search_show.tpl
Normal file
@@ -0,0 +1,98 @@
|
||||
|
||||
|
||||
{$method->exe("host_registrar_plugin","search_show")}
|
||||
{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_registrar_plugin';
|
||||
{/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="43" class="table_heading"> </td>
|
||||
<td width="744" class="table_heading">
|
||||
{translate module=host_registrar_plugin}
|
||||
field_name
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="196" class="table_heading"> </td>
|
||||
<!-- LOOP THROUGH EACH RECORD -->
|
||||
{foreach from=$host_registrar_plugin item=record}
|
||||
<tr class="{$record._C}">
|
||||
<td width="43">
|
||||
{if $record.status == "1"}
|
||||
<img src="themes/{$THEME_NAME}/images/icons/go_16.gif" border="0" width="16" height="16">
|
||||
{else}
|
||||
<img src="themes/{$THEME_NAME}/images/icons/stop_16.gif" border="0" width="16" height="16">
|
||||
{/if}
|
||||
</td>
|
||||
<td width="744">
|
||||
{$record.name}
|
||||
</td>
|
||||
<td width="196">
|
||||
<div align="center">
|
||||
{if $record.status == "1"}
|
||||
<a href="?_page=host_registrar_plugin:view&id={$record.id}">
|
||||
{translate module=host_registrar_plugin}
|
||||
view
|
||||
{/translate}
|
||||
</a>
|
||||
{else}
|
||||
<a href="?_page=host_registrar_plugin:add&host_registrar_plugin_file={$record.name}">
|
||||
{translate module=host_registrar_plugin}
|
||||
install
|
||||
{/translate}
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<!-- END OF RESULT LOOP -->
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
{/if}
|
||||
</div>
|
113
themes/default/blocks/host_registrar_plugin/view.tpl
Normal file
113
themes/default/blocks/host_registrar_plugin/view.tpl
Normal file
@@ -0,0 +1,113 @@
|
||||
|
||||
{ $method->exe("host_registrar_plugin","view") } { if ($method->result == FALSE) } { $block->display("core:method_error") } {else}
|
||||
|
||||
{literal}
|
||||
<!-- Define the update delete function -->
|
||||
<script language="JavaScript">
|
||||
<!-- START
|
||||
var module = 'host_registrar_plugin';
|
||||
var locations = '{/literal}{$VAR.module_id}{literal}';
|
||||
if (locations != "")
|
||||
{
|
||||
refresh(0,'#'+locations)
|
||||
}
|
||||
// Mass update, view, and delete controller
|
||||
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}
|
||||
|
||||
<!-- Loop through each record -->
|
||||
{foreach from=$host_registrar_plugin item=host_registrar_plugin}
|
||||
|
||||
<!-- Display the field validation -->
|
||||
{if $form_validation}
|
||||
{ $block->display("core:alert_fields") }
|
||||
{/if}
|
||||
|
||||
<!-- Display each record -->
|
||||
<form name="host_registrar_plugin_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_registrar_plugin}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_registrar_plugin}
|
||||
field_status
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
{ $list->bool("host_registrar_plugin_status", $host_registrar_plugin.status, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="50%">
|
||||
{translate module=host_registrar_plugin}
|
||||
field_name
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="50%">
|
||||
<input type="text" name="host_registrar_plugin_name" value="{$host_registrar_plugin.name}" size="32">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{assign var=thistype value="edit"}
|
||||
{assign var="afile" value=$host_registrar_plugin.file}
|
||||
{assign var="ablock" value="host_registrar_plugin:plugin_cfg_"}
|
||||
{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%"></td>
|
||||
<td width="50%">
|
||||
<input type="submit" name="Submit" value="{translate}submit{/translate}" class="form_button">
|
||||
<input type="button" name="delete" value="{translate}delete{/translate}" class="form_button" onClick="delete_record('{$host_registrar_plugin.id}','{$VAR.id}');">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="_page" value="host_registrar_plugin:view">
|
||||
<input type="hidden" name="host_registrar_plugin_id" value="{$host_registrar_plugin.id}">
|
||||
<input type="hidden" name="do[]" value="host_registrar_plugin:update">
|
||||
<input type="hidden" name="id" value="{$VAR.id}">
|
||||
<input type="hidden" name="host_registrar_plugin_file" value="{$host_registrar_plugin.file}">
|
||||
</form>
|
||||
{/foreach}
|
||||
{/if}
|
Reference in New Issue
Block a user