modification de la structure HTML
This commit is contained in:
parent
9fc3a33522
commit
b3d5967058
@ -93,13 +93,13 @@ Class Zend_View_Helper_Field extends Zend_View_Helper_Abstract
|
|||||||
{
|
{
|
||||||
$session = new SessionCiblage();
|
$session = new SessionCiblage();
|
||||||
|
|
||||||
$return = '<select class="intervalSelect" name="'.$name.'1" id="'.$name.'">';
|
$return = '<select class="intervalSelect" name="'.$name.'1" id="'.$name.'" number="1">';
|
||||||
foreach($field['fields'][$field['type']]['value'] as $elements) {
|
foreach($field['fields'][$field['type']]['value'] as $elements) {
|
||||||
$return .= '<option value="'. $elements[0].'">'.number_format($elements[0], 0,'', ' ').'</option>';
|
$return .= '<option value="'. $elements[0].'">'.number_format($elements[0], 0,'', ' ').'</option>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$return .= '</select> à ';
|
$return .= '</select> à ';
|
||||||
$return .= '<select class="intervalSelect" name="'.$name.'2">';
|
$return .= '<select class="intervalSelect" name="'.$name.'2" id="'.$name.'" number="2">';
|
||||||
foreach($field['fields'][$field['type']]['value'] as $elements) {
|
foreach($field['fields'][$field['type']]['value'] as $elements) {
|
||||||
$return .= '<option value="'. $elements[1].'">'.number_format($elements[1], 0,'', ' ').'</option>';
|
$return .= '<option value="'. $elements[1].'">'.number_format($elements[1], 0,'', ' ').'</option>';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user