', template_button_strip($context['memberlist_buttons'], 'right'), '

', $txt['members_list'], ''; if (!isset($context['old_search'])) echo ' ', $context['letter_links'], ''; echo '

'; echo '
'; // Display each of the column headers of the table. foreach ($context['columns'] as $key => $column) { // Do not display the messages count column if ( $key == 'post_count' ) continue; // @TODO maybe find something nicer? if ($key == 'email_address' && !$context['can_send_email']) continue; // This is a selected column, so underline it or some such. if ($column['selected']) echo ' '; // This is just some column... show the link and be done with it. else echo ' '; } echo ' '; // Assuming there are members loop through each one displaying their data. if (!empty($context['members'])) { foreach ($context['members'] as $member) { echo ' '; /*On n'espionne pas les gens ! * * Mais il faut mettre quelque chose, car la colonne de titre est créée automatiquement et l'enlever fera buguer des mods */ echo ' '; if (!isset($context['disabled_fields']['website'])) echo ' '; // Group and date. echo ' '; // Show custom fields marked to be shown here if (!empty($context['custom_profile_fields']['columns'])) foreach ($context['custom_profile_fields']['columns'] as $key => $column) echo ' '; echo ' '; } } // No members? else echo ' '; echo '
' . $column['label'] . ' ', $column['link'], '
', $context['can_send_pm'] ? '' : '', $settings['use_image_buttons'] ? '' : $member['online']['label'], $context['can_send_pm'] ? '' : '', ' ', $member['link'], '', $member['website']['url'] != '' ? '' : '', '', empty($member['group']) ? $member['post_group'] : $member['group'], ' ', $member['registered_date'], '', $member['options'][$key], '
', $txt['search_no_results'], '
'; // Show the page numbers again. (makes 'em easier to find!) echo '
'; // If it is displaying the result of a search show a "search again" link to edit their criteria. if (isset($context['old_search'])) echo '
', $txt['mlist_search_again'], '
'; echo '
'; } /** * A page allowing people to search the member list. */ function template_search() { global $context, $scripturl, $txt; // Start the submission form for the search! echo '
', template_button_strip($context['memberlist_buttons'], 'right'), '

', $txt['mlist_search'], '

'; } ?>