/[drupal]/contributions/modules/og_vocab/og_vocab.admin.inc
ViewVC logotype

Diff of /contributions/modules/og_vocab/og_vocab.admin.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.4, Tue Feb 17 19:03:01 2009 UTC revision 1.1.2.5, Sun Oct 4 09:17:03 2009 UTC
# Line 1  Line 1 
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
# Line 24  function og_vocab_admin_overview_vocabul Line 24  function og_vocab_admin_overview_vocabul
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')) {

Legend:
Removed from v.1.1.2.4  
changed lines
  Added in v.1.1.2.5

  ViewVC Help
Powered by ViewVC 1.1.2