/[drupal]/contributions/modules/ubrowser/ubrowser.module
ViewVC logotype

Diff of /contributions/modules/ubrowser/ubrowser.module

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

revision 1.2, Thu Feb 8 16:58:41 2007 UTC revision 1.3, Tue Mar 6 21:28:12 2007 UTC
# Line 181  function ubrowser_display($settings = NU Line 181  function ubrowser_display($settings = NU
181    if ($settings['vid'] > 0) {    if ($settings['vid'] > 0) {
182      $tree = taxonomy_get_tree($settings['vid']);      $tree = taxonomy_get_tree($settings['vid']);
183      $options = array();      $options = array();
184      if ($tree && (count($tree) > 1)) {      if ($tree && (count($tree) > 0)) {
185        foreach ($tree as $term) {        foreach ($tree as $term) {
186          $options[$term->tid] = str_repeat('-', $term->depth) . $term->name;          $options[$term->tid] = str_repeat('-', $term->depth) . $term->name;
187        }        }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2