File: includes/mcp/mcp_logs.php
Unmodified
Added
Modified
Removed
Line 39 | Line 39 |
---|
global $config, $phpbb_container, $phpbb_log;
$user->add_lang('acp/common');
|
global $config, $phpbb_container, $phpbb_log;
$user->add_lang('acp/common');
|
| $this->p_master->add_mod_info('acp');
|
$action = $request->variable('action', array('' => ''));
if (is_array($action)) {
|
$action = $request->variable('action', array('' => ''));
if (is_array($action)) {
|
list($action, ) = each($action);
| $action = key($action);
|
} else {
| } else {
|
Line 178 | Line 179 |
---|
$sql_sort = $sort_by_sql[$sort_key] . ' ' . (($sort_dir == 'd') ? 'DESC' : 'ASC');
$keywords = $request->variable('keywords', '', true);
|
$sql_sort = $sort_by_sql[$sort_key] . ' ' . (($sort_dir == 'd') ? 'DESC' : 'ASC');
$keywords = $request->variable('keywords', '', true);
|
$keywords_param = !empty($keywords) ? '&keywords=' . urlencode(htmlspecialchars_decode($keywords)) : '';
| $keywords_param = !empty($keywords) ? '&keywords=' . urlencode(html_entity_decode($keywords, ENT_COMPAT)) : '';
|
// Grab log data $log_data = array();
| // Grab log data $log_data = array();
|