26 require_once NOALYSS_INCLUDE.
'/lib/class_html_input.php';
27 require_once NOALYSS_INCLUDE.
'/lib/class_itext.php';
28 require_once NOALYSS_INCLUDE.
'/lib/class_ibutton.php';
29 require_once NOALYSS_INCLUDE.
'/lib/class_ipopup.php';
30 require_once NOALYSS_INCLUDE.
'/lib/function_javascript.php';
87 $this->
value=$p_value;
93 $this->attribute=array();
102 $ip->title=
'Plan comptable';
104 $ip->set_height(
'80%');
116 for ($i=0;$i< count($this->attribute);$i++)
119 $tmp1=sprintf(
"$('%s_bt').%s='%s';",
131 $this->
id=($this->
id==
"")?$this->
name:$this->
id;
139 public function input($p_name=null,$p_value=null)
141 $this->
name=($p_name==null)?$this->
name:$p_name;
142 $this->
value=($p_value==null)?$this->
value:$p_value;
145 if ( ! isset($this->ctrl) ) $this->ctrl=
'none';
148 $this->
id=($this->
id==
"")?$this->
name:$this->
id;
154 $itext->css_size=$this->css_size;
161 if ( $this->
table==3)
179 $r=sprintf(
'<TD><input type="hidden" name="%s" value="%s">
197 $r=
' ondblclick="get_history_account(\''.$this->name.
'\',\
''.dossier::id().
'\')
"';
198 $this->javascript=$r;
200 static public function test_me()
td($p_string='', $p_extra='')
surround the string with td
dbl_click_history()
add a double click to poste to see his history
input($p_name=null, $p_value=null)
show the html input of the widget
show a button, for selecting a account and a input text for manually inserting an account the differe...
__construct($p_name="", $p_value="", $p_id="")
for($e=0;$e< count($array);$e++) $desc readOnly
display()
print in html the readonly value of the widget
get_js_attr()
create the javascript for adding the javascript properties onto the button
create_script($p_string)
create the HTML for adding the script tags around of the script