|
171 | 171 | <br><br> |
172 | 172 | </td> |
173 | 173 | </tr> |
| 174 | + <tr> |
| 175 | + <td class="vst-text"> |
| 176 | + <?php print __('Backend Pool Mode') ?> |
| 177 | + </td> |
| 178 | + </tr> |
| 179 | + <tr> |
| 180 | + <td> |
| 181 | + <input type="text" size="20" class="vst-input" name="v_web_backend_pool" value="<?php echo $_SESSION['WEB_BACKEND_POOL']; ?>" disabled> |
| 182 | + <br><br> |
| 183 | + </td> |
| 184 | + </tr> |
| 185 | + |
174 | 186 | <?php } ?> |
175 | 187 | </table> |
176 | 188 | </td> |
|
206 | 218 | </tr> |
207 | 219 | <tr> |
208 | 220 | <td> |
209 | | - <?php if ($v_dns_cluster != 'yes') {?> |
210 | 221 | <select class="vst-list" name="v_dns_cluster" disabled> |
211 | 222 | <option value='no'><?php print __('no'); ?></option> |
| 223 | + <option value='yes' <?php if($v_dns_cluster == 'yes') echo 'selected' ?> ><?php print __('yes'); ?></option> |
212 | 224 | </select> |
213 | | - <?php } else { ?> |
214 | | - <textarea size="20" class="vst-textinput" name="v_dns_cluster"><?php foreach ($dns_cluster as $key => $value) echo $key . "\n"; ?></textarea> |
215 | | - <?php } ?> |
| 225 | + <br><br><br> |
| 226 | + </td> |
| 227 | + </tr> |
| 228 | + <?php if ($v_dns_cluster = 'yes') { |
| 229 | + $i = 0; |
| 230 | + foreach ($dns_cluster as $key => $value) { |
| 231 | + $i++; |
| 232 | + ?> |
| 233 | + <tr> |
| 234 | + <td class="vst-text step-left"> |
| 235 | + <?php print __('Host'). ' #'.$i ?> |
| 236 | + </td> |
| 237 | + </tr> |
| 238 | + <tr> |
| 239 | + <td class="step-left"> |
| 240 | + <input type="text" size="20" class="vst-input" name="v_dns_remote_host" value="<?php echo $key; ?>" disabled> |
216 | 241 | <br><br> |
217 | 242 | </td> |
218 | 243 | </tr> |
| 244 | + <?php }} ?> |
219 | 245 | </table> |
220 | 246 | </td> |
221 | 247 | </tr> |
|
269 | 295 | </tr> |
270 | 296 | <?php } ?> |
271 | 297 | <tr> |
272 | | - <td class="vst-text input-label"> |
273 | | - <?php print __('NONE');?> |
274 | | - <br><br><br> |
| 298 | + <td class="vst-text"> |
| 299 | + <?php print __('Webmail URL') ?> |
| 300 | + </td> |
| 301 | + </tr> |
| 302 | + <tr> |
| 303 | + <td> |
| 304 | + <input type="text" size="20" class="vst-input" name="v_mail_url" value="<?php echo $_SESSION['MAIL_URL']; ?>"> |
| 305 | + <br><br> |
275 | 306 | </td> |
276 | 307 | </tr> |
277 | 308 | </table> |
|
289 | 320 | </tr> |
290 | 321 | <tr> |
291 | 322 | <td class="vst-text input-label step-left"> |
292 | | - <table style="display:<?php if (empty($v_adv)) echo 'none';?> ;" id="db"> |
| 323 | + <table style="display:<?php if (empty($v_db_adv)) echo 'none';?> ;" id="db"> |
293 | 324 | <tr> |
294 | 325 | <td class="vst-text input-label"> |
295 | | - <?php print __('NONE');?> |
296 | | - <br><br><br> |
| 326 | + <?php print __('MySQL Support');?> |
| 327 | + </td> |
| 328 | + </tr> |
| 329 | + <tr> |
| 330 | + <td> |
| 331 | + <select class="vst-list" name="v_mysql" disabled> |
| 332 | + <option value='no'><?php print __('no'); ?></option> |
| 333 | + <option value='yes' <?php if($v_mysql == 'yes') echo 'selected' ?> ><?php print __('yes'); ?></option> |
| 334 | + </select> |
| 335 | + <br><br> |
| 336 | + </td> |
| 337 | + </tr> |
| 338 | + <?php if ($v_mysql == 'yes') { ?> |
| 339 | + <tr> |
| 340 | + <td class="vst-text"> |
| 341 | + <?php print __('phpMyAdmin URL') ?> |
| 342 | + </td> |
| 343 | + </tr> |
| 344 | + <tr> |
| 345 | + <td> |
| 346 | + <input type="text" size="20" class="vst-input" name="v_mysql_url" value="<?php echo $_SESSION['DB_PMA_URL']; ?>"> |
| 347 | + <br><br> |
| 348 | + </td> |
| 349 | + </tr> |
| 350 | + <?php } ?> |
| 351 | + <?php if ($v_mysql == 'yes') { |
| 352 | + $i = 0; |
| 353 | + foreach ($v_mysql_hosts as $key => $value) { |
| 354 | + $i++; |
| 355 | + ?> |
| 356 | + <tr> |
| 357 | + <td class="vst-text step-left"> |
| 358 | + <?php print __('Host'). ' #'.$i ?> |
| 359 | + </td> |
| 360 | + </tr> |
| 361 | + <tr> |
| 362 | + <td class="step-left"> |
| 363 | + <input type="text" size="20" class="vst-input" name="v_mysql_host" value="<?php echo $key; ?>" disabled> |
| 364 | + <br><br> |
| 365 | + </td> |
| 366 | + </tr> |
| 367 | + <tr> |
| 368 | + <td class="vst-text step-left"> |
| 369 | + <?php print __('Password') ?> |
| 370 | + </td> |
| 371 | + </tr> |
| 372 | + <tr> |
| 373 | + <td class="step-left"> |
| 374 | + <input type="text" size="20" class="vst-input" name="v_mysql_password" value=""> |
| 375 | + <br><br> |
| 376 | + </td> |
| 377 | + </tr> |
| 378 | + |
| 379 | + <tr> |
| 380 | + <td class="vst-text step-left"> |
| 381 | + <?php print __('Maximum Number Of Databases') ?> |
| 382 | + </td> |
| 383 | + </tr> |
| 384 | + <tr> |
| 385 | + <td class="step-left"> |
| 386 | + <input type="text" size="20" class="vst-input" name="v_mysql_max" value="<?php echo $value['MAX_DB']; ?>" disabled> |
| 387 | + <br><br> |
| 388 | + </td> |
| 389 | + </tr> |
| 390 | + <tr> |
| 391 | + <td class="vst-text step-left"> |
| 392 | + <?php print __('Current Number Of Databases') ?> |
| 393 | + </td> |
| 394 | + </tr> |
| 395 | + <tr> |
| 396 | + <td class="step-left"> |
| 397 | + <input type="text" size="20" class="vst-input" name="v_mysql_max" value="<?php echo $value['U_DB_BASES']; ?>" disabled> |
| 398 | + <br><br><br><br> |
| 399 | + </td> |
| 400 | + </tr> |
| 401 | + <?php }} ?> |
| 402 | + |
| 403 | + |
| 404 | + <tr> |
| 405 | + <td class="vst-text input-label"> |
| 406 | + <?php print __('PostgreSQL Support');?> |
| 407 | + </td> |
| 408 | + </tr> |
| 409 | + <tr> |
| 410 | + <td> |
| 411 | + <select class="vst-list" name="v_pgsql" disabled> |
| 412 | + <option value='no'><?php print __('no'); ?></option> |
| 413 | + <option value='yes' <?php if($v_pgsql == 'yes') echo 'selected' ?> ><?php print __('yes'); ?></option> |
| 414 | + </select> |
| 415 | + <br><br> |
| 416 | + </td> |
| 417 | + </tr> |
| 418 | + <?php if ($v_pgsql == 'yes') { ?> |
| 419 | + <tr> |
| 420 | + <td class="vst-text"> |
| 421 | + <?php print __('phpPgAdmin URL') ?> |
| 422 | + </td> |
| 423 | + </tr> |
| 424 | + <tr> |
| 425 | + <td> |
| 426 | + <input type="text" size="20" class="vst-input" name="v_pgsql_url" value="<?php echo $_SESSION['DB_PGA_URL']; ?>"> |
| 427 | + <br><br> |
| 428 | + </td> |
| 429 | + </tr> |
| 430 | + <?php } ?> |
| 431 | + <?php if ($v_pgsql == 'yes') { |
| 432 | + $i = 0; |
| 433 | + foreach ($v_pgsql_hosts as $key => $value) { |
| 434 | + $i++; |
| 435 | + ?> |
| 436 | + <tr> |
| 437 | + <td class="vst-text step-left"> |
| 438 | + <?php print __('Host'). ' #'.$i ?> |
| 439 | + </td> |
| 440 | + </tr> |
| 441 | + <tr> |
| 442 | + <td class="step-left"> |
| 443 | + <input type="text" size="20" class="vst-input" name="v_pgsql_host" value="<?php echo $key; ?>" disabled> |
| 444 | + <br><br> |
| 445 | + </td> |
| 446 | + </tr> |
| 447 | + <tr> |
| 448 | + <td class="vst-text step-left"> |
| 449 | + <?php print __('Maximum Number Of Databases') ?> |
| 450 | + </td> |
| 451 | + </tr> |
| 452 | + <tr> |
| 453 | + <td class="step-left"> |
| 454 | + <input type="text" size="20" class="vst-input" name="v_psql_max" value="<?php echo $value['MAX_DB']; ?>" disabled> |
| 455 | + <br><br> |
| 456 | + </td> |
| 457 | + </tr> |
| 458 | + <tr> |
| 459 | + <td class="vst-text step-left"> |
| 460 | + <?php print __('Current Number Of Databases') ?> |
| 461 | + </td> |
| 462 | + </tr> |
| 463 | + <tr> |
| 464 | + <td class="step-left"> |
| 465 | + <input type="text" size="20" class="vst-input" name="v_pgsql_max" value="<?php echo $value['U_DB_BASES']; ?>" disabled> |
| 466 | + <br><br><br><br> |
297 | 467 | </td> |
298 | 468 | </tr> |
| 469 | + <?php }} ?> |
299 | 470 | </table> |
300 | 471 | </td> |
301 | 472 | </tr> |
|
433 | 604 | <tr> |
434 | 605 | <td class="vst-text input-label step-top"> |
435 | 606 | <a href="javascript:elementHideShow('vesta');" class="vst-text"> |
436 | | - <b><?php print __('Vesta Control Panel Plugins');?> <img src="/images/arrow.png"></b> |
| 607 | + <b><?php print __('Vesta Control Panel Plugins');?> <span style="color:#ff6701;font-size:10px; padding:0 10px;">preview</span><img src="/images/arrow.png"></b> |
437 | 608 | </a> |
438 | 609 | </td> |
439 | 610 | </tr> |
|
0 commit comments