From 961b4e7a874cea8b0984cd53775f7467ba199b80 Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 19 Oct 2009 12:33:32 -0200 Subject: Checking for child terms --- jquery_drawer.module | 76 +++++++++++++--------------------------------------- 1 file changed, 19 insertions(+), 57 deletions(-) (limited to 'jquery_drawer.module') diff --git a/jquery_drawer.module b/jquery_drawer.module index 4a49162..7dad139 100644 --- a/jquery_drawer.module +++ b/jquery_drawer.module @@ -121,21 +121,22 @@ function theme_jquery_drawer($menu) { /** * Menu callback. + * + * @TODO: split themeable output from logic. */ function jquery_drawer_page($tid = NULL) { - // First render all nodes whose parent is $term + $output = ''; + $nodes = taxonomy_select_nodes(array($tid)); + $output .= '