From 5bffa5399a334d6358695a97551e787d09564f81 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 25 Jan 2010 13:45:13 +0000 Subject: [PATCH] Fix: add MAIN_INPUT_DESC_HEIGHT in update line --- htdocs/comm/propal.php | 4 +++- htdocs/commande/fiche.php | 5 +++-- htdocs/compta/facture.php | 5 +++-- htdocs/fourn/commande/fiche.php | 4 +++- htdocs/fourn/facture/fiche.php | 4 +++- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index 67ed8a78dde..0536329ffab 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -1613,7 +1613,9 @@ if ($id > 0 || ! empty($ref)) } else { - print ''; + $nbrows=ROWS_2; + if (! empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) $nbrows=$conf->global->MAIN_INPUT_DESC_HEIGHT; + print ''; } } print ''; diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index f4b381195d9..581cc5360fb 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -1805,8 +1805,9 @@ else } else { - print ''; } diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 0b880c07abc..f473b3f94b4 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -3016,8 +3016,9 @@ else } else { - print ''; } diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index e7bc6bbfda5..8c99d631b01 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -858,7 +858,9 @@ if ($id > 0 || ! empty($ref)) } else { - print ''; + $nbrows=ROWS_2; + if (! empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) $nbrows=$conf->global->MAIN_INPUT_DESC_HEIGHT; + print ''; } print ''; print ''; diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index b2ce054b9db..7cd645d5ff3 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -942,7 +942,9 @@ else } else { - print ''; + $nbrows=ROWS_2; + if (! empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) $nbrows=$conf->global->MAIN_INPUT_DESC_HEIGHT; + print ''; } print '';