xnetevents: fix user count in event administration page.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 16 Jun 2013 19:17:37 +0000 (21:17 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 16 Jun 2013 19:17:37 +0000 (21:17 +0200)
commitf9e8637a15063c845f976e4489e5535cf61143a9
treee917c28a48d65e68a6937cc4db3ef1e014512114
parente9e97a07a899d7583b0391a16d86fa427104ebcf
xnetevents: fix user count in event administration page.

There were several issues:
* the number of registered users was never displayed even if the phrasing
  suggested it.
* the number of lines in the 'all' view was broken because it contained
  the sum all the number of lines of all the 'moments' independently (as a
  consequence, the number of pages was always over-estimated).

Closes: #1655
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
modules/xnetevents.php
modules/xnetevents/xnetevents.inc.php
templates/xnetevents/admin.tpl