Changeset 743

Show
Ignore:
Timestamp:
08/25/08 15:18:57 (3 months ago)
Author:
zak
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/Form/Field.php

    r742 r743  
    419419        $this->value_list = $list; 
    420420    } 
    421     function loadPOST(){ 
     421    function loadPOST(){  
    422422        $data=$_POST[$this->name]; 
    423423        if(is_array($data))$data=join(',',$data); 
     
    441441        return parent::validate(); 
    442442    } 
    443     function getInput($attr=array()){ 
     443    function getInput($attr=array()){ echo 'sdfssssssssss<br />'; 
    444444        $output=$this->getTag('select',array_merge(array( 
    445445                        'name'=>$this->name, 
     
    451451                    $this->attr) 
    452452                ); 
     453 
    453454        foreach($this->getValueList() as $value=>$descr){ 
    454455            // Check if a separator is not needed identified with _separator< 
    455             if ($value == '_separator') { 
     456            if ($value === '_separator') { 
    456457                $output.= 
    457458                    $this->getTag('option',array(