added dynamic package description tootips

updated tablesorter to v2.25.0
add tablesorter widgets
(filter, saveSort, stickyHeaders, hover highlight)
added cli options to packagemanager script
This commit is contained in:
Derek Macias
2016-01-10 03:23:15 -07:00
parent 71e7008acd
commit 0495315d4f
13 changed files with 7204 additions and 50 deletions

View File

@ -3,6 +3,7 @@
// Progress bar for curl download
function progress_bar($download_size, $downloaded_size, $upload_size = null, $uploaded_size = null)
{
ob_start();
static $previousProgress = 0;
if ($download_size == 0)
@ -29,12 +30,13 @@ function progress_bar($download_size, $downloaded_size, $upload_size = null, $up
echo $status_bar;
ob_flush();
flush();
if($progress == 100) {
echo "\n";
}
}
ob_end_flush();
}
// Download a file from given url
@ -81,4 +83,4 @@ function file_check_sha($file, $sha){
$return = ($sha_file == $sha) ? true : false;
return $return;
}
?>
?>