Changeset 742
- Timestamp:
- 08/25/08 14:57:38 (3 months ago)
- Files:
-
- trunk/lib/Form/Field.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/Form/Field.php
r741 r742 453 453 foreach($this->getValueList() as $value=>$descr){ 454 454 // Check if a separator is not needed identified with _separator< 455 if ($value != '_separator') { 455 if ($value == '_separator') { 456 $output.= 457 $this->getTag('option',array( 458 'disabled'=>'disabled', 459 )) 460 .htmlspecialchars($descr) 461 .$this->getTag('/option'); 462 } else { 456 463 $output.= 457 464 $this->getTag('option',array( … … 460 467 )) 461 468 .htmlspecialchars($descr) 462 .$this->getTag('/option'); 463 } else { 464 $output.= 465 $this->getTag('option',array( 466 'disabled'=>'disabled', 467 )) 468 .htmlspecialchars($descr) 469 .$this->getTag('/option'); 469 .$this->getTag('/option'); 470 470 } 471 471 }
