|
88 | 88 | </td> |
89 | 89 | </tr> |
90 | 90 | <tr> |
91 | | - <td class="vst-text input-type input-label"> |
92 | | - <?php print _('Quota');?> <span class="optional">(<?=_('in megabytes')?>)</span> |
| 91 | + <td class="vst-text input-label"> |
| 92 | + <?php print _('Send login credentials to email address') ?> |
93 | 93 | </td> |
94 | 94 | </tr> |
95 | 95 | <tr> |
96 | | - <td> |
97 | | - <input type="text" size="20" class="vst-input" name="v_quota" value="<? if (!empty($v_quota)) {echo htmlentities(trim($v_quota, "'"));} else { echo "0"; } ?>"> |
98 | | - <i class="unlim-trigger fas fa-infinity" title="<?=_('Unlimited')?>" id="unlim-quota"></i> |
| 96 | + <td> |
| 97 | + <input type="text" class="vst-input" name="v_send_email" value="<?=htmlentities(trim($v_send_email, "'"))?>"> |
| 98 | + <input type="hidden" name="v_credentials" id="v_credentials"> |
99 | 99 | </td> |
100 | 100 | </tr> |
101 | 101 | <tr> |
102 | 102 | <td class="vst-text input-type input-label"> |
103 | | - <?php print _('Aliases');?> <span class="optional">(<?=_('use local-part')?>)</span> |
| 103 | + <?php print _('Quota');?> <span class="optional">(<?=_('in megabytes')?>)</span> |
104 | 104 | </td> |
105 | 105 | </tr> |
106 | 106 | <tr> |
107 | | - <td> |
108 | | - <textarea size="20" class="vst-textinput short" name="v_aliases"><?=htmlentities(trim($v_aliases, "'"))?></textarea> |
| 107 | + <td> |
| 108 | + <input type="text" size="20" class="vst-input" name="v_quota" value="<? if (!empty($v_quota)) {echo htmlentities(trim($v_quota, "'"));} else { echo "0"; } ?>"> |
| 109 | + <i class="unlim-trigger fas fa-infinity" title="<?=_('Unlimited')?>" id="unlim-quota"></i> |
109 | 110 | </td> |
110 | 111 | </tr> |
111 | 112 | <tr> |
112 | 113 | <td class="vst-text input-type input-label"> |
113 | | - <?php print _('Forward to');?> <span class="optional">(<?=_('one or more email addresses')?>)</span> |
| 114 | + <?php print _('Aliases');?> <span class="optional">(<?=_('use local-part')?>)</span> |
114 | 115 | </td> |
115 | 116 | </tr> |
116 | 117 | <tr> |
117 | 118 | <td> |
118 | | - <textarea size="20" class="vst-textinput short" name="v_fwd" id="v_fwd" <?php if($v_blackhole == 'yes') echo "disabled";?>><?=htmlentities(trim($v_fwd, "'"))?></textarea> |
| 119 | + <textarea size="20" class="vst-textinput short" name="v_aliases"><?=htmlentities(trim($v_aliases, "'"))?></textarea> |
119 | 120 | </td> |
120 | 121 | </tr> |
121 | 122 | <tr> |
122 | 123 | <td class="vst-text input-label"> |
123 | | - <label><input type="checkbox" size="20" class="vst-checkbox" id="v_blackhole" name="v_blackhole" <?php if ($v_blackhole == 'yes') echo "checked=yes" ?>><?php print _('Discard all mail');?></label> |
| 124 | + <label><input type="checkbox" size="20" class="vst-checkbox" onclick="javascript:elementHideShow('v-fwd-opt');" id="v_blackhole" name="v_blackhole" <?php if ($v_blackhole == 'yes') echo "checked=yes" ?>><?php print _('Discard all mail');?></label> |
124 | 125 | </td> |
125 | 126 | </tr> |
126 | 127 | <tr <?php if ($v_blackhole == 'yes') echo 'style="display:none"'; ?> id="id_fwd_for"> |
|
149 | 150 | </table> |
150 | 151 | </td> |
151 | 152 | </tr> |
152 | | - <tr> |
153 | | - <td class="vst-text input-label"> |
154 | | - <?php print _('Send login credentials to email address') ?> |
155 | | - </td> |
156 | | - </tr> |
157 | | - <tr> |
158 | | - <td> |
159 | | - <input type="text" class="vst-input" name="v_send_email" value="<?=htmlentities(trim($v_send_email, "'"))?>"> |
160 | | - <input type="hidden" name="v_credentials" id="v_credentials"> |
161 | | - </td> |
162 | | - </tr> |
| 153 | + <tr> |
| 154 | + <td> |
| 155 | + <table id="v-fwd-opt"> |
| 156 | + <tr> |
| 157 | + <td class="vst-text input-type input-label"> |
| 158 | + <?php print _('Forward to');?> <span class="optional">(<?=_('one or more email addresses')?>)</span> |
| 159 | + </td> |
| 160 | + </tr> |
| 161 | + <tr> |
| 162 | + <td> |
| 163 | + <textarea size="20" class="vst-textinput short" name="v_fwd" id="v_fwd" <?php if($v_blackhole == 'yes') echo "disabled";?>><?=htmlentities(trim($v_fwd, "'"))?></textarea> |
| 164 | + </td> |
| 165 | + </tr> |
| 166 | + </table> |
| 167 | + </td> |
| 168 | + </tr> |
163 | 169 | </table> |
164 | 170 | <table class="data-col2"> |
165 | 171 | </table> |
|
0 commit comments