mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 17:06:28 +02:00
Add transfer controller and model, remove database model and transfer responsabilities
This commit is contained in:
parent
bda1c7ddfd
commit
c6050f06aa
20 changed files with 465 additions and 219 deletions
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
//Template dashboard
|
||||
|
||||
$this->render('incs/head', ['title' => 'Sents - Show All'])
|
||||
$this->render('incs/head', ['title' => 'Sendeds - Show All'])
|
||||
?>
|
||||
<div id="wrapper">
|
||||
<?php
|
||||
|
@ -72,12 +72,12 @@
|
|||
<?php if ($_SESSION['user']['admin']) { ?>
|
||||
<div class="text-right col-xs-12 no-padding">
|
||||
<strong>Action pour la séléction :</strong>
|
||||
<button class="btn btn-default" type="submit" formaction="<?php echo \Router::url('Sent', 'delete', ['csrf' => $_SESSION['csrf']]); ?>"><span class="fa fa-trash-o"></span> Supprimer</button>
|
||||
<button class="btn btn-default" type="submit" formaction="<?php echo \Router::url('Sended', 'delete', ['csrf' => $_SESSION['csrf']]); ?>"><span class="fa fa-trash-o"></span> Supprimer</button>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<ul class="pager">
|
||||
<?php if ($page) { ?>
|
||||
<li><a href="<?php echo \Router::url('Sent', 'list', array('page' => $page - 1)); ?>"><span aria-hidden="true">←</span> Précèdents</a></li>
|
||||
<li><a href="<?php echo \Router::url('Sended', 'list', array('page' => $page - 1)); ?>"><span aria-hidden="true">←</span> Précèdents</a></li>
|
||||
<?php } ?>
|
||||
|
||||
Page : <?php $this->s($page + 1); ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue