Ignore:
Timestamp:
Mar 31, 2010, 6:32:40 PM (14 years ago)
Author:
george
Message:
  • Upraveno: Aktualizace fóra.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/forum/includes/acp/acp_logs.php

    r400 r702  
    33*
    44* @package acp
    5 * @version $Id: acp_logs.php 8479 2008-03-29 00:22:48Z naderman $
     5* @version $Id$
    66* @copyright (c) 2005 phpBB Group
    77* @license http://opensource.org/licenses/gpl-license.php GNU Public License
     
    3434                $action         = request_var('action', '');
    3535                $forum_id       = request_var('f', 0);
     36                $topic_id       = request_var('t', 0);
    3637                $start          = request_var('start', 0);
    3738                $deletemark = (!empty($_POST['delmarked'])) ? true : false;
     
    105106                $sql_sort = $sort_by_sql[$sort_key] . ' ' . (($sort_dir == 'd') ? 'DESC' : 'ASC');
    106107
     108                $keywords = utf8_normalize_nfc(request_var('keywords', '', true));
     109                $keywords_param = !empty($keywords) ? '&keywords=' . urlencode(htmlspecialchars_decode($keywords)) : '';
     110
    107111                $l_title = $user->lang['ACP_' . strtoupper($mode) . '_LOGS'];
    108112                $l_title_explain = $user->lang['ACP_' . strtoupper($mode) . '_LOGS_EXPLAIN'];
     
    124128                $log_data = array();
    125129                $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);
    127131
    128132                $template->assign_vars(array(
     
    132136
    133137                        '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),
    135139
    136140                        'S_LIMIT_DAYS'  => $s_limit_days,
     
    138142                        'S_SORT_DIR'    => $s_sort_dir,
    139143                        'S_CLEARLOGS'   => $auth->acl_get('a_clearlogs'),
     144                        'S_KEYWORDS'    => $keywords,
    140145                        )
    141146                );
Note: See TracChangeset for help on using the changeset viewer.