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:
parent
8e43a0fec1
commit
e81260cdec
4 changed files with 44 additions and 3 deletions
|
|
@ -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');
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue