mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-22 01:16:26 +02:00
add datatables everywhere
This commit is contained in:
parent
a426c699f9
commit
6f1c726284
33 changed files with 373 additions and 144 deletions
|
@ -37,13 +37,10 @@ namespace controllers\publics;
|
|||
|
||||
/**
|
||||
* Cette fonction retourne tous les contacts, sous forme d'un tableau permettant l'administration de ces contacts.
|
||||
*
|
||||
* @param mixed $page
|
||||
*/
|
||||
public function list($page = 0)
|
||||
public function list()
|
||||
{
|
||||
$page = (int) $page;
|
||||
$contacts = $this->internal_contact->list_for_user($_SESSION['user']['id'], 25, $page);
|
||||
$contacts = $this->internal_contact->list_for_user($_SESSION['user']['id']);
|
||||
|
||||
return $this->render('contact/list', ['contacts' => $contacts]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue