mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-11 11:13:02 +02:00
* related albums * move albums * search albums
This commit is contained in:
@@ -79,6 +79,8 @@ SELECT id, name, id_uppercat
|
||||
$result = pwg_query($query);
|
||||
while ($row = pwg_db_fetch_assoc($result))
|
||||
{
|
||||
$row['name'] = trigger_change('render_category_name', $row['name'], 'admin_cat_list');
|
||||
|
||||
if ($order_by_date)
|
||||
{
|
||||
$sort[] = $ref_dates[ $row['id'] ];
|
||||
@@ -136,6 +138,8 @@ $associatedTree = array();
|
||||
|
||||
foreach ($allAlbum as $album)
|
||||
{
|
||||
$album['name'] = trigger_change('render_category_name', $album['name'], 'admin_cat_list');
|
||||
|
||||
$parents = explode(',',$album['uppercats']);
|
||||
$the_place = &$associatedTree[strval($parents[0])];
|
||||
for ($i=1; $i < count($parents); $i++)
|
||||
|
||||
Reference in New Issue
Block a user