Add Plesk 8 provisioning plugin, uses domain templates and 1.4.2.0 protocol.

This commit is contained in:
anubis
2009-01-02 21:18:11 -05:00
parent 5c0ed5db40
commit 3c9570ffe9
3 changed files with 806 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
{$list->unserial($host_server.provision_plugin_data, "plugin_data")}
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
<tr valign="top">
<td width="50%">* Plesk Port</td>
<td width="50%">
<input type="text" name="host_server_provision_plugin_data[port]" value="{$plugin_data.port}" class="form_field" size="30">
eg: 8443</td>
</tr>
<tr valign="top">
<td width="50%"> * Plesk Host </td>
<td width="50%">
<input type="text" name="host_server_provision_plugin_data[host]" value="{$plugin_data.host}" class="form_field" size="30">
eg: server.com</td>
</tr>
<tr valign="top">
<td width="50%"> * Plesk Login</td>
<td width="50%">
<input type="text" name="host_server_provision_plugin_data[user]" value="{$plugin_data.user}" class="form_field">
eg: admin </td>
</tr>
<tr valign="top">
<td width="50%"> * Plesk Password</td>
<td width="50%">
<input type="password" name="host_server_provision_plugin_data[pass]" value="{$plugin_data.pass}" class="form_field">
</td>
</tr>
<tr valign="top">
<td width="50%">* = required fields</td>
<td width="50%">&nbsp;</td>
</tr>
</table>

View File

@@ -0,0 +1,36 @@
{$list->unserial($product.host_provision_plugin_data, "plugin_data")}
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
<tr valign="top">
<td width="50%">&nbsp; </td>
<td width="50%">&nbsp; </td>
</tr>
<tr valign="top">
<td width="50%">IP Based Plan? </td>
<td width="50%">
{ $list->bool("product_host_provision_plugin_data[ip_based]", $plugin_data.ip_based, "form_menu") }
</td>
</tr>
<tr valign="top">
<td width="50%">&nbsp; </td>
<td width="50%">&nbsp; </td>
</tr>
<tr valign="top">
<td width="50%"><b>Client/Domain Templates</b></td>
<td width="50%">&nbsp;</td>
</tr>
<tr valign="top">
<td width="50%">Client template</td>
<td width="50%">
<input type="text" name="product_host_provision_plugin_data[client_template_name]" value="{$plugin_data.client_template_name}" class="form_field" size="30">
</td>
</tr>
<tr valign="top">
<td width="50%">Domain template</td>
<td width="50%">
<input type="text" name="product_host_provision_plugin_data[domain_template_name]" value="{$plugin_data.domain_template_name}" class="form_field" size="30">
</td>
</tr>
</table>
<input type="hidden" name="product_host_provision_plugin_data[account_id]" value="{$plugin_data.account_id}">
<input type="hidden" name="product_host_provision_plugin_data[domain_id]" value="{$plugin_data.domain_id}">