| 1 |
<?php |
<?php |
| 2 |
// $Id: og_vocab.module,v 1.18 2008/06/10 18:56:35 weitzman Exp $ |
// $Id: og_vocab.module,v 1.11.2.3 2008/06/17 15:06:14 weitzman Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 270 |
*/ |
*/ |
| 271 |
function og_vocab_overview_vocabularies($gid) { |
function og_vocab_overview_vocabularies($gid) { |
| 272 |
$groupnode = node_load((int)$gid); |
$groupnode = node_load((int)$gid); |
| 273 |
drupal_set_title($groupnode->title); |
drupal_set_title(check_plain($groupnode->title)); |
| 274 |
// i tried fixing breadcrumb here with drupal_set_breadcrumb() and menu_set_location() but neither is satisfactory |
// i tried fixing breadcrumb here with drupal_set_breadcrumb() and menu_set_location() but neither is satisfactory |
| 275 |
|
|
| 276 |
$links[] = l(t('add vocabulary'), "node/$gid/og/vocab/add/vocabulary", array(), drupal_get_destination()); |
$links[] = l(t('add vocabulary'), "node/$gid/og/vocab/add/vocabulary", array(), drupal_get_destination()); |