From ef19a77f6e4c3749d7d8cb819d7323339bf4bf37 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 25 May 2011 09:18:32 +0000 Subject: 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 --- admin/cat_modify.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'admin/cat_modify.php') diff --git a/admin/cat_modify.php b/admin/cat_modify.php index 8f99a9155..3c944ce7b 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -270,6 +270,15 @@ else $category['cat_full_dir'] ) ) ); + + if ($conf['enable_synchronization']) + { + $template->assign( + 'U_SYNC', + $base_url.'site_update&site=1&cat_id='.$category['id'] + ); + } + } // representant management -- cgit v1.2.3