indent + fix typo
This commit is contained in:
parent
c5b6db810f
commit
7ed492470c
|
@ -32,9 +32,11 @@
|
||||||
<th>Replication</th>
|
<th>Replication</th>
|
||||||
<th>Master</th>
|
<th>Master</th>
|
||||||
<th>Slave</th>
|
<th>Slave</th>
|
||||||
<?php if(is_superadmin()) {
|
<?php
|
||||||
|
}
|
||||||
|
if(is_superadmin()) {
|
||||||
print '<th>Alias</th>';
|
print '<th>Alias</th>';
|
||||||
}} ?>
|
} ?>
|
||||||
<tr>
|
<tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -47,35 +49,34 @@
|
||||||
$vhost_info['server_name'], $vhost_info['server_name']);
|
$vhost_info['server_name'], $vhost_info['server_name']);
|
||||||
|
|
||||||
if ($conf['cluster']) {
|
if ($conf['cluster']) {
|
||||||
if (empty($vhost_info['bdd']))
|
if (empty($vhost_info['bdd']))
|
||||||
printf('<td bgcolor="#696969"/>');
|
printf('<td bgcolor="#696969"/>');
|
||||||
else
|
else
|
||||||
printf('<td>%s</td>', $vhost_info['bdd']);
|
printf('<td>%s</td>', $vhost_info['bdd']);
|
||||||
|
|
||||||
if (empty($vhost_info['mail']))
|
if (empty($vhost_info['mail']))
|
||||||
printf('<td bgcolor="#696969" />');
|
printf('<td bgcolor="#696969" />');
|
||||||
else if ($vhost_info['mail'] == 'gmail')
|
else if ($vhost_info['mail'] == 'gmail')
|
||||||
printf('<td><img src="/img/gmail.gif" alt="Gmail" /></td>');
|
printf('<td><img src="/img/gmail.gif" alt="Gmail" /></td>');
|
||||||
else printf('<td><img src="/img/evolix.gif" alt="Evolix" /></td>');
|
else printf('<td><img src="/img/evolix.gif" alt="Evolix" /></td>');
|
||||||
|
|
||||||
if (empty($vhost_info['replication']))
|
if (empty($vhost_info['replication']))
|
||||||
printf('<td bgcolor="#696969"/>');
|
printf('<td bgcolor="#696969"/>');
|
||||||
else
|
else
|
||||||
printf('<td>%s</td>', $vhost_info['replication']);
|
printf('<td>%s</td>', $vhost_info['replication']);
|
||||||
printf('<td>%s</td>', $vhost_info['master']);
|
printf('<td>%s</td>', $vhost_info['master']);
|
||||||
if (empty($vhost_info['slave']))
|
if (empty($vhost_info['slave']))
|
||||||
printf('<td bgcolor="#696969"/>');
|
printf('<td bgcolor="#696969"/>');
|
||||||
else
|
else
|
||||||
printf('<td>%s</td>', $vhost_info['slave']);
|
printf('<td>%s</td>', $vhost_info['slave']);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
printf('<td>%s</td>', $vhost_info['server_alias']);
|
printf('<td>%s</td>', $vhost_info['server_alias']);
|
||||||
}
|
}
|
||||||
if (is_superadmin()) {
|
if (is_superadmin()) {
|
||||||
printf('<td><a href="/webadmin/edit/%s">Lister/Modifier</a></td>',
|
printf('<td><a href="/webadmin/edit/%s">Lister/Modifier</a></td>',
|
||||||
$vhost_info['owner']);
|
$vhost_info['owner']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue