File: edit-mailbox.php

package info (click to toggle)
postfixadmin 2.3.5-2%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 6,200 kB
  • sloc: php: 25,767; xml: 14,485; perl: 964; sh: 664; python: 169; makefile: 84
file content (51 lines) | stat: -rw-r--r-- 2,073 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php if( !defined('POSTFIXADMIN') ) die( "This file cannot be used standalone." ); ?>
<div id="edit_form">
<form name="mailbox" method="post">
<table>
   <tr>
      <td colspan="3"><h3><?php print $PALANG['pEdit_mailbox_welcome']; ?></h3></td>
   </tr>
   <tr>
      <td><?php print $PALANG['pEdit_mailbox_username']; ?></td>
      <td><?php print $fUsername; ?></td>
      <td><?php print $pEdit_mailbox_username_text; ?></td>
   </tr>
   <tr>
      <td><?php print $PALANG['pEdit_mailbox_password'] . ":"; ?></td>
      <td><input class="flat" type="password" name="fPassword" /></td>
      <td><?php print $pEdit_mailbox_password_text; ?></td>
   </tr>
   <tr>
      <td><?php print $PALANG['pEdit_mailbox_password2'] . ":"; ?></td>
      <td><input class="flat" type="password" name="fPassword2" /></td>
      <td>&nbsp;</td>
   </tr>
   <tr>
      <td><?php print $PALANG['pEdit_mailbox_name'] . ":"; ?></td>
      <td><input class="flat" type="text" name="fName" value="<?php print htmlspecialchars ($tName,ENT_QUOTES); ?>" /></td>
      <td><?php print $pEdit_mailbox_name_text; ?></td>
   </tr>
   <?php if ($CONF['quota'] == 'YES') { ?>
   <tr>
      <td><?php print $PALANG['pEdit_mailbox_quota'] . " (max: " . $tMaxquota . "):"; ?></td>
      <td><input class="flat" type="text" name="fQuota" value="<?php print $tQuota; ?>" /></td>
      <td><?php print $pEdit_mailbox_quota_text; ?></td>
   </tr>
   <?php } ?>
   <tr>
      <td><?php print $PALANG['pCreate_mailbox_active'] . ":"; ?></td>
      <td><input class="flat" type="checkbox" name="fActive" <?php print (!empty ($tActive)) ? 'checked' : '' ?> /></td>
      <td>&nbsp;</td>
   </tr>
   <tr>
      <td colspan="3" class="hlp_center">
        <input class="button" type="submit" name="submit" value="<?php print $PALANG['pEdit_mailbox_button']; ?>" />
        <input class="button" type="submit" name="cancel" value="<?php print $PALANG['exit']; ?>" action="main.php" />
     </td>
   </tr>
   <tr>
      <td colspan="3" class="standout"><?php print $tMessage; ?></td>
   </tr>
</table>
</form>
</div>