Index: trunk/extensions/ContributionReporting/ContributionReporting.php |
— | — | @@ -57,8 +57,6 @@ |
58 | 58 | $wgSpecialPageGroups['FundraiserStatistics'] = 'contribution'; |
59 | 59 | $wgSpecialPageGroups['ContributionTrackingStatistics'] = 'contribution'; |
60 | 60 | |
61 | | - |
62 | | - |
63 | 61 | // Shortcut to this extension directory |
64 | 62 | $dir = dirname( __FILE__ ) . '/'; |
65 | 63 | |
— | — | @@ -110,7 +108,6 @@ |
111 | 109 | // Cache timeout for fundraiser statistics, in seconds |
112 | 110 | $egFundraiserStatisticsCacheTimeout = 900; // 15 minutes |
113 | 111 | |
114 | | - |
115 | 112 | $wgContributionTrackingStatisticsViewWeeks = 3; |
116 | 113 | |
117 | 114 | $wgHooks['ParserFirstCallInit'][] = 'efContributionReportingSetup'; |
— | — | @@ -185,7 +182,6 @@ |
186 | 183 | */ |
187 | 184 | function efContributionReportingTotal( $start, $fudgeFactor ) { |
188 | 185 | $db = efContributionReportingConnection(); |
189 | | - #$db = wfGetDB( DB_MASTER ); |
190 | 186 | |
191 | 187 | $sql = 'SELECT ROUND( SUM(converted_amount) ) AS ttl FROM public_reporting'; |
192 | 188 | |
— | — | @@ -216,8 +212,9 @@ |
217 | 213 | $start = false; |
218 | 214 | |
219 | 215 | foreach( $args as $arg ) { |
220 | | - if ( strpos($arg,'=') === false ) |
| 216 | + if ( strpos($arg,'=') === false ) { |
221 | 217 | continue; |
| 218 | + } |
222 | 219 | |
223 | 220 | list($key,$value) = explode( '=', trim($arg), 2 ); |
224 | 221 | |
Index: trunk/extensions/ContributionReporting/FundraiserStatistics.css |
— | — | @@ -21,11 +21,11 @@ |
22 | 22 | cursor: pointer; |
23 | 23 | } |
24 | 24 | div#configtoggle a, div#configtoggle a:visited { |
25 | | - background-image: url("arrow.png"); |
26 | | - background-position: 0px -3px; |
27 | | - background-repeat: no-repeat; |
28 | | - padding-left: 16px; |
29 | | - outline: 0; |
| 25 | + background-image: url("arrow.png"); |
| 26 | + background-position: 0px -3px; |
| 27 | + background-repeat: no-repeat; |
| 28 | + padding-left: 16px; |
| 29 | + outline: 0; |
30 | 30 | } |
31 | 31 | |
32 | 32 | .fundraiserstats-view-box { |