| 1 |
<?php |
<?php |
| 2 |
// $Id: syndication.module,v 1.58.2.6 2009/03/13 22:14:51 aaron1234nz Exp $ |
// $Id: syndication.module,v 1.58.2.7 2009/03/13 23:47:17 aaron1234nz Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 83 |
} |
} |
| 84 |
|
|
| 85 |
//taxonomy |
//taxonomy |
|
$syndication_vocab = variable_get('syndication_vocabularies', array()); |
|
|
foreach ($syndication_vocab as $key => $value) { |
|
|
// Throw away the vids that aren't enabled. |
|
|
if (!$value) { |
|
|
unset($syndication_vocab[$key]); |
|
|
} |
|
|
} |
|
| 86 |
if (module_exists('taxonomy') && user_access('access content') && !empty($syndication_vocab)) { |
if (module_exists('taxonomy') && user_access('access content') && !empty($syndication_vocab)) { |
| 87 |
|
$syndication_vocab = variable_get('syndication_vocabularies', array()); |
| 88 |
|
foreach ($syndication_vocab as $key => $value) { |
| 89 |
|
// Throw away the vids that aren't enabled. |
| 90 |
|
if (!$value) { |
| 91 |
|
unset($syndication_vocab[$key]); |
| 92 |
|
} |
| 93 |
|
} |
| 94 |
$output .= theme('box', t('Categories'), syndication_vocabularies()); |
$output .= theme('box', t('Categories'), syndication_vocabularies()); |
| 95 |
} |
} |
| 96 |
|
|