From 0b1bfe2ca7a0b36da686f9274fe798e53ec5b019 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 4 Dec 2012 16:40:37 +0000 Subject: [PATCH] =?UTF-8?q?S=C3=A9lection=20du=20client?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/IndexController.php | 2 ++ application/views/scripts/index/index.phtml | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/application/controllers/IndexController.php b/application/controllers/IndexController.php index d027a751..d4db95f4 100644 --- a/application/controllers/IndexController.php +++ b/application/controllers/IndexController.php @@ -6,6 +6,8 @@ class IndexController extends Zend_Controller_Action { $request = $this->getRequest(); $idClient = $request->getParam('idClient', null); + $this->view->assign('idClient', $idClient); + //Liste des profils $profilM = new Application_Model_Profil(); $sql = $profilM->select(); diff --git a/application/views/scripts/index/index.phtml b/application/views/scripts/index/index.phtml index be02f0e3..c0c3effb 100644 --- a/application/views/scripts/index/index.phtml +++ b/application/views/scripts/index/index.phtml @@ -83,10 +83,11 @@ - +