diff --git a/htdocs/index.php b/htdocs/index.php index 9f7e73b..b1010bb 100755 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -56,7 +56,7 @@ if (!array_key_exists('auth', $_SESSION) || $_SESSION['auth']!=1) { include_once EVOADMIN_BASE . '../inc/webadmin-itk.php'; -} elseif (preg_match('#^/webadmin/php/(.*)/?$#', $uri, $params)) { +} elseif (preg_match('#^/webadmin/(.*)/php/$#', $uri, $params)) { include_once EVOADMIN_BASE . '../inc/webadmin-php.php'; diff --git a/inc/webadmin-php.php b/inc/webadmin-php.php index 6afba03..4eb1eed 100644 --- a/inc/webadmin-php.php +++ b/inc/webadmin-php.php @@ -56,7 +56,7 @@ else { if ($exec_return == 0) { print "
"; - printf ('

La version de PHP bien été modifié

'); + printf ('

La version de PHP a bien été modifiée

'); printf ('

Retour à liste des comptes

'); print "
"; @@ -64,7 +64,7 @@ else { else { print "
"; printf ('

ERREUR

'); - printf ('

Une erreur innatendue s\'est produite

'); + printf ('

Une erreur inattendue s\'est produite

'); if ($conf['debug'] == TRUE) { print '
';
diff --git a/tpl/webadmin.tpl.php b/tpl/webadmin.tpl.php
index 35a5915..192d52c 100755
--- a/tpl/webadmin.tpl.php
+++ b/tpl/webadmin.tpl.php
@@ -95,6 +95,7 @@
             printf('%s', $vhost_info['quota_hard']);
             printf('%s', $vhost_info['occupation']);
           }
+
           if (array_key_exists('php_versions', $conf) && count($conf['php_versions']) > 1) {
             printf('%s', preg_replace("/^(\d)(\d)$/", '\1.\2', $vhost_info['php_version']));
           }
@@ -105,7 +106,7 @@
               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']);
               }