postfixadmin/templates/admin_create-domain.tpl

63 lines
2.7 KiB
Smarty

<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>&nbsp;</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><input class="flat" type="text" name="fTransport" value="<?php print $tTransport; ?>" /></td>
<td><?php print $PALANG['pAdminCreate_domain_transport_text']; ?></td>
</tr>
<?php } ?>
<tr>
<td><?php print $PALANG['pAdminCreate_domain_defaultaliases'] . ":"; ?></td>
<td><?php $checked = (!empty ($tDefaultaliases)) ? 'checked' : ''; ?>
<input class="flat" type="checkbox" name="fDefaultaliases" <?php print $checked; ?> />
</td>
<td><?php print $pAdminCreate_domain_defaultaliases_text; ?></td>
</tr>
<tr>
<td><?php print $PALANG['pAdminCreate_domain_backupmx'] . ":"; ?></td>
<td><?php $checked = (!empty ($tBackupmx)) ? 'checked' : ''; ?>
<input class="flat" type="checkbox" name="fBackupmx" <?php print $checked; ?> />
</td>
<td>&nbsp;</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>