Skip to content
Snippets Groups Projects
Commit 19329592 authored by Helmo's avatar Helmo
Browse files

Add Username field to datalog view

parent c3aaf167
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,7 @@ $id = intval($_GET['id']);
$record = $app->db->queryOneRecord('SELECT * FROM sys_datalog WHERE datalog_id = ?', $id);
$out['id'] = $id;
$out['username'] = $record['user'];
$out['timestamp'] = date($app->lng('conf_format_datetime'), $record['tstamp']);
$out['table'] = $record['dbtable'];
......
......@@ -23,4 +23,5 @@ $wb['new_txt'] = 'New';
$wb['btn_cancel_txt'] = 'Back';
$wb['undo_txt'] = 'Undo action';
$wb['undo_confirmation_txt'] = 'Do you really want to undo this action?';
$wb['username_txt'] = 'Username';
?>
......@@ -12,6 +12,10 @@
</tr>
</thead>
<tbody>
<tr>
<td><tmpl_var name="username_txt"></td>
<td><tmpl_var name="username"></td>
</tr>
<tr>
<td><tmpl_var name="timestamp_txt"></td>
<td><tmpl_var name="timestamp"></td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment