From f710381f5d209d52be46e081941a59e3d62d0900 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Mon, 30 Jul 2012 12:09:20 +0000 Subject: [PATCH] Remove field not used --- application/views/default/helpers/Field.php | 50 ++------------------- 1 file changed, 4 insertions(+), 46 deletions(-) diff --git a/application/views/default/helpers/Field.php b/application/views/default/helpers/Field.php index 0ac8c0cd..2c84a142 100644 --- a/application/views/default/helpers/Field.php +++ b/application/views/default/helpers/Field.php @@ -37,12 +37,12 @@ class Zend_View_Helper_Field extends Zend_View_Helper_Abstract case 'tree': $href = $this->view->url(array('controller' => 'arborescence', 'action' => $options['action'], 'key' => $name)); $html.= ''; - $html.= ''; + $html.= 'Arborescence'; $html.= ''; break; case 'text': - $html.= ''; - $html.= ''; + $html.= ''; + $html.= 'Recherche'; $html.= ''; break; } @@ -91,54 +91,12 @@ class Zend_View_Helper_Field extends Zend_View_Helper_Abstract $this->checkboxHTML($name, $options), $title ); - break; - case 'intervalDate': - $html.= $this->structureHTML( - $label, - $this->intervalDateHTML($name, $options), - $title - ); break; - case 'interval': - $html.= $this->structureHTML( - $label, - $this->intervalHTML($name, $field), - $title - ); - break; - case 'date': - $html.= $this->structureHTML( - $field['label'], - $this->dateHTML($name, $field)); - break; - case 'text': - $html.= $this->structureHTML( - $label, - $this->textHTML($name, $options), - $title - ); - break; - case 'textarea': - $html.= $this->structureHTML( - $field['label'], - $this->textareaHTML($name, $field) - ); - break; - case 'radio': - $html.= $this->structureHTML( - $field['label'], - $this->radioHTML($name, $field)); - break; - case 'file': - $html.= $this->structureHTML( - $field['label'], - $this->fileuploadHtml($name, $field)); - break; case 'tree': //Do nothing break; default: - $html.= $this->structureHTML($label, ''); + $html.= $this->structureHTML($name, ''); break; }