mirror of
https://github.com/unraid/webgui.git
synced 2026-04-29 22:39:20 -05:00
Multi cache pool support
This commit is contained in:
@@ -188,8 +188,8 @@ function day_count($time) {
|
||||
function plus($val, $word, $last) {
|
||||
return $val>0 ? (($val || $last) ? ($val.' '.$word.($val!=1?'s':'').($last ?'':', ')) : '') : '';
|
||||
}
|
||||
function truncate($name,$size=20) {
|
||||
return strlen($name)<=$size ? $name : substr($name,0,$size-9).'...'.substr($name,-6);
|
||||
function truncate($name,$size=20,$end=6) {
|
||||
return strlen($name)<=$size ? $name : substr($name,0,$size-$end-3).'...'.substr($name,-$end);
|
||||
}
|
||||
|
||||
function read_parity_log($epoch, $busy=false) {
|
||||
|
||||
Reference in New Issue
Block a user