|
180 | 180 | <table style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="version"> |
181 | 181 | <tr> |
182 | 182 | <td class="vst-text step-top"> |
183 | | - <?php print _('Version'); ?> |
184 | | - </td> |
185 | | - </tr> |
186 | | - <tr> |
187 | | - <td> |
188 | | - <input type="text" size="20" class="vst-input" name="v_version" value="<?php echo $_SESSION['VERSION']; ?>" disabled> |
189 | | - <br><br> |
| 183 | + <?php print _('Version'); ?>: <span class="optional"><?php echo $_SESSION['VERSION']; ?></span> |
190 | 184 | </td> |
191 | 185 | </tr> |
| 186 | + <?php if ($_SESSION['RELEASE_BRANCH'] !== 'release') {?> |
192 | 187 | <tr> |
193 | 188 | <td class="vst-text input-label"> |
194 | | - <?php print _('Release'); ?> |
195 | | - </td> |
196 | | - </tr> |
197 | | - <tr> |
198 | | - <td> |
199 | | - <input type="text" size="20" class="vst-input" name="v_release_branch" value="<?php echo $_SESSION['RELEASE_BRANCH']; ?>"> |
200 | | - <br><br> |
| 189 | + <?php print _('Release'); ?>: <span class="optional"><?php echo $_SESSION['RELEASE_BRANCH'] ?></span> |
201 | 190 | </td> |
202 | 191 | </tr> |
| 192 | + <?}?> |
203 | 193 | <tr> |
204 | 194 | <td class="vst-text input-label"> |
205 | 195 | <?php print _('Options'); ?> |
|
236 | 226 | <?php if (!empty($_SESSION['PROXY_SYSTEM'])) { ?> |
237 | 227 | <tr> |
238 | 228 | <td class="vst-text"> |
239 | | - <?php print _('Proxy Server') ?> <a href="/edit/server/<? echo $_SESSION['PROXY_SYSTEM'] ?>/"><i class="fas fa-pencil-alt status-icon orange icon-pad-right"></i></a> |
240 | | - </td> |
241 | | - </tr> |
242 | | - <tr> |
243 | | - <td> |
244 | | - <input type="text" size="20" class="vst-input" name="v_proxy_system" value="<?php echo $_SESSION['PROXY_SYSTEM']; ?>" disabled> |
245 | | - <br><br> |
| 229 | + <?php print _('Proxy Server') ?>: <span class="optional"><?php echo $_SESSION['PROXY_SYSTEM']; ?> <a href="/edit/server/<? echo $_SESSION['PROXY_SYSTEM'] ?>/"><i class="fas fa-pencil-alt status-icon orange icon-pad-right"></i></a></span> |
246 | 230 | </td> |
247 | 231 | </tr> |
248 | 232 | <?php } ?> |
| 233 | + <?php if (!empty($_SESSION['WEB_SYSTEM'])) { ?> |
249 | 234 | <tr> |
250 | 235 | <td class="vst-text"> |
251 | | - <?php print _('Web Server') ?> <a href="/edit/server/<? echo $_SESSION['WEB_SYSTEM'] ?>/"><i class="fas fa-pencil-alt status-icon orange icon-pad-right"></i></a> |
252 | | - </td> |
253 | | - </tr> |
254 | | - <tr> |
255 | | - <td> |
256 | | - <input type="text" size="20" class="vst-input" name="v_web_system" value="<?php echo $_SESSION['WEB_SYSTEM']; ?>" disabled> |
257 | | - <br><br> |
| 236 | + <?php print _('Web Server') ?>: <span class="optional"><?php echo $_SESSION['WEB_SYSTEM']; ?> <a href="/edit/server/<? echo $_SESSION['WEB_SYSTEM'] ?>/"><i class="fas fa-pencil-alt status-icon orange icon-pad-right"></i></a></span> |
258 | 237 | </td> |
259 | 238 | </tr> |
| 239 | + <?php } ?> |
260 | 240 | <?php if (!empty($_SESSION['WEB_BACKEND'])) { ?> |
261 | 241 | <tr> |
262 | 242 | <td class="vst-text"> |
263 | | - <?php print _('Backend Server') ?> <a href="/edit/server/<? echo $_SESSION['WEB_BACKEND'] ?>/"><i class="fas fa-pencil-alt status-icon orange icon-pad-right"></i></a> |
264 | | - </td> |
265 | | - </tr> |
266 | | - <tr> |
267 | | - <td> |
268 | | - <input type="text" size="20" class="vst-input" name="v_web_backend" value="<?php echo $_SESSION['WEB_BACKEND']; ?>" disabled> |
269 | | - <br><br> |
| 243 | + <?php print _('Backend Server') ?>: <span class="optional"><?php echo $_SESSION['WEB_BACKEND']; ?> <a href="/edit/server/<? echo $_SESSION['WEB_BACKEND'] ?>/"><i class="fas fa-pencil-alt status-icon orange icon-pad-right"></i></a></span> |
270 | 244 | </td> |
271 | 245 | </tr> |
| 246 | + <?php } ?> |
| 247 | + <?php if (!empty($_SESSION['WEB_BACKEND_POOL'])) { ?> |
272 | 248 | <tr> |
273 | 249 | <td class="vst-text"> |
274 | | - <?php print _('Backend Pool Mode') ?> |
| 250 | + <?php print _('Backend Pool Mode') ?>: <span class="optional"><?php echo $_SESSION['WEB_BACKEND_POOL']; ?></span> |
275 | 251 | </td> |
276 | 252 | </tr> |
277 | | - <tr> |
278 | | - <td> |
279 | | - <input type="text" size="20" class="vst-input" name="v_web_backend_pool" value="<?php echo $_SESSION['WEB_BACKEND_POOL']; ?>" disabled> |
280 | | - <br><br> |
281 | | - </td> |
282 | | - </tr> |
283 | | - |
284 | 253 | <?php } ?> |
285 | 254 | <?php if(count($v_php_versions)): ?> |
286 | 255 | <tr> |
287 | | - <td class="vst-text"> |
| 256 | + <td class="vst-text step-top"> |
288 | 257 | <?php print _('Enabled multi PHP versions') ?> |
289 | 258 |
|
290 | 259 | <span class="alert alert-info alert-with-icon"> |
|
335 | 304 | <table style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="dns"> |
336 | 305 | <tr> |
337 | 306 | <td class="vst-text step-top"> |
338 | | - <?php print _('DNS Server') ?> <a href="/edit/server/<? echo $_SESSION['DNS_SYSTEM'] ?>/"><i class="fas fa-pencil-alt status-icon orange icon-pad-right"></i></a> |
339 | | - </td> |
340 | | - </tr> |
341 | | - <tr> |
342 | | - <td> |
343 | | - <input type="text" size="20" class="vst-input" name="v_dns_system" value="<?php echo $_SESSION['DNS_SYSTEM']; ?>" disabled> |
344 | | - <br><br> |
| 307 | + <?php print _('DNS Server') ?>: <span class="optional"><?php echo $_SESSION['DNS_SYSTEM']; ?> <a href="/edit/server/<? echo $_SESSION['DNS_SYSTEM'] ?>/"><i class="fas fa-pencil-alt status-icon orange icon-pad-right"></i></a></span> |
345 | 308 | </td> |
346 | 309 | </tr> |
347 | | - |
348 | 310 | <tr> |
349 | 311 | <td class="vst-text input-label"> |
350 | | - <?php print _('DNS Cluster');?> |
351 | | - </td> |
352 | | - </tr> |
353 | | - <tr> |
354 | | - <td> |
355 | | - <select class="vst-list" name="v_dns_cluster" disabled> |
356 | | - <option value='no'><?php print _('no'); ?></option> |
357 | | - <option value='yes' <?php if($v_dns_cluster == 'yes') echo 'selected' ?> ><?php print _('yes'); ?></option> |
358 | | - </select> |
359 | | - <br><br> |
| 312 | + <?php print _('DNS Cluster');?>: <span class="optional"><? if ($v_dns_cluster == 'yes') { echo 'Yes'; } else { echo 'No'; } ?></span> |
360 | 313 | </td> |
361 | 314 | </tr> |
362 | 315 | <?php if ($v_dns_cluster = 'yes') { |
|
365 | 318 | $i++; |
366 | 319 | ?> |
367 | 320 | <tr> |
368 | | - <td class="vst-text step-left"> |
| 321 | + <td class="vst-text"> |
369 | 322 | <?php print _('Host'). ' #'.$i ?> |
370 | 323 | </td> |
371 | 324 | </tr> |
372 | 325 | <tr> |
373 | | - <td class="step-left"> |
| 326 | + <td class="vst-text"> |
374 | 327 | <input type="text" size="20" class="vst-input" name="v_dns_remote_host" value="<?php echo $key; ?>" disabled> |
375 | | - <br><br> |
376 | 328 | </td> |
377 | 329 | </tr> |
378 | 330 | <?php }} ?> |
| 331 | + <tr> |
| 332 | + <td><br></td> |
| 333 | + </tr> |
379 | 334 | </table> |
380 | 335 | </td> |
381 | 336 | </tr> |
382 | | - |
383 | | - |
384 | 337 | <tr> |
385 | 338 | <td class="vst-text input-label step-top advanced-options"> |
386 | 339 | <a href="javascript:elementHideShow('mail');" class="vst-text"> |
|
393 | 346 | <table style="display:<?php if (empty($v_mail_adv)) echo 'none';?> ;" id="mail"> |
394 | 347 | <tr> |
395 | 348 | <td class="vst-text step-top"> |
396 | | - <?php print _('Mail Server') ?> <a href="/edit/server/<? echo $_SESSION['MAIL_SYSTEM'] ?>/"><i class="fas fa-pencil-alt status-icon orange icon-pad-right"></i></a> |
397 | | - </td> |
398 | | - </tr> |
399 | | - <tr> |
400 | | - <td> |
401 | | - <input type="text" size="20" class="vst-input" name="v_mail_system" value="<?php echo $_SESSION['MAIL_SYSTEM']; ?>" disabled> |
402 | | - <br><br> |
| 349 | + <?php print _('Mail Server') ?>: <span class="optional"><?php echo $_SESSION['MAIL_SYSTEM']; ?> <a href="/edit/server/<? echo $_SESSION['MAIL_SYSTEM'] ?>/"><i class="fas fa-pencil-alt status-icon orange icon-pad-right"></i></a></span> |
403 | 350 | </td> |
404 | 351 | </tr> |
405 | 352 | <?php if (!empty($_SESSION['ANTIVIRUS_SYSTEM'])) { ?> |
406 | 353 | <tr> |
407 | 354 | <td class="vst-text"> |
408 | | - <?php print _('Antivirus') ?> <a href="/edit/server/<? echo $_SESSION['ANTIVIRUS_SYSTEM'] ?>/"><i class="fas fa-pencil-alt status-icon orange icon-pad-right"></i></a> |
409 | | - </td> |
410 | | - </tr> |
411 | | - <tr> |
412 | | - <td> |
413 | | - <input type="text" size="20" class="vst-input" name="v_antivirus_system" value="<?php echo $_SESSION['ANTIVIRUS_SYSTEM']; ?>" disabled> |
414 | | - <br><br> |
| 355 | + <?php print _('Antivirus') ?>: <span class="optional"><?php echo $_SESSION['ANTIVIRUS_SYSTEM']; ?> <a href="/edit/server/<? echo $_SESSION['ANTIVIRUS_SYSTEM'] ?>/"><i class="fas fa-pencil-alt status-icon orange icon-pad-right"></i></a></span> |
415 | 356 | </td> |
416 | 357 | </tr> |
417 | 358 | <?php } ?> |
418 | 359 | <?php if (!empty($_SESSION['ANTISPAM_SYSTEM'])) { ?> |
419 | 360 | <tr> |
420 | 361 | <td class="vst-text"> |
421 | | - <?php print _('AntiSpam') ?> <a href="/edit/server/<? echo $_SESSION['ANTISPAM_SYSTEM'] ?>/"><i class="fas fa-pencil-alt status-icon orange icon-pad-right"></i></a> |
422 | | - </td> |
423 | | - </tr> |
424 | | - <tr> |
425 | | - <td> |
426 | | - <input type="text" size="20" class="vst-input" name="v_antispam_system" value="<?php echo $_SESSION['ANTISPAM_SYSTEM']; ?>" disabled> |
427 | | - <br><br> |
| 362 | + <?php print _('AntiSpam') ?>: <span class="optional"><?php echo $_SESSION['ANTISPAM_SYSTEM']; ?> <a href="/edit/server/<? echo $_SESSION['ANTISPAM_SYSTEM'] ?>/"><i class="fas fa-pencil-alt status-icon orange icon-pad-right"></i></a></span> |
428 | 363 | </td> |
429 | 364 | </tr> |
430 | 365 | <?php } ?> |
431 | 366 | <?php if($_SESSION['WEBMAIL_SYSTEM']){?> |
432 | 367 | <tr> |
433 | | - <td class="vst-text"> |
| 368 | + <td class="vst-text step-top"> |
434 | 369 | <?php print _('Webmail URL') ?> |
435 | 370 | </td> |
436 | 371 | </tr> |
|
442 | 377 | </tr> |
443 | 378 | <?php } ?> |
444 | 379 | <tr> |
445 | | - <td class="vst-text"> |
| 380 | + <td class="vst-text"> |
446 | 381 | <label> |
447 | 382 | <input type="checkbox" size="20" class="vst-checkbox" name="v_smtp_relay" <?php if ($v_smtp_relay == 'true') echo "checked=yes"; ?> onclick="javascript:elementHideShow('smtp_relay_table');"><?php print _('Global SMTP Relay');?> |
448 | 383 | </label> |
|
0 commit comments