Subversion Repositories ALCASAR

Rev

Rev 3322 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3322 Rev 3324
Line 532... Line 532...
532
					foreach ($connected_prims as $prim) {
532
					foreach ($connected_prims as $prim) {
533
						?>
533
						?>
534
						<tr>
534
						<tr>
535
							<td><?php 
535
							<td><?php 
536
								$master_host = $prim["Master_Host"];
536
								$master_host = $prim["Master_Host"];
537
								if ($master_host = "127.0.0.1") {
537
								if ($master_host == "127.0.0.1") {
538
									echo "$master_host";
538
									echo "localhost";
539
								} else {
539
								} else {
540
									echo "$l_not_connected";
540
									echo "$master_host";
541
								}
541
								}
542
							?></td>
542
							?></td>
543
							<td><?= $prim["Connection_name"] ?></td>
543
							<td><?= $prim["Connection_name"] ?></td>
544
							<td><?php
544
							<td><?php
545
								if ($conf['REPLICATION_TO'] == "") { echo "$l_role_secondary"; }
545
								if ($conf['REPLICATION_TO'] == "") { echo "$l_role_secondary"; }
Line 600... Line 600...
600
					<summary><?= $l_error_details ?></summary>
600
					<summary><?= $l_error_details ?></summary>
601
					<textarea readonly cols=50 rows=10><?= $errors_msg[$section."_error"] ?></textarea>
601
					<textarea readonly cols=50 rows=10><?= $errors_msg[$section."_error"] ?></textarea>
602
				</details>
602
				</details>
603
			<?php } ?>
603
			<?php } ?>
604
		</td>
604
		</td>
605
		<?php if (isset($conf['REPLICATION']) && ($conf['REPLICATION'] == "secondary")) { ?>
605
		<?php if (isset($conf['REPLICATION'])) { ?>
606
		<td width="50%" valign="middle" align="center">
606
		<td width="50%" valign="middle" align="center">
607
			<?php $section = "add_replica" ?>
607
			<?php $section = "add_replica" ?>
608
			<form id="form_add_remote" action="<?= htmlspecialchars($_SERVER['PHP_SELF']) ?>" method="POST">
608
			<form id="form_add_remote" action="<?= htmlspecialchars($_SERVER['PHP_SELF']) ?>" method="POST">
609
			<input type="hidden" name="choice" value="<?= $section ?>">
609
			<input type="hidden" name="choice" value="<?= $section ?>">
610
				<table cellspacing="2" cellpadding="3" border="1">
610
				<table cellspacing="2" cellpadding="3" border="1">