PostfixAdmin - web based virtual user administration interface for Postfix mail servers https://postfixadmin.github.io/postfixadmin/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.7 KiB

  1. <?php if( !defined('POSTFIXADMIN') ) die( "This file cannot be used standalone." ); ?>
  2. <!-- 'breadcrumb' -->
  3. <div id="edit_form">
  4. <form name="alias" method="post">
  5. <table>
  6. <tr>
  7. <td colspan="3"><h3><?php print $PALANG['pCreate_alias_welcome']; ?></h3></td>
  8. </tr>
  9. <tr>
  10. <td><?php print $PALANG['pCreate_alias_address']; ?></td>
  11. <td><input class="flat" type="text" name="fAddress" value="<?php print $tAddress; ?>" /></td>
  12. <td>@
  13. <select class="flat" name="fDomain">
  14. <?php
  15. for ($i = 0; $i < sizeof ($list_domains); $i++)
  16. {
  17. if ($tDomain == $list_domains[$i])
  18. {
  19. print "<option value=\"$list_domains[$i]\" selected>$list_domains[$i]</option>\n";
  20. }
  21. else
  22. {
  23. print "<option value=\"$list_domains[$i]\">$list_domains[$i]</option>\n";
  24. }
  25. }
  26. ?>
  27. </select>
  28. <?php print $pCreate_alias_address_text; ?>
  29. </td>
  30. </tr>
  31. <tr>
  32. <td><?php print $PALANG['pCreate_alias_goto'] . ":"; ?></td>
  33. <td colspan="2"><textarea class="flat" rows="10" cols="60" name="fGoto"><?php print $tGoto; ?></textarea></td>
  34. </tr>
  35. <tr>
  36. <td><?php print $PALANG['pCreate_alias_active'] . ":"; ?></td>
  37. <td><input class="flat" type="checkbox" name="fActive" checked /></td>
  38. <td>&nbsp;</td>
  39. </tr>
  40. <tr>
  41. <td colspan="3" class="hlp_center"><input class="button" type="submit" name="submit" value="<?php print $PALANG['pCreate_alias_button']; ?>" /></td>
  42. </tr>
  43. <tr>
  44. <td colspan="3" class="standout"><?php print $tMessage; ?></td>
  45. </tr>
  46. <tr>
  47. <td colspan="3" class="help_text"><?php print $PALANG['pCreate_alias_catchall_text']; ?></td>
  48. </tr>
  49. </table>
  50. </form>
  51. </div>