Issue 0000622: Optional light slideshow

(Active by default - Switch off by $conf['light_slideshow'] = false)

Order by in admin/comments.php

git-svn-id: http://piwigo.org/svn/trunk@1730 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
vdigital 2007-01-17 23:08:41 +00:00
commit e81260cdec
4 changed files with 44 additions and 3 deletions

View file

@ -139,6 +139,7 @@ SELECT c.id, c.image_id, c.date, c.author, c.content, i.path, i.tn_ext
INNER JOIN '.IMAGES_TABLE.' AS i
ON i.id = c.image_id
WHERE validated = \'false\'
ORDER BY c.date DESC
;';
$result = pwg_query($query);
while ($row = mysql_fetch_assoc($result))
@ -179,4 +180,4 @@ $template->assign_vars(
$template->assign_var_from_handle('ADMIN_CONTENT', 'comments');
?>
?>