mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
- 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:
@@ -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'],
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user