function advsearch($option) { $document =& JFactory::getDocument(); $document->setTitle(JText::_('Advanced search')); advsearch_cache($option); }
function advsearch( $option ) { $title = JText::_( 'Advanced search' ); setTitle($title); advsearch_cache( $option ); }