Look: L'espace du bord bas des onglets est géré comme les autres bord (par le style plutot que par un br). Ce qui permet d'avoir un rendu sans difference entre IE et Mozilla.

This commit is contained in:
Laurent Destailleur 2005-07-11 01:01:53 +00:00
parent d65c852b8c
commit 917a6deaf9
2 changed files with 13 additions and 19 deletions

View File

@ -166,7 +166,9 @@ if ($socid > 0)
print img_action(0,3); print img_action(0,3);
print '</a>'; print '</a>';
print '</td></tr>'; print '</td></tr>';
print "</table><br></div>"; print '</table>';
print '</div>';
/* /*
* *
@ -487,14 +489,13 @@ if ($socid > 0)
print '<td width="40%">'; print '<td width="40%">';
if ($obj->propalrowid) if ($obj->propalrowid)
{ {
print '<a href="'.DOL_URL_ROOT.'/comm/propal.php?propalid='.$obj->propalrowid.'">'.img_file().'</a> '; print '<a href="'.DOL_URL_ROOT.'/comm/propal.php?propalid='.$obj->propalrowid.'">'.img_file().' '.$obj->libelle.'</a>';
print '<a href="'.DOL_URL_ROOT.'/comm/propal.php?propalid='.$obj->propalrowid.'">'.$obj->libelle.'</a></td>';
} }
else else
{ {
print '<a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?id='.$obj->id.'">'.img_file().'</a> '; print '<a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?id='.$obj->id.'">'.img_object($langs->trans("ShowTask"),"task").' '.$obj->libelle.'</a>';
print '<a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?id='.$obj->id.'">'.$obj->libelle.'</a></td>';
} }
print '</td>';
/* /*
* Contact pour cette action * Contact pour cette action
* *
@ -545,12 +546,6 @@ if ($socid > 0)
print "<tr><td>".nl2br($societe->note)."</td></tr>"; print "<tr><td>".nl2br($societe->note)."</td></tr>";
print "</table>"; print "</table>";
} }
/*
*
*
*
*/
} }
else else
@ -558,11 +553,8 @@ if ($socid > 0)
dolibarr_print_error($db); dolibarr_print_error($db);
} }
} }
else
{
print "Erreur";
}
$db->close(); $db->close();
llxFooter("<em>Derni&egrave;re modification $Date$ r&eacute;vision $Revision$</em>"); llxFooter('$Date$ - $Revision$');
?> ?>

View File

@ -110,11 +110,13 @@ if ($_GET["socid"] > 0) {
print '<tr><td width="50%" valign="top">'; print '<tr><td width="50%" valign="top">';
print "<input type=\"hidden\" name=\"action\" value=\"add\">"; print "<input type=\"hidden\" name=\"action\" value=\"add\">";
print "<input type=\"hidden\" name=\"socid\" value=\"".$societe->id."\">"; print "<input type=\"hidden\" name=\"socid\" value=\"".$societe->id."\">";
print "<textarea name=\"note\" cols=\"60\" rows=\"10\">".$societe->note."</textarea><br>"; print "<textarea name=\"note\" cols=\"48\" rows=\"10\">".$societe->note."</textarea><br>";
print '</td><td width="50%" valign="top">'.nl2br($societe->note).'</td>'; print '</td><td width="50%" valign="top">'.nl2br($societe->note).'</td>';
print "</td></tr>"; print "</td></tr>";
print "</table><br>"; print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Modify").'"></td></tr>';
print '<center><input type="submit" value="'.$langs->trans("Modify").'"></center></form>'; print "</table>";
print '</form>';
} }
print '</div><br>'; print '</div><br>';