mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-12 03:33:01 +02:00
category random replaced by a more generic category : list. You give a list
of element identifiers and it creates a page virtual temporary category. random.php generates a randomized list of element id visible to the user (according to permissions) and redirects to category.php. Major problem : elements order is in id ascending order, I don't know how to change order when having id1,id2,id3 and id2,id3,id1 (the display order is the same) git-svn-id: http://piwigo.org/svn/trunk@605 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -105,6 +105,10 @@ while ($row = mysql_fetch_array($result))
|
||||
{
|
||||
$url_link.= '&search='.$_GET['search'];
|
||||
}
|
||||
else if ($page['cat'] == 'list')
|
||||
{
|
||||
$url_link.= '&list='.$_GET['list'];
|
||||
}
|
||||
|
||||
$template->assign_block_vars(
|
||||
'thumbnails.line.thumbnail',
|
||||
|
||||
Reference in New Issue
Block a user