aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-05-25 16:34:29 +0000
committerRomain d'Alverny <rda@mageia.org>2011-05-25 16:34:29 +0000
commitf5384103924907b239b204bdee8d63a8be872ade (patch)
tree011761f45b65b76740c07ced177ef40f575598da
parent093a86346ba165fb02567bdf3cfb6228be64e896 (diff)
downloaddashboard-f5384103924907b239b204bdee8d63a8be872ade.tar
dashboard-f5384103924907b239b204bdee8d63a8be872ade.tar.gz
dashboard-f5384103924907b239b204bdee8d63a8be872ade.tar.bz2
dashboard-f5384103924907b239b204bdee8d63a8be872ade.tar.xz
dashboard-f5384103924907b239b204bdee8d63a8be872ade.zip
downloads report - placeholder
-rw-r--r--Report/Box/06_Downloads.php41
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>';
+ }
+
+
+}