aboutsummaryrefslogtreecommitdiffstats
path: root/Report/Box/06_Downloads.php
blob: 22951beecef2afffdfadbe46094e41bcc1d012b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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>';
    }


}