|
39 | 39 | </table> |
40 | 40 | </td> |
41 | 41 | <td class="data-dotted"> |
42 | | - <table class="data-col2" width="600px"> |
| 42 | + <table class="data-col2" width="440px"> |
43 | 43 | <tr> |
44 | 44 | <td class="vst-text step-top"> |
45 | 45 | <?php print __('Domain');?> |
|
97 | 97 | </tr> |
98 | 98 | <tr> |
99 | 99 | <td> |
100 | | - <textarea size="20" class="vst-textinput" name="v_aliases"><?=htmlentities(trim($v_aliases, "'"))?></textarea> |
| 100 | + <textarea size="20" class="vst-textinput short" name="v_aliases"><?=htmlentities(trim($v_aliases, "'"))?></textarea> |
101 | 101 | </td> |
102 | 102 | </tr> |
103 | 103 | <tr> |
|
107 | 107 | </tr> |
108 | 108 | <tr> |
109 | 109 | <td> |
110 | | - <textarea size="20" class="vst-textinput" name="v_fwd"><?=htmlentities(trim($v_fwd, "'"))?></textarea> |
| 110 | + <textarea size="20" class="vst-textinput short" name="v_fwd"><?=htmlentities(trim($v_fwd, "'"))?></textarea> |
111 | 111 | </td> |
112 | 112 | </tr> |
113 | 113 | <tr> |
|
144 | 144 | <td class="mail-infoblock-td"> |
145 | 145 | <div class="mail-infoblock"> |
146 | 146 | <table> |
147 | | - <?php $uname_arr=posix_uname(); $hostname=$uname_arr['nodename']; ?> |
| 147 | + <?php $uname_arr=posix_uname(); $hostname=$uname_arr['nodename']; ?> |
148 | 148 | <tr> |
149 | 149 | <td colspan="2"> |
150 | 150 | <select id="mail_configuration" class="vst-list flat"> |
151 | | - <option v_type="hostname" domain="<?=$hostname?>"><?=__('Use server hostname')?></option> |
152 | 151 | <option v_type="hostname" domain="<?=$v_domain?>"><?=__('Use domain hostname')?></option> |
153 | 152 | <option v_type="starttls"><?=__('Use STARTTLS')?></option> |
154 | 153 | <option v_type="ssl"><?=__('Use SSL / TLS')?></option> |
|
166 | 165 | </tr> |
167 | 166 | <tr> |
168 | 167 | <td><?=__('IMAP hostname')?>:</td> |
169 | | - <td><div id="td_imap_hostname"><?=$hostname?></div></td> |
| 168 | + <td><div id="td_imap_hostname">mail.<?=$v_domain?></div></td> |
170 | 169 | </tr> |
171 | 170 | <tr> |
172 | 171 | <td><?=__('IMAP port')?>:</td> |
|
182 | 181 | </tr> |
183 | 182 | <tr> |
184 | 183 | <td><?=__('SMTP hostname')?>:</td> |
185 | | - <td><div id="td_smtp_hostname"><?=$hostname?></div></td> |
| 184 | + <td><div id="td_smtp_hostname">mail.<?=$v_domain?></div></td> |
186 | 185 | </tr> |
187 | 186 | <tr> |
188 | 187 | <td><?=__('SMTP port')?>:</td> |
|
198 | 197 | </tr> |
199 | 198 | <? |
200 | 199 | list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":"); |
201 | | - $webmail = "http://".$http_host."/webmail/"; |
| 200 | + $webmail = "http://webmail.".$v_domain."/"; |
202 | 201 | if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL']; |
203 | 202 | ?> |
204 | 203 | <tr> |
|
0 commit comments