Author: danydb
Date: 2011-12-03 21:23:10 +0100 (Sat, 03 Dec 2011)
New Revision: 4548
Modified:
phpcompta/trunk/include/class_iposte.php
Log:
0479 longueur iposte
Modified: phpcompta/trunk/include/class_iposte.php
===================================================================
--- phpcompta/trunk/include/class_iposte.php 2011-12-03 13:08:01 UTC (rev
4547)
+++ phpcompta/trunk/include/class_iposte.php 2011-12-03 20:23:10 UTC (rev
4548)
@@ -82,6 +82,24 @@
*/
class IPoste extends HtmlInput
{
+
+ function __construct($p_name="",$p_value="")
+ {
+ $this->name=$p_name;
+ $this->readOnly=false;
+ $this->size=10;
+ $this->width=50;
+ $this->heigh=20;
+ $this->value=$p_value;
+ $this->selected="";
+ $this->table=0;
+ $this->disabled=false;
+ $this->javascript="";
+ $this->extra2="all";
+ $this->attribute=array();
+
+ }
+
static function ipopup($p_name)
{
$ip=new IPopup($p_name);
@@ -134,7 +152,6 @@
/* create the text */
$itext=new IText($this->name,$this->value);
- $itext->size=(isset($this->size))?$this->size:10;
/* create the button */
$ibutton=$this->dsp_button();
_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev