'all', 'title' => LAN_SEARCH_58); $advanced_caption['id'] = 'type'; $advanced_caption['title']['all'] = LAN_SEARCH_59; foreach ($search_prefs['comments_handlers'] as $h_key => $value) { if (check_class($value['class'])) { $path = ($value['dir'] == 'core') ? e_HANDLER.'search/comments_'.$h_key.'.php' : e_PLUGIN.$value['dir'].'/search/search_comments.php'; require_once($path); $advanced['type']['list'][] = array('id' => 's_'.$value['id'], 'title' => $comments_title); $advanced_caption['title']['s_'.$value['id']] = LAN_SEARCH_60.' '.$comments_title; } } $advanced['date']['type'] = 'date'; $advanced['date']['text'] = LAN_DATE_POSTED.':'; $advanced['author']['type'] = 'author'; $advanced['author']['text'] = LAN_SEARCH_61.':'; ?>