mirror of
https://github.com/unraid/webgui.git
synced 2026-04-24 02:58:57 -05:00
Bug fixes
This commit is contained in:
@@ -53,7 +53,7 @@ function my_temp($value) {
|
||||
return is_numeric($value) ? (($unit=='F' ? round(9/5*$value+32) : str_replace('.', $number[0], $value))." $unit") : $value;
|
||||
}
|
||||
function my_disk($name) {
|
||||
return ucfirst(preg_replace('/^([a-z_-]+)(\d+)$/','$1 $2',$name));
|
||||
return ucfirst(preg_replace('/(\d+)$/',' $1',$name));
|
||||
}
|
||||
function my_disks($disk) {
|
||||
return strpos($disk['status'],'_NP')===false;
|
||||
|
||||
Reference in New Issue
Block a user