|
@@ 728-730 (lines=3) @@
|
| 725 |
|
} |
| 726 |
|
|
| 727 |
|
// Increment "edits per <time>" counts |
| 728 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 day')) { |
| 729 |
|
$data['general']['count_history']['day']++; |
| 730 |
|
} |
| 731 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 week')) { |
| 732 |
|
$data['general']['count_history']['week']++; |
| 733 |
|
} |
|
@@ 731-733 (lines=3) @@
|
| 728 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 day')) { |
| 729 |
|
$data['general']['count_history']['day']++; |
| 730 |
|
} |
| 731 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 week')) { |
| 732 |
|
$data['general']['count_history']['week']++; |
| 733 |
|
} |
| 734 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 month')) { |
| 735 |
|
$data['general']['count_history']['month']++; |
| 736 |
|
} |
|
@@ 734-736 (lines=3) @@
|
| 731 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 week')) { |
| 732 |
|
$data['general']['count_history']['week']++; |
| 733 |
|
} |
| 734 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 month')) { |
| 735 |
|
$data['general']['count_history']['month']++; |
| 736 |
|
} |
| 737 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 year')) { |
| 738 |
|
$data['general']['count_history']['year']++; |
| 739 |
|
} |
|
@@ 737-739 (lines=3) @@
|
| 734 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 month')) { |
| 735 |
|
$data['general']['count_history']['month']++; |
| 736 |
|
} |
| 737 |
|
if (strtotime($rev['timestamp']) > strtotime('-1 year')) { |
| 738 |
|
$data['general']['count_history']['year']++; |
| 739 |
|
} |
| 740 |
|
} |
| 741 |
|
|
| 742 |
|
// add percentages |