Author: danydb
Date: 2012-01-06 14:22:50 +0100 (Fri, 06 Jan 2012)
New Revision: 4670
Modified:
phpcompta/trunk/include/class_fiche.php
Log:
bug attribut fiche : add blank : label
Modified: phpcompta/trunk/include/class_fiche.php
===================================================================
--- phpcompta/trunk/include/class_fiche.php 2012-01-06 13:20:12 UTC (rev
4669)
+++ phpcompta/trunk/include/class_fiche.php 2012-01-06 13:22:50 UTC (rev
4670)
@@ -510,7 +510,6 @@
case 'select':
$w=new ISelect("av_text".$attr->ad_id);
$w->value=$this->cn->make_array($attr->ad_extra);
- unset($w->label);
break;
case 'card':
$w=new ICard("av_text".$attr->ad_id);
@@ -534,7 +533,7 @@
}
$w->table=$table;
- $w->label=$attr->ad_text;
+ if ( $attr->ad_type != 'select')
$w->label=$attr->ad_text;
$w->name="av_text".$attr->ad_id;
$r.="<TR>".td($w->label,' class="input_text"
').td($w->input())."$msg </TR>";
_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev