mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
merge r11040 from branch 2.2 to trunk
bug 1786 fixed: ability to prefilter the synchronize screen with a specific album by clicking on the new "Synchronize" icon on album admin page or album admin list. This is not the solution proposed by Gotcha (ie a treeview to select the album on the synchronize screen) but it solves the same problem. git-svn-id: http://piwigo.org/svn/trunk@11041 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -307,6 +307,13 @@ foreach ($categories as $category)
|
||||
$tpl_cat['U_DELETE'] = $self_url.'&delete='.$category['id'];
|
||||
$tpl_cat['U_DELETE'].= '&pwg_token='.get_pwg_token();
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($conf['enable_synchronization'])
|
||||
{
|
||||
$tpl_cat['U_SYNC'] = $base_url.'site_update&site=1&cat_id='.$category['id'];
|
||||
}
|
||||
}
|
||||
|
||||
if ( array_key_exists($category['id'], $categories_with_images) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user