38 $this->
value=$p_value;
44 public function input($p_name=
null,$p_value=
null)
46 $this->
name=($p_name==
null)?$this->
name:$p_name;
47 $this->
value=($p_value==
null)?$this->
value:$p_value;
50 $this->
id=($this->
id==
"")?$this->
name:$this->
id;
54 <INPUT class=\"smallbutton\" TYPE=\"button\" onClick=\"search_action(".
dossier::id().
",'%s')\" value=\"?\">
55 <INPUT TYPE=\"text\" style=\"color:black;background:lightyellow;border:solid 1px grey;\" NAME=\"%s\" ID=\"%s\" VALUE=\"%s\" SIZE=\"8\" readonly>
56 <INPUT class=\"smallbutton\" TYPE=\"button\" onClick=\"$('%s').value=''\" value=\"X\">
70 $r=sprintf(
"<span><b>%s</b></span>",$this->
value);
71 $r.=sprintf(
'<input type="hidden" name="%s" value="%s">', $this->
name,$this->
value);
catch(Exception $exc) if(! $g_user->can_write_action($ag_id)) $r