Browse Source

syntax and html errors

pull/40/head
nonmakina 3 years ago
parent
commit
662e488943
  1. 5
      templates/themes/categories/news.html
  2. 2
      templates/themes/categories/theme.php

5
templates/themes/categories/news.html

@ -40,7 +40,7 @@
<tbody>
<tr>
<td class="minimal">
<span>{% trans Total %}</span>
<span>{% trans "Total" %}</span>
</td>
<td class="minimal">
<span>{{ stats.pph }}</span>
@ -56,7 +56,8 @@
</td>
<td class="minimal">
<span>{{ boardStat.pph }}</span>
</td class="minimal">
</td>
<td class="minimal">
<span>{{ boardStat.recent_ips }}</span>
</td>
</tr>

2
templates/themes/categories/theme.php

@ -136,7 +136,7 @@
}
$stats['recent_ips'] = count($unique);
$stats['pph'] = count(array_column($stats['board'], 'pph'));
$stats['pph'] = count(array_column($stats['boards'], 'pph'));
return $stats;
}

Loading…
Cancel
Save