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);
_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev