From cafd1fd33d9a5b5da91c1353571c0369541a785c Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 27 Jun 2012 19:38:42 +0000 Subject: Link to the pending updates --- index.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index a6cc937..4add4c6 100644 --- a/index.php +++ b/index.php @@ -331,8 +331,17 @@ if ($missing_deps_count > 0 || $unmaintained_count > 0) { echo 'You can help!

'; } + +preg_match_all('/(\d+)/', file_get_contents("https://bugs.mageia.org/buglist.cgi?quicksearch=%40qa-bugs+-kw%3Avali"), $matches); +$qa_bugs = $matches[1][0]; +if ($qa_bugs > 0) { + echo "

"; + echo "$qa_bugs package updates to validate. "; + echo 'You can help!

'; +} + if ($upload_time) { - echo sprintf('

Upload in progress for %s.

', timediff($upload_time)); + echo sprintf('

Upload in progress for %s.

', timediff($upload_time)); } $buildtime_stats = array(); -- cgit v1.2.1