Ignore:
Timestamp:
Jul 1, 2008, 4:10:13 AM (16 years ago)
Author:
rvelices
Message:
  • tags improvement : pass to templates all fields in table #tags (handy for plugins such as type tags)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_7/tags.php

    r1912 r2410  
    9292  $template->assign_block_vars(
    9393    'tag',
    94     array(
    95       'URL' => make_index_url(
    96         array(
    97           'tags' => array($tag),
    98           )
    99         ),
     94    array_merge(
     95      $tag,
     96      array(
     97        'URL' => make_index_url(
     98          array(
     99            'tags' => array($tag),
     100            )
     101          ),
    100102
    101       'NAME' => $tag['name'],
    102       'TITLE' => $tag['counter'],
    103       'CLASS' => 'tagLevel'.$tag['level'],
     103        'NAME' => $tag['name'],
     104        'TITLE' => $tag['counter'],
     105        'CLASS' => 'tagLevel'.$tag['level'],
     106        )
    104107      )
    105108    );
Note: See TracChangeset for help on using the changeset viewer.