Changeset 702 for trunk/forum/includes/mcp/mcp_notes.php
- Timestamp:
- Mar 31, 2010, 6:32:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/includes/mcp/mcp_notes.php
r400 r702 3 3 * 4 4 * @package mcp 5 * @version $Id : mcp_notes.php 8598 2008-06-04 15:37:06Z naderman$5 * @version $Id$ 6 6 * @copyright (c) 2005 phpBB Group 7 7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License … … 194 194 $sql_sort = $sort_by_sql[$sk] . ' ' . (($sd == 'd') ? 'DESC' : 'ASC'); 195 195 196 $keywords = utf8_normalize_nfc(request_var('keywords', '', true)); 197 $keywords_param = !empty($keywords) ? '&keywords=' . urlencode(htmlspecialchars_decode($keywords)) : ''; 198 196 199 $log_data = array(); 197 200 $log_count = 0; 198 view_log('user', $log_data, $log_count, $config[' posts_per_page'], $start, 0, 0, $user_id, $sql_where, $sql_sort);201 view_log('user', $log_data, $log_count, $config['topics_per_page'], $start, 0, 0, $user_id, $sql_where, $sql_sort, $keywords); 199 202 200 203 if ($log_count) … … 220 223 'S_SELECT_SORT_KEY' => $s_sort_key, 221 224 'S_SELECT_SORT_DAYS' => $s_limit_days, 225 'S_KEYWORDS' => $keywords, 222 226 223 227 'L_TITLE' => $user->lang['MCP_NOTES_USER'], 224 228 225 'PAGE_NUMBER' => on_page($log_count, $config[' posts_per_page'], $start),226 'PAGINATION' => generate_pagination($this->u_action . "& st=$st&sk=$sk&sd=$sd", $log_count, $config['posts_per_page'], $start),229 'PAGE_NUMBER' => on_page($log_count, $config['topics_per_page'], $start), 230 'PAGINATION' => generate_pagination($this->u_action . "&$u_sort_param$keywords_param", $log_count, $config['topics_per_page'], $start), 227 231 'TOTAL_REPORTS' => ($log_count == 1) ? $user->lang['LIST_REPORT'] : sprintf($user->lang['LIST_REPORTS'], $log_count), 228 232 229 'USERNAME' => $userrow['username'],230 'USER_COLOR' => (!empty($userrow['user_colour'])) ? $userrow['user_colour'] : '',231 233 'RANK_TITLE' => $rank_title, 232 234 'JOINED' => $user->format_date($userrow['user_regdate']), 233 235 'POSTS' => ($userrow['user_posts']) ? $userrow['user_posts'] : 0, 234 236 'WARNINGS' => ($userrow['user_warnings']) ? $userrow['user_warnings'] : 0, 237 238 'USERNAME_FULL' => get_username_string('full', $userrow['user_id'], $userrow['username'], $userrow['user_colour']), 239 'USERNAME_COLOUR' => get_username_string('colour', $userrow['user_id'], $userrow['username'], $userrow['user_colour']), 240 'USERNAME' => get_username_string('username', $userrow['user_id'], $userrow['username'], $userrow['user_colour']), 241 'U_PROFILE' => get_username_string('profile', $userrow['user_id'], $userrow['username'], $userrow['user_colour']), 235 242 236 243 'AVATAR_IMG' => $avatar_img,
Note:
See TracChangeset
for help on using the changeset viewer.