|
|
|
<?php if( !defined('POSTFIXADMIN') ) die( "This file cannot be used standalone." ); ?>
|
|
|
|
<div id="edit_form">
|
|
|
|
<form name="create_domain" method="post">
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td colspan="3"><h3><?php print $PALANG['pAdminCreate_domain_welcome']; ?></h3></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><?php print $PALANG['pAdminCreate_domain_domain'] . ":"; ?></td>
|
|
|
|
<td><input class="flat" type="text" name="fDomain" value="<?php print $tDomain; ?>" /></td>
|
|
|
|
<td><?php print $pAdminCreate_domain_domain_text; ?></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><?php print $PALANG['pAdminCreate_domain_description'] . ":"; ?></td>
|
|
|
|
<td><input class="flat" type="text" name="fDescription" value="<?php print $tDescription; ?>" /></td>
|
|
|
|
<td> </td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><?php print $PALANG['pAdminCreate_domain_aliases'] . ":"; ?></td>
|
|
|
|
<td><input class="flat" type="text" name="fAliases" value="<?php print $tAliases; ?>" /></td>
|
|
|
|
<td><?php print $PALANG['pAdminCreate_domain_aliases_text']; ?></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><?php print $PALANG['pAdminCreate_domain_mailboxes'] . ":"; ?></td>
|
|
|
|
<td><input class="flat" type="text" name="fMailboxes" value="<?php print $tMailboxes; ?>" /></td>
|
|
|
|
<td><?php print $PALANG['pAdminCreate_domain_mailboxes_text']; ?></td>
|
|
|
|
</tr>
|
|
|
|
<?php if ($CONF['quota'] == 'YES') { ?>
|
|
|
|
<tr>
|
|
|
|
<td><?php print $PALANG['pAdminCreate_domain_maxquota'] . ":"; ?></td>
|
|
|
|
<td><input class="flat" type="text" name="fMaxquota" value="<?php print $tMaxquota; ?>" /></td>
|
|
|
|
<td><?php print $PALANG['pAdminCreate_domain_maxquota_text']; ?></td>
|
|
|
|
</tr>
|
|
|
|
<?php } if ($CONF['transport'] == 'YES') { ?>
|
|
|
|
<tr>
|
|
|
|
<td><?php print $PALANG['pAdminCreate_domain_transport'] . ":"; ?></td>
|
|
|
|
<td><select class="flat" name="fTransport">
|
|
|
|
<?php
|
|
|
|
for ($i = 0; $i < sizeof ($CONF['transport_options']); $i++)
|
|
|
|
{
|
|
|
|
if ($CONF['transport_options'][$i] == $tTransport)
|
|
|
|
{
|
|
|
|
print "<option value=\"" . $CONF['transport_options'][$i] . "\" selected>" . $CONF['transport_options'][$i] . "</option>\n";
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
print "<option value=\"" . $CONF['transport_options'][$i] . "\">" . $CONF['transport_options'][$i] . "</option>\n";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<td><?php print $PALANG['pAdminCreate_domain_transport_text']; ?></td>
|
|
|
|
</tr>
|
|
|
|
<?php } ?>
|
|
|
|
<tr>
|
|
|
|
<td><?php print $PALANG['pAdminCreate_domain_defaultaliases'] . ":"; ?></td>
|
|
|
|
<td><?php $checked = ($tDefaultaliases == 'on') ? 'checked=checked' : ''; ?>
|
|
|
|
<input class="flat" type="checkbox" value='on' name="fDefaultaliases" <?php print $checked; ?> />
|
|
|
|
</td>
|
|
|
|
<td><?php print $PALANG['pAdminCreate_domain_defaultaliases_text']; ?></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><?php print $PALANG['pAdminCreate_domain_backupmx'] . ":"; ?></td>
|
|
|
|
<td><?php $checked = ($tBackupmx == 'on') ? 'checked' : ''; ?>
|
|
|
|
<input class="flat" type="checkbox" value='on' name="fBackupmx" <?php print $checked; ?> />
|
|
|
|
</td>
|
|
|
|
<td> </td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="3" class="hlp_center"><input class="button" type="submit" name="submit" value="<?php print $PALANG['pAdminCreate_domain_button']; ?>" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="3" class="standout"><?php print $tMessage; ?></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</div>
|