phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r4682 - phpcompta/trunk/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r4682 - phpcompta/trunk/include
Date: Sat, 7 Jan 2012 06:11:12 +0100 (CET)

Author: danydb
Date: 2012-01-07 06:11:12 +0100 (Sat, 07 Jan 2012)
New Revision: 4682

Modified:
   phpcompta/trunk/include/class_fiche.php
Log:
cosmetic new card : length select

Modified: phpcompta/trunk/include/class_fiche.php
===================================================================
--- phpcompta/trunk/include/class_fiche.php     2012-01-07 04:58:01 UTC (rev 
4681)
+++ phpcompta/trunk/include/class_fiche.php     2012-01-07 05:11:12 UTC (rev 
4682)
@@ -421,7 +421,7 @@
         $f=new Fiche_Def($this->cn,$p_fiche_def);
         $f->Get();
         $array=$f->getAttribut();
-        $r='<table>';
+        $r='<table style="width:98%;margin:1%">';
         foreach ($array as $attr)
         {
             $table=0;
@@ -512,7 +512,7 @@
                                        case 'select':
                                                $w = new ISelect("av_text" . 
$attr->ad_id);
                                                $w->value = 
$this->cn->make_array($attr->ad_extra);
-                                               $w->css_size = "100%";
+                                               $w->style= 'style="width:100%"';
                                                break;
                                        case 'card':
                                                $w = new ICard("av_text" . 
$attr->ad_id);




reply via email to

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