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']] = $cType['content_description']; } } } $gBitSmarty->assign( 'contentTypes', $contentTypes ); $gBitSmarty->assign( 'searchTitle', $searchTitle ); $gBitSmarty->assign( 'miniSearchRsrc', $searchTemplateRsrc ); ?>