- tags improvement : pass to templates all fields in table #tags (handy for plugins such as type tags)

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2410 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2008-07-01 02:10:13 +00:00
parent 8908a2d01d
commit ecb61ba267
2 changed files with 17 additions and 16 deletions
+12 -9
View File
@@ -91,16 +91,19 @@ foreach ($tags as $tag)
{
$template->assign_block_vars(
'tag',
array(
'URL' => make_index_url(
array(
'tags' => array($tag),
)
),
array_merge(
$tag,
array(
'URL' => make_index_url(
array(
'tags' => array($tag),
)
),
'NAME' => $tag['name'],
'TITLE' => $tag['counter'],
'CLASS' => 'tagLevel'.$tag['level'],
'NAME' => $tag['name'],
'TITLE' => $tag['counter'],
'CLASS' => 'tagLevel'.$tag['level'],
)
)
);
}