From 338108241629ebf7a47db674dd6fee1e670fd9d7 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sat, 31 Aug 2013 19:43:32 +0000 Subject: [PATCH] Small button --- include/class_iposte.php | 2 +- include/class_itva_popup.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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());