mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-06 14:46:27 +02:00
Add unread messages support
This commit is contained in:
parent
cfde77a0c1
commit
88b00e4e9f
12 changed files with 249 additions and 15 deletions
|
@ -47,6 +47,7 @@
|
|||
<th>À</th>
|
||||
<th>Message</th>
|
||||
<th>Date</th>
|
||||
<th>Status</th>
|
||||
<th>Commande</th>
|
||||
<?php if ($_SESSION['user']['admin']) { ?><th>Sélectionner</th><?php } ?>
|
||||
</tr>
|
||||
|
@ -59,6 +60,7 @@
|
|||
<td><?php echo(\controllers\internals\Tool::phone_link($received['destination'])); ?></td>
|
||||
<td><?php $this->s($received['text']); ?></td>
|
||||
<td><?php $this->s($received['at']); ?></td>
|
||||
<td><?php echo ($received['status'] == 'read' ? 'Lu' : 'Non lu'); ?></td>
|
||||
<td><?php echo $received['command'] ? 'Oui' : 'Non'; ?></td>
|
||||
<?php if ($_SESSION['user']['admin']) { ?><td><input name="ids[]" type="checkbox" value="<?php $this->s($received['id']); ?>"></td><?php } ?>
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue