This commit is contained in:
2018-09-14 13:50:27 -07:00
parent a7716a08cc
commit 34de0a92c9
4 changed files with 218 additions and 156 deletions

View File

@@ -27,7 +27,7 @@ class ProgressBar {
self::$time_remain = floor($seconds/$progress)-$seconds;
self::$time_update = time();
}
$message = gmdate("H:i:s",self::$time_remain)." | ".$message;
$message = gmdate("H:i:s",self::$time_remain)." ".$message;
}
if ($message) {
@@ -76,6 +76,15 @@ function getParents($zpath, $pathname) {
}
*/
function statToArray($stat) {
foreach (explode(" ",$stat) as $part) {
$value = explode("=",$part);
$out[$value[0]] = $value[1];
}
return $out;
}
function stepString() {
global $wopt_steps;
global $wopt_currstep;