Changeset 702 for trunk/forum/includes/acp/acp_logs.php
- Timestamp:
- Mar 31, 2010, 6:32:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/includes/acp/acp_logs.php
r400 r702 3 3 * 4 4 * @package acp 5 * @version $Id : acp_logs.php 8479 2008-03-29 00:22:48Z naderman$5 * @version $Id$ 6 6 * @copyright (c) 2005 phpBB Group 7 7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License … … 34 34 $action = request_var('action', ''); 35 35 $forum_id = request_var('f', 0); 36 $topic_id = request_var('t', 0); 36 37 $start = request_var('start', 0); 37 38 $deletemark = (!empty($_POST['delmarked'])) ? true : false; … … 105 106 $sql_sort = $sort_by_sql[$sort_key] . ' ' . (($sort_dir == 'd') ? 'DESC' : 'ASC'); 106 107 108 $keywords = utf8_normalize_nfc(request_var('keywords', '', true)); 109 $keywords_param = !empty($keywords) ? '&keywords=' . urlencode(htmlspecialchars_decode($keywords)) : ''; 110 107 111 $l_title = $user->lang['ACP_' . strtoupper($mode) . '_LOGS']; 108 112 $l_title_explain = $user->lang['ACP_' . strtoupper($mode) . '_LOGS_EXPLAIN']; … … 124 128 $log_data = array(); 125 129 $log_count = 0; 126 view_log($mode, $log_data, $log_count, $config['topics_per_page'], $start, $forum_id, 0, 0, $sql_where, $sql_sort );130 view_log($mode, $log_data, $log_count, $config['topics_per_page'], $start, $forum_id, 0, 0, $sql_where, $sql_sort, $keywords); 127 131 128 132 $template->assign_vars(array( … … 132 136 133 137 'S_ON_PAGE' => on_page($log_count, $config['topics_per_page'], $start), 134 'PAGINATION' => generate_pagination($this->u_action . "&$u_sort_param ", $log_count, $config['topics_per_page'], $start, true),138 'PAGINATION' => generate_pagination($this->u_action . "&$u_sort_param$keywords_param", $log_count, $config['topics_per_page'], $start, true), 135 139 136 140 'S_LIMIT_DAYS' => $s_limit_days, … … 138 142 'S_SORT_DIR' => $s_sort_dir, 139 143 'S_CLEARLOGS' => $auth->acl_get('a_clearlogs'), 144 'S_KEYWORDS' => $keywords, 140 145 ) 141 146 );
Note:
See TracChangeset
for help on using the changeset viewer.