Small button

This commit is contained in:
Dany De Bontridder 2013-08-31 19:43:32 +00:00
parent cb52762178
commit 3381082416
2 changed files with 2 additions and 2 deletions

View file

@ -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)';

View file

@ -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());