From: Steve Sutton Date: Mon, 8 Feb 2010 18:06:13 +0000 (+0000) Subject: for main nav X-Git-Tag: v1.0.0~117 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=1e66494f8e847dd3ba884d611de71098ff8b79e5;p=web%2FTroutCreek.git for main nav --- diff --git a/classes/class_template.inc b/classes/class_template.inc index 4458341..a2a4d4f 100644 --- a/classes/class_template.inc +++ b/classes/class_template.inc @@ -999,18 +999,22 @@ class GLM_TEMPLATE // }}} // {{{ get_main_nav() - function get_main_nav() + function get_main_nav($topParent) { $query = "select id,category from bus_category where parent = 0 - and id not in (".HOME_ID.",".MEMBERS_CATEGORY.",7,8,9) + and id not in (".HOME_ID.",".MEMBERS_CATEGORY.") and active = 't' order by pos"; if ($data = $this->DB->pgsql_select( $query ) ){ - $out = '