From 2aa7a7a5659defe82994957d367a05c2d1182720 Mon Sep 17 00:00:00 2001 From: Ludovic Poujol Date: Fri, 29 Mar 2019 15:56:35 +0100 Subject: [PATCH] Only display the PHP version change link on multi-php install (Also means the ITK setting doesn't matter and should not be displayed) --- tpl/webadmin.tpl.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tpl/webadmin.tpl.php b/tpl/webadmin.tpl.php index 3ae37f0..689559a 100755 --- a/tpl/webadmin.tpl.php +++ b/tpl/webadmin.tpl.php @@ -104,8 +104,11 @@ printf(''); printf('Alias - ', $vhost_info['owner']); printf('Servername - ', $vhost_info['owner']); - printf('ITK - ', $vhost_info['owner']); - printf('PHP', $vhost_info['owner']); + if(is_multiphp()) { + printf('PHP', $vhost_info['owner']); + } else { + printf('ITK', $vhost_info['owner']); + } printf(''); }