From c9b7beb12f38890631ab12c8086b1bff28eed4a4 Mon Sep 17 00:00:00 2001 From: patdenice Date: Wed, 25 May 2011 09:00:46 +0000 Subject: Load tags for tokeninput directly in html page. Ajax is too slow. git-svn-id: http://piwigo.org/svn/trunk@11039 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/batch_manager_unit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin/batch_manager_unit.php') diff --git a/admin/batch_manager_unit.php b/admin/batch_manager_unit.php index aa28b856e..b7ca074d7 100644 --- a/admin/batch_manager_unit.php +++ b/admin/batch_manager_unit.php @@ -108,7 +108,7 @@ SELECT id, date_creation // tags management if (isset($_POST[ 'tags-'.$row['id'] ])) { - $tag_ids = get_fckb_tag_ids($_POST[ 'tags-'.$row['id'] ]); + $tag_ids = get_tag_ids($_POST[ 'tags-'.$row['id'] ]); set_tags($tag_ids, $row['id']); } } @@ -256,7 +256,7 @@ SELECT JOIN '.TAGS_TABLE.' AS t ON t.id = it.tag_id WHERE image_id = '.$row['id'].' ;'; - $tag_selection = get_fckb_taglist($query); + $tag_selection = get_taglist($query); $template->append( 'elements', -- cgit v1.2.3