Commit 3179fa12 authored by Antoine Cellerier's avatar Antoine Cellerier

add optional description

parent d2ab3453
......@@ -11,9 +11,9 @@ function DownloadSize($file) {
return round($size, 1).$ext;
}
function pkgitem($version,$name,$top)
function pkgitem($version,$name,$top,$description="")
{ ?>
<li><code><?php echo $name; ?></code> (<?php echo DownloadSize("{$_SERVER["DOCUMENT_ROOT"]}pub/videolan/$top/$version/$name"); ?>) :
<li><code><?php echo $name." ".$description; ?></code> (<?php echo DownloadSize("{$_SERVER["DOCUMENT_ROOT"]}pub/videolan/$top/$version/$name"); ?>) :
<br/>Select a download location :
<ul>
<!--<li><a href="http://download.videolan.org/pub/videolan/<?php echo $top."/".$version."/".$name; ?>">VIA, Ecole Centrale Paris (France)</a></li>-->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment