print_submit_row($vbphrase['rebuild_thread_information']); print_form_header('misc', 'updateforum'); print_table_header($vbphrase['rebuild_forum_information'], 2, 0); print_input_row($vbphrase['number_of_forums_to_process_per_cycle'], 'perpage', 100); print_submit_row($vbphrase['rebuild_forum_information']); print_form_header('misc', 'lostusers'); print_table_header($vbphrase['fix_broken_user_profiles']); print_description_row($vbphrase['finds_users_without_complete_entries']); print_submit_row($vbphrase['fix_broken_user_profiles'], NULL); if ($maintainAll) { print_form_header('misc', 'doindextypes'); print_table_header($vbphrase['rebuild_search_index'], 2, 0); print_description_row(construct_phrase($vbphrase['note_reindexing_empty_indexes_x'], vB::getCurrentSession()->get('sessionurl'))); //don't use array_merge, it will (incorrectly) assume that the keys are index values //instead of meaningful numeric keys and renumber them. $channelTypes = vB_Channel::getChannelTypes(); $types = array(0 => $vbphrase['all']); foreach ($channelTypes as $nodeId => $type) { $types[$nodeId] = $vbphrase[$type['label']]; } print_select_row($vbphrase['search_content_type_to_index'], 'indextypes', $types); print_input_row($vbphrase['search_items_batch'], 'perpage', 250); print_input_row($vbphrase['search_start_item_id'], 'startat', 0); print_yes_no_row($vbphrase['include_automatic_javascript_redirect'], 'autoredirect', 1); print_description_row($vbphrase['note_server_intensive']); print_submit_row($vbphrase['rebuild_search_index']); } print_form_header('misc', 'truncatesigcache'); print_table_header($vbphrase['empty_signature_cache']); print_description_row($vbphrase['change_output_signatures_empty_cache']); print_submit_row($vbphrase['empty_signature_cache'], NULL);