|
@@ 615-617 (lines=3) @@
|
| 612 |
|
} |
| 613 |
|
|
| 614 |
|
// Increment "edits per <time>" counts |
| 615 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 day')) { |
| 616 |
|
$data['general']['count_history']['day']++; |
| 617 |
|
} |
| 618 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 week')) { |
| 619 |
|
$data['general']['count_history']['week']++; |
| 620 |
|
} |
|
@@ 618-620 (lines=3) @@
|
| 615 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 day')) { |
| 616 |
|
$data['general']['count_history']['day']++; |
| 617 |
|
} |
| 618 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 week')) { |
| 619 |
|
$data['general']['count_history']['week']++; |
| 620 |
|
} |
| 621 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 month')) { |
| 622 |
|
$data['general']['count_history']['month']++; |
| 623 |
|
} |
|
@@ 621-623 (lines=3) @@
|
| 618 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 week')) { |
| 619 |
|
$data['general']['count_history']['week']++; |
| 620 |
|
} |
| 621 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 month')) { |
| 622 |
|
$data['general']['count_history']['month']++; |
| 623 |
|
} |
| 624 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 year')) { |
| 625 |
|
$data['general']['count_history']['year']++; |
| 626 |
|
} |
|
@@ 624-626 (lines=3) @@
|
| 621 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 month')) { |
| 622 |
|
$data['general']['count_history']['month']++; |
| 623 |
|
} |
| 624 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 year')) { |
| 625 |
|
$data['general']['count_history']['year']++; |
| 626 |
|
} |
| 627 |
|
} |
| 628 |
|
|
| 629 |
|
// add percentages |