Merged revisions 4176-4181 via svnmerge from

svn+ssh://danydb@svn/svn/phpcompta/branches/rel560

........
  r4176 | danydb | 2011-07-05 23:26:47 +0200 (Tue, 05 Jul 2011) | 1 line
  
  add function HtmlInput::button_close
........
  r4177 | danydb | 2011-07-05 23:27:16 +0200 (Tue, 05 Jul 2011) | 1 line
  
  Background transparency 
........
  r4178 | danydb | 2011-07-05 23:27:47 +0200 (Tue, 05 Jul 2011) | 1 line
  
  Fix bug : in parameter > extension all the users are seen
........
  r4179 | danydb | 2011-07-05 23:35:31 +0200 (Tue, 05 Jul 2011) | 2 lines
  
  Bug for 9.0.4: comparison with always true
........
  r4180 | danydb | 2011-07-05 23:39:26 +0200 (Tue, 05 Jul 2011) | 2 lines
  
  fix small bug
........
  r4181 | danydb | 2011-07-10 18:43:22 +0200 (Sun, 10 Jul 2011) | 2 lines
  
  #320 bouton fermer dans popup de fiche
........
This commit is contained in:
Dany De Bontridder 2011-07-10 16:55:01 +00:00
parent 7114f1e56a
commit 4050d4b23b
6 changed files with 18 additions and 13 deletions

View file

@ -397,11 +397,12 @@ class HtmlInput
*/
static function button_close($div_name)
{
$html=' <div style="float:right;height:10px;display:block;margin-top:2px;margin-right:2px">';
$a=new IButton('Fermer','Fermer');
$a->label="Fermer";
$a->javascript="removeDiv('".$div_name."')";
$html=$a->input();
$html.= '<A style="background-color:blue;color:white;text-decoration:none" HREF="javascript:void(0)" onclick="removeDiv(\''.$div_name.'\');">Fermer</A>';
$html.='</div>';
return $html;
return $html;
}
/**
@ -411,7 +412,7 @@ class HtmlInput
static function anchor_close($div)
{
$r='';
$r.='<div style="float:right">';
$r.='<div style="float:right;margin:2;">';
$r.= '<A style="background-color:blue;color:white;text-decoration:none" HREF="javascript:void(0)" onclick="removeDiv(\''.$div.'\');">Fermer</A>';
$r.='</div>';
return $r;