Only 1 SQL query to build the list of events in the main page.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 10 Nov 2007 19:18:15 +0000 (20:18 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 10 Nov 2007 19:18:15 +0000 (20:18 +0100)
commitc321aa99efb2ced7b3785a1e9b50d3fb19edd4a9
treee9e97ca4383564c68651711d0e4c60161864bffb
parentb0964579d21c249228d7c88d600cb7ceaf287efa
Only 1 SQL query to build the list of events in the main page.
(was at least 4, at most 8)

This implies we fetch all the data (even the text of the events the user
marked as read), but this is lighter than doing multiple queries.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
modules/events.php
templates/events/index.tpl