themeobject = $themeobject; if (isset($qa_content['navigation']['cat'])) { $nav = $qa_content['navigation']['cat']; } else { $selectspec = qa_db_category_nav_selectspec(null, true, false, true); $selectspec['caching'] = array( 'key' => 'qa_db_category_nav_selectspec:default:full', 'ttl' => qa_opt('caching_catwidget_time'), ); $navcategories = qa_db_single_select($selectspec); $nav = qa_category_navigation($navcategories); } $this->themeobject->output('

' . qa_lang_html('main/nav_categories') . '

'); $this->themeobject->set_context('nav_type', 'cat'); $this->themeobject->nav_list($nav, 'nav-cat', 1); $this->themeobject->nav_clear('cat'); $this->themeobject->clear_context('nav_type'); } }