From 065685c0f38240ae2c8e0bc7bdcfc1b66350b07d Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 16 Oct 2009 11:30:49 -0300 Subject: Conformance with global variable naming convention --- jquery_drawer.module | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'jquery_drawer.module') diff --git a/jquery_drawer.module b/jquery_drawer.module index dd73f27..a0a4b01 100644 --- a/jquery_drawer.module +++ b/jquery_drawer.module @@ -122,7 +122,7 @@ function jquery_drawer_page($tid = null) { // First render all nodes whose parent is $term $output = ''; - $nodes = taxonomy_select_nodes(array($tid)); + $nodes = taxonomy_select_nodes(array($tid)); while ($node = db_fetch_object($nodes)) { $link['title'] = $node->title; @@ -167,25 +167,25 @@ function jquery_drawer_page($tid = null) { */ function jquery_drawer_menu_build($term) { - global $jquery_drawer_id; + global $_jquery_drawer_id; - if ($jquery_drawer_id == null) { - $jquery_drawer_id = 0; + if ($_jquery_drawer_id == null) { + $_jquery_drawer_id = 0; } - $jquery_drawer_id++; + $_jquery_drawer_id++; if (isset($term->tid)) { $output .= '
  • '; $output .= $term->name; if (isset($term->below)) { - $output .= '