|
62 | 62 | <tr> |
63 | 63 | <td class="u-pt18"> |
64 | 64 | <label for="v_domain" class="form-label"><?=_('Domain');?></label> |
65 | | - <input type="text" class="form-control" name="v_domain" id="v_domain" style="max-width: 341px" value="<?=htmlentities(trim($v_domain, "'"))?>"> |
| 65 | + <input type="text" class="form-control u-input-width" name="v_domain" id="v_domain" value="<?=htmlentities(trim($v_domain, "'"))?>"> |
66 | 66 | </td> |
67 | 67 | </tr> |
68 | 68 | <?php if($_SESSION['WEBMAIL_SYSTEM']){?> |
69 | 69 | <tr> |
70 | 70 | <td class="u-pt18"> |
71 | 71 | <label for="v_webmail" class="form-label"><?=_('Webmail Client');?></label> |
72 | | - <select class="form-select" name="v_webmail" id="v_webmail" tabindex="6" style="max-width: 360px"> |
| 72 | + <select class="form-select u-input-width" name="v_webmail" id="v_webmail" tabindex="6"> |
73 | 73 | <?php foreach ($webmail_clients as $client){ |
74 | 74 | echo "\t\t\t\t<option value=\"".htmlentities($client)."\""; |
75 | 75 | if (( $v_webmail == $client )) { |
|
87 | 87 | <tr> |
88 | 88 | <td class="u-pt18"> |
89 | 89 | <div class="form-check"> |
90 | | - <input class="form-check-input" type="checkbox" name="v_antispam" id="v_antispam" <?php if ((empty($v_antispam)) || ($v_antispam == 'yes')) echo "checked=yes"; ?>> |
| 90 | + <input class="form-check-input" type="checkbox" name="v_antispam" id="v_antispam" <?php if ((empty($v_antispam)) || ($v_antispam == 'yes')) echo 'checked'; ?>> |
91 | 91 | <label for="v_antispam"> |
92 | 92 | <?=_('AntiSpam Support');?> |
93 | 93 | </label> |
|
97 | 97 | <tr> |
98 | 98 | <td class="u-pt6"> |
99 | 99 | <div class="form-check"> |
100 | | - <input class="form-check-input" type="checkbox" name="v_reject" id="v_reject" <?php if ((empty($v_reject)) || ($v_reject == 'yes')) echo "checked=yes"; ?>> |
| 100 | + <input class="form-check-input" type="checkbox" name="v_reject" id="v_reject" <?php if ((empty($v_reject)) || ($v_reject == 'yes')) echo 'checked'; ?>> |
101 | 101 | <label for="v_reject"> |
102 | 102 | <?=_('Reject spam');?> |
103 | 103 | </label> |
|
109 | 109 | <tr> |
110 | 110 | <td class="u-pt6"> |
111 | 111 | <div class="form-check"> |
112 | | - <input class="form-check-input" type="checkbox" name="v_antivirus" id="v_antivirus" <?php if ((empty($v_antivirus)) || ($v_antivirus == 'yes')) echo "checked=yes"; ?>> |
| 112 | + <input class="form-check-input" type="checkbox" name="v_antivirus" id="v_antivirus" <?php if ((empty($v_antivirus)) || ($v_antivirus == 'yes')) echo 'checked'; ?>> |
113 | 113 | <label for="v_antivirus"> |
114 | 114 | <?=_('AntiVirus Support');?> |
115 | 115 | </label> |
|
120 | 120 | <tr> |
121 | 121 | <td class="u-pt6"> |
122 | 122 | <div class="form-check"> |
123 | | - <input class="form-check-input" type="checkbox" name="v_dkim" id="v_dkim" <?php if (isset($v_dkim)&&$v_dkim == 'yes') echo "checked=yes"; ?>> |
| 123 | + <input class="form-check-input" type="checkbox" name="v_dkim" id="v_dkim" <?php if (isset($v_dkim)&&$v_dkim == 'yes') echo 'checked'; ?>> |
124 | 124 | <label for="v_dkim"> |
125 | 125 | <?=_('DKIM Support');?> |
126 | 126 | </label> |
|
130 | 130 | <tr> |
131 | 131 | <td class="u-pt6"> |
132 | 132 | <div class="form-check"> |
133 | | - <input class="form-check-input" type="checkbox" name="v_smtp_relay" id="v_smtp_relay" <?php if ($v_smtp_relay == 'true') echo "checked=yes"; ?> onclick="javascript:elementHideShow('smtp_relay_table');"> |
| 133 | + <input class="form-check-input" type="checkbox" name="v_smtp_relay" id="v_smtp_relay" <?php if ($v_smtp_relay == 'true') echo 'checked'; ?> onclick="javascript:elementHideShow('smtp_relay_table');"> |
134 | 134 | <label for="v_smtp_relay"> |
135 | 135 | <?=_('SMTP Relay');?> |
136 | 136 | </label> |
|
142 | 142 | <table style="display:<?php if ($v_smtp_relay == 'true'){echo 'block';} else {echo 'none';} ?>;" id="smtp_relay_table"> |
143 | 143 | <tr> |
144 | 144 | <td class="u-pt6"> |
145 | | - <?=_('Host');?> |
146 | | - </td> |
147 | | - </tr> |
148 | | - <tr> |
149 | | - <td> |
150 | | - <input type="text" class="vst-input" name="v_smtp_relay_host" value="<?=htmlentities(trim($v_smtp_relay_host, "'"))?>"> |
| 145 | + <label for="v_smtp_relay_host" class="form-label"><?=_('Host');?></label> |
| 146 | + <input type="text" class="form-control u-input-width" name="v_smtp_relay_host" id="v_smtp_relay_host" value="<?=htmlentities(trim($v_smtp_relay_host, "'"))?>"> |
151 | 147 | </td> |
152 | 148 | </tr> |
153 | 149 | <tr> |
154 | 150 | <td class="u-pt6"> |
155 | | - <?=_('Port');?> |
156 | | - </td> |
157 | | - </tr> |
158 | | - <tr> |
159 | | - <td> |
160 | | - <input type="text" class="vst-input" name="v_smtp_relay_port" value="<?=htmlentities(trim($v_smtp_relay_port, "'"))?>"> |
| 151 | + <label for="v_smtp_relay_port" class="form-label"><?=_('Port');?></label> |
| 152 | + <input type="text" class="form-control u-input-width" name="v_smtp_relay_port" id="v_smtp_relay_port" value="<?=htmlentities(trim($v_smtp_relay_port, "'"))?>"> |
161 | 153 | </td> |
162 | 154 | </tr> |
163 | 155 | <tr> |
164 | 156 | <td class="u-pt6"> |
165 | | - <?=_('Username');?> |
166 | | - </td> |
167 | | - </tr> |
168 | | - <tr> |
169 | | - <td> |
170 | | - <input type="text" class="vst-input" name="v_smtp_relay_user" value="<?=htmlentities(trim($v_smtp_relay_user, "'"))?>"> |
| 157 | + <label for="v_smtp_relay_user" class="form-label"><?=_('Username');?></label> |
| 158 | + <input type="text" class="form-control u-input-width" name="v_smtp_relay_user" id="v_smtp_relay_user" value="<?=htmlentities(trim($v_smtp_relay_user, "'"))?>"> |
171 | 159 | </td> |
172 | 160 | </tr> |
173 | 161 | <tr> |
174 | 162 | <td class="u-pt6"> |
175 | | - <?=_('Password');?> |
176 | | - </td> |
177 | | - </tr> |
178 | | - <tr> |
179 | | - <td> |
180 | | - <input type="text" class="vst-input" name="v_smtp_relay_pass"> |
| 163 | + <label for="v_smtp_relay_pass" class="form-label"><?=_('Password');?></label> |
| 164 | + <input type="text" class="form-control u-input-width" name="v_smtp_relay_pass" id="v_smtp_relay_pass"> |
181 | 165 | </td> |
182 | 166 | </tr> |
183 | 167 | </table> |
|
0 commit comments