diff options
Diffstat (limited to 'Report')
-rw-r--r-- | Report/Box/06_Downloads.php | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Report/Box/06_Downloads.php b/Report/Box/06_Downloads.php new file mode 100644 index 0000000..22951be --- /dev/null +++ b/Report/Box/06_Downloads.php @@ -0,0 +1,41 @@ +<?php +/** + * Downloads reporting box. + * + * PHP version 5 + * + * @category Dashboard + * @package Buildsystem + * @author Romain d'Alverny <rda@mageia.org> + * @license MIT License, see LICENSE.txt + * @link http://svnweb.mageia.org/svn/soft/dashboard/ +*/ + +/** +*/ +class Report_Box_Downloads extends Report_Box +{ + /** + */ + var $title = "Downloads"; + + /** + */ + function _get_var_definitions() { + return array( + 'mirrors' => '%d mirrors', + 'out-of-sync' => '%d are out-of-sync', + 'isos' => '%d ISOs published', + 'iso-downloads' => '%d downloaded ISOs' + ); + } + + /** + */ + function _get_links() + { + return 'View <a href="http://check.mageia.org/">youri-check report</a>'; + } + + +} |