Look: Correction du bug IE qui positionne mal les onglets dans certains cas.
This commit is contained in:
parent
0f62f0ae69
commit
378b6fd3a0
@ -299,6 +299,12 @@ elseif (file_exists($fileimagebis))
|
|||||||
|
|
||||||
print '</div>';
|
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();
|
$db->close();
|
||||||
|
|
||||||
llxFooter('$Date$ - $Revision$');
|
llxFooter('$Date$ - $Revision$');
|
||||||
|
|||||||
@ -135,7 +135,7 @@ if ($propalid > 0)
|
|||||||
print '<form name="userfile" action="document.php?propalid='.$propal->id.'" enctype="multipart/form-data" method="POST">';
|
print '<form name="userfile" action="document.php?propalid='.$propal->id.'" enctype="multipart/form-data" method="POST">';
|
||||||
print '<input type="hidden" name="max_file_size" value="2000000">';
|
print '<input type="hidden" name="max_file_size" value="2000000">';
|
||||||
print '<input type="file" name="userfile" size="40" maxlength="80" class="flat"><br>';
|
print '<input type="file" name="userfile" size="40" maxlength="80" class="flat"><br>';
|
||||||
print '<input type="submit" value="'.$langs->trans('Upload').'" name="sendit" class="button">';
|
print '<input type="submit" value="'.$langs->trans('Upload').'" name="sendit" class="button"> ';
|
||||||
print '<input type="submit" value="'.$langs->trans('Cancel').'" name="cancelit" class="button"><br>';
|
print '<input type="submit" value="'.$langs->trans('Cancel').'" name="cancelit" class="button"><br>';
|
||||||
print '</form><br>';
|
print '</form><br>';
|
||||||
|
|
||||||
|
|||||||
@ -30,6 +30,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
require('./pre.inc.php');
|
require('./pre.inc.php');
|
||||||
|
require_once(DOL_DOCUMENT_ROOT."/propal.class.php");
|
||||||
|
|
||||||
$langs->load('propal');
|
$langs->load('propal');
|
||||||
$langs->load('compta');
|
$langs->load('compta');
|
||||||
@ -38,7 +39,10 @@ $user->getrights('propale');
|
|||||||
if (! $user->rights->propale->lire)
|
if (! $user->rights->propale->lire)
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
|
|
||||||
require_once(DOL_DOCUMENT_ROOT."/propal.class.php");
|
if (! $_GET['propalid'])
|
||||||
|
{
|
||||||
|
accessforbidden();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -48,8 +52,6 @@ require_once(DOL_DOCUMENT_ROOT."/propal.class.php");
|
|||||||
|
|
||||||
llxHeader();
|
llxHeader();
|
||||||
|
|
||||||
if ($_GET['propalid'])
|
|
||||||
{
|
|
||||||
$propal = new Propal($db);
|
$propal = new Propal($db);
|
||||||
$propal->fetch($_GET['propalid']);
|
$propal->fetch($_GET['propalid']);
|
||||||
|
|
||||||
@ -95,8 +97,11 @@ if ($_GET['propalid'])
|
|||||||
|
|
||||||
print '</div>';
|
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();
|
$db->close();
|
||||||
}
|
|
||||||
|
|
||||||
llxFooter('$Date$ - $Revision$');
|
llxFooter('$Date$ - $Revision$');
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -84,6 +84,11 @@ print '</td></tr></table>';
|
|||||||
|
|
||||||
print '</div>';
|
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();
|
$db->close();
|
||||||
|
|
||||||
llxFooter('$Date$ - $Revision$');
|
llxFooter('$Date$ - $Revision$');
|
||||||
|
|||||||
@ -272,7 +272,7 @@ if ($id > 0)
|
|||||||
print '<td>'.$langs->trans("Company").'</td>';
|
print '<td>'.$langs->trans("Company").'</td>';
|
||||||
print '<td>'.$langs->trans("Contacts").'</td>';
|
print '<td>'.$langs->trans("Contacts").'</td>';
|
||||||
print '<td>'.$langs->trans("ContactType").'</td>';
|
print '<td>'.$langs->trans("ContactType").'</td>';
|
||||||
print '<td colspan="2"> </td>';
|
print '<td colspan="3"> </td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
$var = false;
|
$var = false;
|
||||||
|
|||||||
@ -68,6 +68,10 @@ print '</td></tr></table>';
|
|||||||
|
|
||||||
print '</div>';
|
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();
|
$db->close();
|
||||||
|
|
||||||
llxFooter('$Date$ - $Revision$');
|
llxFooter('$Date$ - $Revision$');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user