KernelTools::tra( 'All Content' ) ]; foreach( $gLibertySystem->mContentTypes as $cType ) { if (SearchLib::has_permission($cType["content_type_guid"]) and ( ! $gBitSystem->getConfig('search_restrict_types') || $gBitSystem->getConfig('search_pkg_'.$cType["content_type_guid"]) ) ) { $contentTypes[$cType['content_type_guid']] = $gLibertySystem->getContentTypeName( $cType['content_type_guid'] ); } } } $gBitSmarty->assign( 'contentTypes', $contentTypes );