From a7369a72a02ff4fa057d94e9b0007547b7b4e905 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Wed, 18 Jan 2012 15:31:31 +0000 Subject: [PATCH] add css_size property to iposte --- include/class_iposte.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/class_iposte.php b/include/class_iposte.php index d2d3e580f..cfef71726 100644 --- a/include/class_iposte.php +++ b/include/class_iposte.php @@ -150,7 +150,12 @@ class IPoste extends HtmlInput /* create the text */ $itext=new IText($this->name,$this->value); - $itext->size=$this->size; + + if ( isset ($this->css_size)) + $itext->css_size=$this->css_size; + else + $itext->size=$this->size; + /* create the button */ $ibutton=$this->dsp_button(); if ( $this->table==3)