From ad35d56491b9101df96d71cdca1333dabd65e4f4 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 | 24 ++++++++++++------------
tpl/webadmin-edit.tpl.php | 12 ++++++------
tpl/webadmin-itk.tpl.php | 2 +-
tpl/webadmin-servername.tpl.php | 6 +++---
tpl/webadmin.tpl.php | 14 +++++++-------
6 files changed, 33 insertions(+), 33 deletions(-)
diff --git a/inc/webadmin-edit.php b/inc/webadmin-edit.php
index c8a579f..6ae1795 100644
--- a/inc/webadmin-edit.php
+++ b/inc/webadmin-edit.php
@@ -217,10 +217,10 @@ if (isset($_GET['del']) ) {
}
}
else {
- print "Ajout d'un serveralias
";
+ print "Ajout d'un alias
";
print "";
}
} else {
- print "Modification du ServerName
";
+ print "Modification du Servername
";
print "
";
if (is_superadmin()) {
diff --git a/tpl/webadmin-itk.tpl.php b/tpl/webadmin-itk.tpl.php
index 7d1f596..9554eea 100644
--- a/tpl/webadmin-itk.tpl.php
+++ b/tpl/webadmin-itk.tpl.php
@@ -22,7 +22,7 @@
- ServerName |
+ Servername |
Utilisateur |
Action';
diff --git a/tpl/webadmin-servername.tpl.php b/tpl/webadmin-servername.tpl.php
index 5e218cb..90930a9 100644
--- a/tpl/webadmin-servername.tpl.php
+++ b/tpl/webadmin-servername.tpl.php
@@ -13,7 +13,7 @@
?>
-ServerNames
+Servernames
- ServerName |
+ Servername |
Action';
} ?>
@@ -43,7 +43,7 @@
Aucun ServerName existant pour le domaine $domain !";
+ print "Aucun Servername existant pour le domaine $domain !
";
}
diff --git a/tpl/webadmin.tpl.php b/tpl/webadmin.tpl.php
index 67e6981..1d1f52d 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']);
@@ -105,11 +105,11 @@
printf('Alias - ', $vhost_info['owner']);
printf('Servername - ', $vhost_info['owner']);
if(is_multiphp()) {
- printf('PHP', $vhost_info['owner']);
+ printf('PHP - ', $vhost_info['owner']);
} else {
- printf('ITK', $vhost_info['owner']);
+ printf('ITK - ', $vhost_info['owner']);
}
- printf(' - Supprimer', $vhost_info['owner']);
+ printf('Supprimer', $vhost_info['owner']);
printf('');
}