noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 07/12: Task #1045 - Amélioration apparence


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 07/12: Task #1045 - Amélioration apparence : Utiisation icon search
Date: Sat, 29 Nov 2014 16:15:36 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 5c4ed603b7ce42383f1d3bcfc0abb41c9190e173
Author: Dany De Bontridder <address@hidden>
Date:   Sat Nov 29 14:03:32 2014 +0100

    Task #1045 - Amélioration apparence  :
    Utiisation icon search
---
 include/class_iposte.php |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/include/class_iposte.php b/include/class_iposte.php
index 2a82015..b938a09 100644
--- a/include/class_iposte.php
+++ b/include/class_iposte.php
@@ -129,14 +129,11 @@ class IPoste extends HtmlInput
     public function dsp_button()
     {
                $this->id=($this->id=="")?$this->name:$this->id;
-        $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)';
-
+        $javascript='search_poste(this)';
+        $button=HtmlInput::button_image($javascript,$this->name."_bt", 
'alt="'._('Recherche').'" class="image_search"',"image/magnifier13.png");
         /*  add the property */
         $sc=$this->get_js_attr();
-        return $ib->input().$sc;
+        return $button.$sc;
     }
     /*!\brief show the html  input of the widget*/
     public function input($p_name=null,$p_value=null)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]