| 1 |
<?php |
<?php |
| 2 |
// $Id: og_vocab.admin.inc,v 1.1.2.3 2009/01/05 14:37:43 amitaibu Exp $ |
// $Id: og_vocab.admin.inc,v 1.1.2.4 2009/02/17 19:03:01 amitaibu Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 24 |
$types = array(); |
$types = array(); |
| 25 |
foreach ($vocabulary->nodes as $type) { |
foreach ($vocabulary->nodes as $type) { |
| 26 |
$node_type = node_get_types('name', $type); |
$node_type = node_get_types('name', $type); |
| 27 |
$types[] = $node_type ? $node_type : $type; |
$types[] = $node_type ? t($node_type) : t($type); |
| 28 |
} |
} |
| 29 |
$row = array( |
$row = array( |
| 30 |
check_plain($vocabulary->name), |
check_plain(t($vocabulary->name)), |
| 31 |
check_plain(implode(', ', $types)), |
check_plain(implode(', ', $types)), |
| 32 |
); |
); |
| 33 |
if (user_access('edit own group vocabulary')) { |
if (user_access('edit own group vocabulary')) { |