Revision: 300 http://opencsw.svn.sourceforge.net/opencsw/?rev=300&view=rev Author: wbonnet Date: 2011-02-20 09:31:43 +0000 (Sun, 20 Feb 2011)
Log Message: ----------- Push maintainer activity QA page 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-20 09:18:03 UTC (rev 299) +++ web/wordpresscsw/wp-content/plugins/opencsw/opencsw.php 2011-02-20 09:31:43 UTC (rev 300) @@ -80,6 +80,7 @@ '^qa/packages/gar/missing$' => 'index.php?qaGarMissing=full' , '^qa/maintainers/retired' => 'index.php?qaRetiredMaintainers=full' , + '^qa/maintainers/activity' => 'index.php?qaMaintainersActivity=full' , '^qa/packages?/(.+)' => 'index.php?qaPackageName=' . $wp_rewrite->preg_index(1) , '^qa/maintainers?/(.+)' => 'index.php?qaMaintainerName=' . $wp_rewrite->preg_index(1) , @@ -110,6 +111,7 @@ $qvars[] = 'qaMaintainerName'; $qvars[] = 'qaMaintainers'; $qvars[] = 'qaRetiredMaintainers'; + $qvars[] = 'qaMaintainersActivity'; $qvars[] = 'qaOrphanedPackages'; $qvars[] = 'maintainerFullName'; $qvars[] = 'composeEmail'; @@ -328,6 +330,18 @@ } } + // Test if the arg qaMaintainersActivity is in the query string + if ( $wp_query->get('qaMaintainersActivity') ) + { + // Yes, thus we are display a detailled package page, not the full list + if (file_exists( TEMPLATEPATH . '/qa-maintainers-activity.php' )) + { + // File exist, thus lets include the template + include( TEMPLATEPATH . '/qa-maintainers-activity.php' ); + exit; + } + } + // Test if the arg qaRetiredMaintainers is in the query string if ( $wp_query->get('qaRetiredMaintainers') ) { 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