Zeile 42 | Zeile 42 |
---|
if($mybb->request_method == 'post') { $is_today = false;
|
if($mybb->request_method == 'post') { $is_today = false;
|
| $mybb->input['older_than'] = $mybb->get_input('older_than', MyBB::INPUT_INT);
|
if($mybb->input['older_than'] <= 0) { $is_today = true; $mybb->input['older_than'] = 1; }
|
if($mybb->input['older_than'] <= 0) { $is_today = true; $mybb->input['older_than'] = 1; }
|
$where = 'dateline < '.(TIME_NOW-($mybb->get_input('older_than', MyBB::INPUT_INT)*86400));
| $where = 'dateline < '.(TIME_NOW-($mybb->input['older_than']*86400));
|
// Searching for entries by a particular user if($mybb->input['uid'])
| // Searching for entries by a particular user if($mybb->input['uid'])
|
Zeile 325 | Zeile 326 |
---|
/** * Returns language-friendly string describing $logitem
|
/** * Returns language-friendly string describing $logitem
|
* @param array The log item (one row from mybb_adminlogs)
| * @param array $logitem The log item (one row from mybb_adminlogs)
|
* @return string The description */ function get_admin_log_action($logitem)
| * @return string The description */ function get_admin_log_action($logitem)
|