diff --git a/tpl/webadmin.tpl.php b/tpl/webadmin.tpl.php
index 13b0847..546f3a9 100755
--- a/tpl/webadmin.tpl.php
+++ b/tpl/webadmin.tpl.php
@@ -32,9 +32,11 @@
Replication |
Master |
Slave |
- Alias';
- }} ?>
+ } ?>
@@ -47,35 +49,34 @@
$vhost_info['server_name'], $vhost_info['server_name']);
if ($conf['cluster']) {
- if (empty($vhost_info['bdd']))
- printf(' | ');
- else
- printf('%s | ', $vhost_info['bdd']);
+ if (empty($vhost_info['bdd']))
+ printf(' | ');
+ else
+ printf('%s | ', $vhost_info['bdd']);
- if (empty($vhost_info['mail']))
- printf(' | ');
- else if ($vhost_info['mail'] == 'gmail')
- printf(' | ');
- else printf(' | ');
+ if (empty($vhost_info['mail']))
+ printf(' | ');
+ else if ($vhost_info['mail'] == 'gmail')
+ printf(' | ');
+ else printf(' | ');
- if (empty($vhost_info['replication']))
- printf(' | ');
- else
- printf('%s | ', $vhost_info['replication']);
- printf('%s | ', $vhost_info['master']);
- if (empty($vhost_info['slave']))
- printf(' | ');
- else
- printf('%s | ', $vhost_info['slave']);
- }
- else {
- printf('%s | ', $vhost_info['server_alias']);
- }
- if (is_superadmin()) {
- printf('Lister/Modifier | ',
- $vhost_info['owner']);
+ if (empty($vhost_info['replication']))
+ printf(' | ');
+ else
+ printf('%s | ', $vhost_info['replication']);
+ printf('%s | ', $vhost_info['master']);
+ if (empty($vhost_info['slave']))
+ printf(' | ');
+ else
+ printf('%s | ', $vhost_info['slave']);
+ }
+ else {
+ printf('%s | ', $vhost_info['server_alias']);
+ }
+ if (is_superadmin()) {
+ printf('Lister/Modifier | ',
+ $vhost_info['owner']);
}
-
print '';