			return GWF_HTML::err('ERR_MODULE_MISSING', array('Category'));
		}
		
		$langid = GWF_Language::getCurrentID();
		$data = array('0' => $mod_cat->lang('th_sel'));
		if (false !== ($cats = GWF_Category::getAllCategoriesCached()))
		{
			foreach ($cats as $cat)
			{
				$cat instanceof GWF_Category;
				$cat->loadTranslations();
				$trans = $cat->getTranslation($langid);