', $txt['search_weights'], '

', $txt['help'], '
', $context['relative_weights']['search_weight_frequency'], '%
', $txt['help'], '
', $context['relative_weights']['search_weight_age'], '%
', $txt['help'], '
', $context['relative_weights']['search_weight_length'], '%
', $txt['help'], '
', $context['relative_weights']['search_weight_subject'], '%
', $txt['help'], '
', $context['relative_weights']['search_weight_first_message'], '%
', $txt['help'], '
', $context['relative_weights']['search_weight_sticky'], '%
', $txt['search_weights_total'], '
', $context['relative_weights']['total'], ' 100%



'; } function template_select_search_method() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo '

', $txt['search_method'], '

'; if (!empty($context['table_info'])) echo '
', $txt['search_method_messages_table_space'], ':
', $context['table_info']['data_length'], '
', $txt['search_method_messages_index_space'], ':
', $context['table_info']['index_length'], '
'; echo '
', $context['double_index'] ? '
' . $txt['search_double_index'] . '
' : '', '
', $txt['search_index'], '
', $txt['search_index_none'], '
'; if ($context['supports_fulltext']) { echo '
', $txt['search_method_fulltext_index'], '
'; if (empty($context['fulltext_index']) && empty($context['cannot_create_fulltext'])) echo ' ', $txt['search_index_label'], ': ', $txt['search_method_no_index_exists'], ' [', $txt['search_method_fulltext_create'], ']'; elseif (empty($context['fulltext_index']) && !empty($context['cannot_create_fulltext'])) echo ' ', $txt['search_index_label'], ': ', $txt['search_method_fulltext_cannot_create']; else echo ' ', $txt['search_index_label'], ': ', $txt['search_method_index_already_exists'], ' [', $txt['search_method_fulltext_remove'], ']
', $txt['search_index_size'], ': ', $context['table_info']['fulltext_length']; echo '
'; } echo '
', $txt['search_index_custom'], '
'; if ($context['custom_index']) echo ' ', $txt['search_index_label'], ': ', $txt['search_method_index_already_exists'], ' [', $txt['search_index_custom_remove'], ']
', $txt['search_index_size'], ': ', $context['table_info']['custom_index_length']; elseif ($context['partial_custom_index']) echo ' ', $txt['search_index_label'], ': ', $txt['search_method_index_partial'], ' [', $txt['search_index_custom_remove'], '] [', $txt['search_index_custom_resume'], ']
', $txt['search_index_size'], ': ', $context['table_info']['custom_index_length']; else echo ' ', $txt['search_index_label'], ': ', $txt['search_method_no_index_exists'], ' [', $txt['search_index_create_custom'], ']'; echo '
'; foreach ($context['search_apis'] as $api) { if (empty($api['label']) || $api['has_template']) continue; echo '
', $api['label'] ,'
'; if ($api['desc']) echo '
', $api['desc'], '
'; } echo '
', $txt['search_method'], '



'; } function template_create_index() { global $context, $settings, $options, $scripturl, $txt; echo '

', $txt['search_create_index'], '



'; } function template_create_index_progress() { global $context, $settings, $options, $scripturl, $txt; echo '

', $txt['search_create_index'], '

', $txt['search_create_index_not_ready'], '

', $context['percentage'], '%
 



'; } function template_create_index_done() { global $context, $settings, $options, $scripturl, $txt; echo '

', $txt['search_create_index'], '

', $txt['search_create_index_done'], '

', $txt['search_create_index_done_link'], '


'; } // Add or edit a search engine spider. function template_spider_edit() { global $context, $settings, $options, $scripturl, $txt; echo '

', $context['page_title'], '

', $txt['add_spider_desc'], '

', $txt['spider_name_desc'], '

', $txt['spider_agent_desc'], '

', $txt['spider_ip_info_desc'], '



'; } // Show... spider... logs... function template_show_spider_logs() { global $context, $txt, $settings, $scripturl; echo '
'; // Standard fields. template_show_list('spider_logs'); echo '

', $txt['spider_logs_delete'], '

', $txt['spider_logs_delete_older'], ' ', $txt['spider_logs_delete_day'], '


'; } // Show... spider... stats... function template_show_spider_stats() { global $context, $txt, $settings, $scripturl; echo '
'; // Standard fields. template_show_list('spider_stat_list'); echo '

', $txt['spider_logs_delete'], '

', sprintf($txt['spider_stats_delete_older'], ''), '




'; } ?>