diff --git a/include/class_iposte.php b/include/class_iposte.php index e01a6abb2..1e0636b56 100644 --- a/include/class_iposte.php +++ b/include/class_iposte.php @@ -130,7 +130,7 @@ class IPoste extends HtmlInput public function dsp_button() { $this->id=($this->id=="")?$this->name:$this->id; - $ib=new IButton($this->id.'_bt',"","","smallbutton"); + $ib=new ISmallButton($this->id.'_bt'); $ib->label=_('Recherche'); // $ib->extra='style="background:url(image/search.png) no-repeat;background-position:0;padding-left:36px;"'; $ib->javascript='search_poste(this)'; diff --git a/include/class_itva_popup.php b/include/class_itva_popup.php index b48c94bb4..f958b8f24 100644 --- a/include/class_itva_popup.php +++ b/include/class_itva_popup.php @@ -127,7 +127,7 @@ class ITva_Popup extends HtmlInput $this->id=($this->id=="")?$this->name:$this->id; // button - $bt=new IButton('bt_'.$this->id,"smallbutton"); + $bt=new ISmallButton('bt_'.$this->id); $bt->tabindex="-1"; $bt->label=_(' TVA '); $bt->set_attribute('gDossier',dossier::id());