Look: Correction du bug IE qui positionne mal les onglets dans certains cas.

This commit is contained in:
Laurent Destailleur 2005-10-02 19:48:55 +00:00
parent 8c86d1529a
commit 57bb94bbfb
4 changed files with 23 additions and 12 deletions

View File

@ -18,7 +18,6 @@
*
* $Id$
* $Source$
*
*/
/**
@ -111,7 +110,7 @@ if (sizeof($commandes)>0 && is_array($commandes))
$total = $total + $commande->total_ht;
}
print '<tr><td colspan="2">'.$i.' '.$langs->trans("Orders").'</td>';
print '<tr class="liste_total"><td colspan="2">'.$i.' '.$langs->trans("Orders").'</td>';
print '<td align="right">'.$langs->trans("TotalHT").': '.price($total).'</td>';
print '<td align="left">'.$langs->trans("Currency".$conf->monnaie).'</td></tr>';
print "</table>";
@ -119,6 +118,10 @@ if (sizeof($commandes)>0 && is_array($commandes))
print '</div>';
// Juste pour éviter bug IE qui réorganise mal div précédents si celui-ci absent
print '<div class="tabsAction">';
print '</div>';
$db->close();
llxFooter('$Date$ - $Revision$');

View File

@ -18,7 +18,6 @@
*
* $Id$
* $Source$
*
*/
/**
@ -116,7 +115,7 @@ if (sizeof($factures)>0 && is_array($factures))
$total = $total + $facture->total_ht;
}
print '<tr><td colspan="2">'.$i.' '.$langs->trans("Bills").'</td>';
print '<tr class="liste_total"><td colspan="2">'.$i.' '.$langs->trans("Bills").'</td>';
print '<td align="right">'.$langs->trans("TotalHT").' : '.price($total).'</td>';
print '<td align="left">'.$langs->trans("Currency".$conf->monnaie).'</td></tr>';
print "</table>";
@ -124,6 +123,10 @@ if (sizeof($factures)>0 && is_array($factures))
print '</div>';
// Juste pour éviter bug IE qui réorganise mal div précédents si celui-ci absent
print '<div class="tabsAction">';
print '</div>';
$db->close();
llxFooter('$Date$ - $Revision$');

View File

@ -18,14 +18,13 @@
*
* $Id$
* $Source$
*
*/
/**
\file htdocs/projet/fiche.php
\ingroup projet
\brief Fiche projet
\version $Revision$
\file htdocs/projet/fiche.php
\ingroup projet
\brief Fiche projet
\version $Revision$
*/
require("./pre.inc.php");
@ -210,9 +209,10 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer)
/*
* Boutons actions
*/
print '<div class="tabsAction">';
if ($user->rights->projet->creer == 1)
{
print '<div class="tabsAction">';
if ($_GET["action"] != "edit")
{
@ -220,9 +220,10 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer)
print '<a class="butActionDelete" href="fiche.php?id='.$projet->id.'&amp;action=delete">'.$langs->trans("Delete").'</a>';
}
print "</div>";
}
print "</div>";
}
$db->close();

View File

@ -110,13 +110,17 @@ if (sizeof($propales)>0 && is_array($propales))
$total = $total + $propale->price;
}
print '<tr><td colspan="2">'.$i.' '.$langs->trans("Proposal").'</td>';
print '<tr class="liste_total"><td colspan="2">'.$i.' '.$langs->trans("Proposal").'</td>';
print '<td align="right">'.$langs->trans("TotalHT").': '.price($total).'</td>';
print '<td align="left">'.$langs->trans("Currency".$conf->monnaie).'</td></tr></table>';
}
print '</div>';
// Juste pour éviter bug IE qui réorganise mal div précédents si celui-ci absent
print '<div class="tabsAction">';
print '</div>';
$db->close();
llxFooter('$Date$ - $Revision$');