1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-04-26 12:02:59 +02:00
joplin/debug_client/views/changes.php

18 lines
576 B
PHP
Raw Normal View History

2017-01-11 15:18:56 +01:00
<table>
<tr>
<th>ID</th>
<th>Type</th>
<th>Item type</th>
<th>Item ID</th>
<th>Item</th>
</tr>
<?php for ($i = count($changes['items']) - 1; $i >= 0; $i--): $it = $changes['items'][$i]; $t = $it['type']; ?>
<tr>
<td><?php echo htmlentities($it['id']); ?></td>
<td><?php echo htmlentities($it['type']); ?></td>
<td><?php echo htmlentities($it['item_type']); ?></td>
<td><?php echo htmlentities($it['item_id']); ?></td>
2017-05-22 20:05:29 +00:00
<td><?php echo htmlentities($it['type'] == 'update' ? json_encode($it['item']) : ''); ?></td>
2017-01-11 15:18:56 +01:00
</tr>
<?php endfor; ?>
</table>