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/branches/2.2@11040 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2011-05-25 09:01:55 +00:00
parent dec961c95f
commit 663d72e063
7 changed files with 31 additions and 1 deletions
+9 -1
View File
@@ -809,8 +809,16 @@ else
'meta_all' => false,
'meta_empty_overrides' => false,
);
$cat_selected = array();
if (isset($_GET['cat_id']))
{
check_input_parameter('cat_id', $_GET, false, PATTERN_ID);
$cat_selected = array($_GET['cat_id']);
$tpl_introduction['sync'] = 'files';
}
}
$tpl_introduction['privacy_level_options'] = get_privacy_level_options();