From aabe4c63068909059776bcb1a9413d466bece4c6 Mon Sep 17 00:00:00 2001 From: Damien LASSERRE Date: Mon, 16 Jan 2012 13:48:41 +0000 Subject: [PATCH] Ajout des div pour le CSS Modification des dates en intervales --- application/views/default/helpers/Field.php | 36 ++++++++++++--------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/application/views/default/helpers/Field.php b/application/views/default/helpers/Field.php index b7e66b18..f2ca9e5c 100644 --- a/application/views/default/helpers/Field.php +++ b/application/views/default/helpers/Field.php @@ -42,13 +42,13 @@ Class Zend_View_Helper_Field extends Zend_View_Helper_Abstract private function structureHTML($label, $html, $lien = null) { - $return ='
- -
- '.$html.' -
- '.$lien.' -
'; + $return='
+ +
+ '.$html.' +
+ +
'; return ($return); } @@ -90,10 +90,13 @@ Class Zend_View_Helper_Field extends Zend_View_Helper_Abstract private function intervalHTML($name, $field) { $session = new SessionCiblage(); + $valeur = $session->getCritere($name); - $return = '
'; - $return .= ''; - $return .= '
'; + $return = '
'; + $return .= ' à '; + $return .= ''; + $return .= ' Valider'; + $return .= '
'; return ($return); } @@ -103,8 +106,10 @@ Class Zend_View_Helper_Field extends Zend_View_Helper_Abstract { $session = new SessionCiblage(); - $return = ' a '; - $return .= ''; + $return = '
'; + $return .= ' a '; + $return .= ''; + $return .= '
'; return ($return); } @@ -123,9 +128,10 @@ Class Zend_View_Helper_Field extends Zend_View_Helper_Abstract private function textareaHTML($name, $field) { $session = new SessionCiblage(); - - $return = ''; - + $valeur = $session->getCritere($name); + $return = '
'; + $return .= ''; + $return .= '
'; return ($return); }