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.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'admin/batch_manager.php') diff --git a/admin/batch_manager.php b/admin/batch_manager.php index b333ca9ac..c1d3687d4 100644 --- a/admin/batch_manager.php +++ b/admin/batch_manager.php @@ -360,6 +360,18 @@ if (in_array($page['tab'], $tab_codes)) $tabsheet->select($page['tab']); $tabsheet->assign(); +// +-----------------------------------------------------------------------+ +// | tags | +// +-----------------------------------------------------------------------+ + +$query = ' +SELECT + id AS tag_id, + name AS tag_name + FROM '.TAGS_TABLE.' +;'; +$template->assign('tags', get_taglist($query)); + // +-----------------------------------------------------------------------+ // | open specific mode | // +-----------------------------------------------------------------------+ -- cgit v1.2.3