From 1ffa0ef4e78ec725c7c579e56fb610535f915792 Mon Sep 17 00:00:00 2001
From: Nicolas Roman
Date: Thu, 16 May 2019 10:57:05 +0200
Subject: [PATCH] normalize title names
---
inc/webadmin-edit.php | 8 ++++----
inc/webadmin-servername.php | 4 ++--
tpl/webadmin-edit.tpl.php | 4 ++--
tpl/webadmin-itk.tpl.php | 2 +-
tpl/webadmin-servername.tpl.php | 6 +++---
tpl/webadmin.tpl.php | 10 +++++-----
6 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/inc/webadmin-edit.php b/inc/webadmin-edit.php
index b52a528..7e63681 100644
--- a/inc/webadmin-edit.php
+++ b/inc/webadmin-edit.php
@@ -222,10 +222,10 @@ elseif (isset($params[2]) && $params[2] == "add") {
}
}
else {
- print "Ajout d'un serveralias
";
+ print "Ajout d'un alias
";
print "
";
+ print "Aucun Servername existant pour le domaine $domain !
";
}
diff --git a/tpl/webadmin.tpl.php b/tpl/webadmin.tpl.php
index 0fd15c6..5ccba08 100755
--- a/tpl/webadmin.tpl.php
+++ b/tpl/webadmin.tpl.php
@@ -22,9 +22,9 @@
Propriétaire';
+ print 'Virtual Host | ';
} ?>
- Domaine |
+ Servername |
Alias';
}
@@ -61,7 +61,7 @@
if(is_superadmin()) {
printf('%s | ', $vhost_info['owner']);
}
- printf('http://%s | ',
+ printf('%s | ',
$vhost_info['server_name'], $vhost_info['server_name']);
if ($conf['cluster']) {
@@ -87,7 +87,7 @@
printf('%s | ', $vhost_info['slave']);
}
- printf('%s | ', preg_replace('/,/','
',$vhost_info['server_alias']));
+ printf('%s | ', preg_replace('/,/','
',$vhost_info['server_alias']));
if ($conf['quota']) {
printf('%s | ', $vhost_info['size']);
@@ -110,7 +110,7 @@
} else {
printf('ITK', $vhost_info['owner']);
}
- printf(' - Supprimer', $vhost_info['owner']);
+ printf('Supprimer', $vhost_info['owner']);
printf('');
}