| 1 |
<?php |
<?php |
| 2 |
// $Id: syndication.module,v 1.58.2.10 2009/04/09 06:10:07 aaron1234nz Exp $ |
// $Id: syndication.module,v 1.58.2.11 2009/04/17 10:21:07 aaron1234nz Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 201 |
$vocab = taxonomy_vocabulary_load($vid); |
$vocab = taxonomy_vocabulary_load($vid); |
| 202 |
$tree = taxonomy_get_tree($vid); |
$tree = taxonomy_get_tree($vid); |
| 203 |
$items = syndication_taxonomy_build_list_items($index = 0, $tree); |
$items = syndication_taxonomy_build_list_items($index = 0, $tree); |
| 204 |
|
$columns = array(); |
| 205 |
if ($items) { |
if ($items) { |
| 206 |
$col_num = $vocab_number % $syndication_columns; |
$col_num = $vocab_number % $syndication_columns; |
| 207 |
$columns[$col_num] .= theme('item_list', $items, t($vocab->name)); |
$columns[$col_num] .= theme('item_list', $items, t($vocab->name)); |