svn: /web/php-bugs/trunk/www/ index.php

From: Date: Tue, 19 Jul 2011 21:40:09 +0000
Subject: svn: /web/php-bugs/trunk/www/ index.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11705@lists.php.net to get a copy of this message
philip Tue, 19 Jul 2011 21:40:09 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=313451 Log: Added a few common searches to the front page, as requested by Florian. Feel free to update. In theory 'base' can change. Changed paths: U web/php-bugs/trunk/www/index.php Modified: web/php-bugs/trunk/www/index.php =================================================================== --- web/php-bugs/trunk/www/index.php 2011-07-19 21:35:20 UTC (rev 313450) +++ web/php-bugs/trunk/www/index.php 2011-07-19 21:40:09 UTC (rev 313451) @@ -62,6 +62,38 @@ <a href="search-howto.php">search howto</a> for instructions on how search works.</p> +<p>Common searches</p> +<ul> +<?php + $base_default = 'https://bugs.php.net/search.php?boolean=0&limit=30&order_by=id&direction=DESC&cmd=display&status=Open&bug_age=0&bug_updated=0'; + $searches = array( + 'Most recent open bugs (all)' => array( + 'base' => $base_default, + 'suffix' => '&bug_type=All', + ), + 'Most recent open bugs (PHP 5.3)' => array( + 'base' => $base_default, + 'suffix' => '&bug_type=All&phpver=5.3', + ), + 'Most recent open bugs (PHP 5.4)' => array( + 'base' => $base_default, + 'suffix' => '&bug_type=All&phpver=5.4', + ), + 'Open Documentation bugs' => array( + 'base' => $base_default, + 'suffix' => '&bug_type=Documentation+Problem', + ), + 'Open Documentation bugs (with patches)' => array( + 'base' => $base_default, + 'suffix' => '&bug_type=Documentation+Problem&patch=Y', + ), + ); + foreach ($searches as $title => $linfo) { + echo '<li><a href="', $linfo['base'], $linfo['suffix'], '">', $title, '</a></li>', PHP_EOL; + } +?> +</ul> + <h1>Bug System Statistics</h1> <p>You can view a variety of statistics about the bugs that have been

« previous php.webmaster (#11705) next »