[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opencsw-devel
Subject:    [csw-devel] SF.net SVN: opencsw:[349] web/wordpresscsw/wp-content/plugins/opencsw/ opencsw.php
From:       wbonnet () users ! sourceforge ! net (wbonnet at users ! sourceforge ! net)
Date:       2011-02-27 22:45:20
Message-ID: E1PtpMe-0001fw-Pt () sfp-svn-4 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic