From 05cfbfb3c504cbe3d7dde2e3250b2546acc57b14 Mon Sep 17 00:00:00 2001 From: bergware Date: Sun, 6 Oct 2019 09:10:32 +0200 Subject: [PATCH] Main page: style alignment --- plugins/dynamix/include/DeviceList.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/dynamix/include/DeviceList.php b/plugins/dynamix/include/DeviceList.php index fa8b1ac74..788bf1b89 100644 --- a/plugins/dynamix/include/DeviceList.php +++ b/plugins/dynamix/include/DeviceList.php @@ -63,7 +63,7 @@ function device_info(&$disk,$online) { $ctrl = " style='cursor:pointer' onclick=\"toggle_state('$type','$name','$action')\""; $help .= "
Click to spin $action device"; } - $status = "$help"; + $status = "$help"; $link = ($disk['type']=='Parity' && strpos($disk['status'],'_NP')===false) || ($disk['type']=='Data' && $disk['status']!='DISK_NP') || ($disk['type']=='Cache' && $disk['status']!='DISK_NP') || @@ -74,22 +74,22 @@ function device_info(&$disk,$online) { if (!vfs_luks($disk['fsType'])) $luks = ""; else - $luks = "Device to be encrypted"; + $luks = "Device to be encrypted"; break; case 1: if ($online) { - $luks = "Device encrypted and unlocked"; + $luks = "Device encrypted and unlocked"; break; } /* fall thru */ case 2: - $luks = "Device encrypted"; + $luks = "Device encrypted"; break; case 3: - $luks = "Device locked: wrong encryption key"; + $luks = "Device locked: wrong encryption key"; break; default: - $luks = "Device locked: unknown error"; + $luks = "Device locked: unknown error"; break; } else $luks = ''; return $status.$luks.$link; @@ -370,7 +370,7 @@ case 'flash': $disk['fsUsed'] = $disk['fsSize']-$disk['fsFree']; $flash = &$sec['flash']; $share = ""; if ($var['shareSMBEnabled']=='yes' && $flash['export']=='e' && $flash['security']=='public') - $share = "Flash device is set as public share
Please change share SMB security
Click on FLASH above this message
"; + $share = "Flash device is set as public share
Please change share SMB security
Click on FLASH above this message
"; echo ""; echo "".$share.device_info($disk,true).""; echo "".device_desc($disk)."";