diff options
Diffstat (limited to 'themes/mageia/page_header.php')
-rw-r--r-- | themes/mageia/page_header.php | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/themes/mageia/page_header.php b/themes/mageia/page_header.php index 9a43031..46d4aec 100644 --- a/themes/mageia/page_header.php +++ b/themes/mageia/page_header.php @@ -41,18 +41,12 @@ if (!isset($_GET['package'])) { 'https://wiki.mageia.org/en/Importing_packages', 'YES you can help!', 'pick one'); - preg_match_all('/<span class="bz_result_count">(\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) { - $figures_list[] = sprintf('<strong>%d</strong> <a rel="nofollow" href="%s">update%s to validate</a> - <a href="%s" class="action-btn" title="%s">%s</a>', - $qa_bugs, + $figures_list[] = sprintf('<a rel="nofollow" href="%s">Some updates to validate</a> + <a href="%s" class="action-btn" title="%s">%s</a>', 'http://mageia.madb.org/tools/updates', - plural($qa_bugs), 'https://wiki.mageia.org/en/QA_process_for_validating_updates', 'YES you can help!', 'see how' - ); - } + ); $html_figures = null; if (count($figures_list) > 0) { |