Revision: 349 http://opencsw.svn.sourceforge.net/opencsw/?rev=349&view=rev Author: wbonnet Date: 2011-02-27 22:45:20 +0000 (Sun, 27 Feb 2011)
Log Message: ----------- Add uwatch statistics Modified Paths: -------------- web/wordpresscsw/wp-content/plugins/opencsw/opencsw.php Modified: web/wordpresscsw/wp-content/plugins/opencsw/opencsw.php =================================================================== --- web/wordpresscsw/wp-content/plugins/opencsw/opencsw.php 2011-02-27 22:44:00 UTC (rev 348) +++ web/wordpresscsw/wp-content/plugins/opencsw/opencsw.php 2011-02-27 22:45:20 UTC (rev 349) @@ -88,6 +88,7 @@ '^qa/statistics/packages$' => 'index.php?qaStatisticsPackages=full' , '^qa/statistics/upgrades$' => 'index.php?qaStatisticsUpgrade=full' , '^qa/statistics/maintainers$' => 'index.php?qaStatisticsMaintainers=full' , + '^qa/statistics/bugs$' => 'index.php?qaStatisticsBugs=full' , '^qa/packages?/(.+)' => 'index.php?qaPackageName=' . $wp_rewrite->preg_index(1) , '^qa/maintainers?/(.+)' => 'index.php?qaMaintainerName=' . $wp_rewrite->preg_index(1) , @@ -131,6 +132,7 @@ $qvars[] = 'qaPackageWaitingForUnstable'; $qvars[] = 'qaPackageWaitingForGar'; $qvars[] = 'qaStatistics'; + $qvars[] = 'qaStatisticsBugs'; $qvars[] = 'qaStatisticsUwatch'; $qvars[] = 'qaStatisticsGar'; $qvars[] = 'qaStatisticsPackages'; @@ -216,6 +218,18 @@ } // Test if the arg qaMaintainerName is in the query string + if ( $wp_query->get('qaStatisticsBugs') ) + { + // Yes, thus we are display a detailled maintainer page, not the full list + if (file_exists( TEMPLATEPATH . '/qa-statistics-bugs.php' )) + { + // File exist, thus lets include the template + include( TEMPLATEPATH . '/qa-statistics-bugs.php' ); + exit; + } + } + + // Test if the arg qaMaintainerName is in the query string if ( $wp_query->get('qaStatisticsGar') ) { // Yes, thus we are display a detailled maintainer page, not the full list This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel