?> <script language="javascript"> // at page loading, we only expand the first release of the package, and collapse the others var cpt_release; $H(packages).keys().each(function(package_id) { cpt_release = 0; $H(packages[package_id]).keys().each(function(release_id) { if (cpt_release > 0) { //Element.toggle(package_id + release_id); toggle_release(package_id, release_id); } cpt_release++; }); }); </script> <?php } // project totals (statistics) if (isset($proj_stats['size'])) { $total_size = FRSFile::convertBytesToKbytes($proj_stats['size']); print '<p>'; print '<b>' . $Language->getText('file_showfiles', 'proj_total') . ': </b>'; print $proj_stats['releases'] . ' ' . $Language->getText('file_showfiles', 'stat_total_nb_releases') . ', '; print $proj_stats['files'] . ' ' . $Language->getText('file_showfiles', 'stat_total_nb_files') . ', '; print $total_size . ' ' . $Language->getText('file_showfiles', 'stat_total_size') . ', '; print $proj_stats['downloads'] . ' ' . $Language->getText('file_showfiles', 'stat_total_nb_downloads') . '.'; print '</p>'; } file_utils_footer($params);