# HG changeset patch # User Dan # Date 1216764389 18000 # Node ID 16b5b89c8055c1bd5b104aaee5df106d59c8a50c # Parent 49dee7f374bfc26c9410e77ed5e8559c438a0f58 Fixed unlocalized column names in SecurityLog diff -r 49dee7f374bf -r 16b5b89c8055 plugins/admin/SecurityLog.php --- a/plugins/admin/SecurityLog.php Tue Jul 22 17:05:59 2008 -0500 +++ b/plugins/admin/SecurityLog.php Tue Jul 22 17:06:29 2008 -0500 @@ -68,6 +68,8 @@ function get_security_log($num = false) { global $db, $session, $paths, $template, $plugins; // Common objects + global $lang; + if ( $session->auth_level < USER_LEVEL_ADMIN ) { $q = $db->sql_query('INSERT INTO '.table_prefix.'logs(log_type,action,time_id,edit_summary,author) VALUES(\'security\',\'seclog_unauth\',' . time() . ',"' . $db->escape($_SERVER['REMOTE_ADDR']) . '","' . $db->escape($session->username) . '");'); @@ -78,7 +80,7 @@ $return = '
Type | Date | Username | IP Address |
---|---|---|---|
' . $lang->get('acpsl_col_type') . ' | ' . $lang->get('acpsl_col_date') . ' | ' . $lang->get('acpsl_col_username') . ' | ' . $lang->get('acpsl_col_ip') . ' |