diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index 059b0f45993..0775afdf83f 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -700,7 +700,7 @@ if ($_POST['action'] == "addline" && $user->rights->propale->creer) } $desc = $prod->description; - $desc.= ($prod->description && $_POST['np_desc']) ? ((dol_textishtml($prod->description) || dol_textishtml($_POST['np_desc']))?"
\n":"\n") : ""; + $desc.= ($prod->description && $_POST['np_desc']) ? ((dol_textishtml($prod->description) || dol_textishtml($_POST['np_desc']))?"
\n":"\n") : ""; $desc.= $_POST['np_desc']; $type = $prod->type; } @@ -1398,7 +1398,7 @@ if ($id > 0 || ! empty($ref)) } print ''; } - + // Insert hooks $parameters=array('colspan'=>' colspan="3"'); $reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook diff --git a/htdocs/comm/propal/tpl/linkedobjectblock.tpl.php b/htdocs/comm/propal/tpl/linkedobjectblock.tpl.php index a8880f35773..60779d92ab3 100644 --- a/htdocs/comm/propal/tpl/linkedobjectblock.tpl.php +++ b/htdocs/comm/propal/tpl/linkedobjectblock.tpl.php @@ -24,7 +24,7 @@ $langs = $GLOBALS['langs']; $linkedObjectBlock = $GLOBALS['linkedObjectBlock']; -echo '
'; +echo '
'; print_titre($langs->trans('RelatedCommercialProposals')); ?> diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index fe9850c8ec8..13e012ba97c 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -546,7 +546,7 @@ if ($action == 'addline' && $user->rights->commande->creer) } $desc = $prod->description; - $desc.= ($prod->description && $_POST['np_desc']) ? ((dol_textishtml($prod->description) || dol_textishtml($_POST['np_desc']))?"
\n":"\n") : ""; + $desc.= ($prod->description && $_POST['np_desc']) ? ((dol_textishtml($prod->description) || dol_textishtml($_POST['np_desc']))?"
\n":"\n") : ""; $desc.= $_POST['np_desc']; $type = $prod->type; } diff --git a/htdocs/commande/tpl/linkedobjectblock.tpl.php b/htdocs/commande/tpl/linkedobjectblock.tpl.php index 228198927f1..9823a2b7f53 100644 --- a/htdocs/commande/tpl/linkedobjectblock.tpl.php +++ b/htdocs/commande/tpl/linkedobjectblock.tpl.php @@ -25,7 +25,7 @@ $langs = $GLOBALS['langs']; $linkedObjectBlock = $GLOBALS['linkedObjectBlock']; $langs->load("orders"); -echo '
'; +echo '
'; print_titre($langs->trans('RelatedOrders')); ?> diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 5cf3cd0e91d..54ac2810be2 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -918,7 +918,7 @@ if (($action == 'addline' || $action == 'addline_predef') && $user->rights->fact } $desc = $prod->description; - $desc.= ($prod->description && $_POST['np_desc']) ? ((dol_textishtml($prod->description) || dol_textishtml($_POST['np_desc']))?"
\n":"\n") : ""; + $desc.= ($prod->description && $_POST['np_desc']) ? ((dol_textishtml($prod->description) || dol_textishtml($_POST['np_desc']))?"
\n":"\n") : ""; $desc.= $_POST['np_desc']; if (! empty($prod->customcode) || ! empty($prod->country_code)) { @@ -927,7 +927,7 @@ if (($action == 'addline' || $action == 'addline_predef') && $user->rights->fact if (! empty($prod->customcode) && ! empty($prod->country_code)) $tmptxt.=' - '; if (! empty($prod->country_code)) $tmptxt.=$langs->transnoentitiesnoconv("CountryOrigin").': '.getCountry($prod->country_code,0,$db,$langs,0); $tmptxt.=')'; - $desc.= (dol_textishtml($desc)?"
\n":"\n").$tmptxt; + $desc.= (dol_textishtml($desc)?"
\n":"\n").$tmptxt; } $type = $prod->type; } @@ -1630,13 +1630,13 @@ if ($action == 'create') // Credit note print '
'; print ''; print ''; $text=$langs->transnoentities("InvoiceAvoirAsk").' '; // $text.=''; $text.=' diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 3d6749c6c53..88bb5aedab7 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -919,7 +919,7 @@ class Form $this->select_produits_do($selected,$htmlname,$filtertype,$limit,$price_level,'',$status,$finished,0); } - print '
'; + print '
'; } /** diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index 1dc8abcde3e..6e2642c0cb1 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -356,7 +356,7 @@ class FormMail $out.= ' <'.$this->tomail.'>'; if ($this->withtofree) { - $out.= '
'.$langs->trans("or").' withto) :"").'" />'; + $out.= '
'.$langs->trans("or").' withto) :"").'" />'; } } else @@ -523,7 +523,7 @@ class FormMail $out.= ' '; //$out.= ' '.img_delete($langs->trans("Delete").''; } - $out.= '
'; + $out.= '
'; } } else diff --git a/htdocs/core/tpl/login.tpl.php b/htdocs/core/tpl/login.tpl.php index 02cc7879be6..912ea58e1c0 100644 --- a/htdocs/core/tpl/login.tpl.php +++ b/htdocs/core/tpl/login.tpl.php @@ -25,11 +25,8 @@ header("Content-type: text/html; charset=".$conf->file->character_set_client); - - -<?php echo $langs->trans('Login'); ?> @@ -143,7 +140,7 @@ jQuery(document).ready(function () { - @@ -186,7 +183,7 @@ jQuery(document).ready(function () {
 

+

-

+

load("interventions"); -echo '
'; +echo '
'; print_titre($langs->trans('RelatedInterventions')); ?> diff --git a/htdocs/lib/pdf.lib.php b/htdocs/lib/pdf.lib.php index 401568c7e56..e0d2f0566b7 100644 --- a/htdocs/lib/pdf.lib.php +++ b/htdocs/lib/pdf.lib.php @@ -763,7 +763,7 @@ function pdf_getlinedesc($object,$i,$outputlangs,$hideref=0,$hidedesc=0,$issuppl // Description long of product line if ($desc && ($desc != $label)) { - if ( $libelleproduitservice && empty($hidedesc) ) $libelleproduitservice.="
"; + if ( $libelleproduitservice && empty($hidedesc) ) $libelleproduitservice.="
"; if ($desc == '(CREDIT_NOTE)' && $object->lines[$i]->fk_remise_except) { diff --git a/htdocs/paypal/admin/paypal.php b/htdocs/paypal/admin/paypal.php index 9a03ae43a37..2700320b062 100644 --- a/htdocs/paypal/admin/paypal.php +++ b/htdocs/paypal/admin/paypal.php @@ -77,7 +77,7 @@ llxHeader('',$langs->trans("PaypalSetup")); $linkback=''.$langs->trans("BackToModuleList").''; print_fiche_titre(' - '.$langs->trans("ModuleSetup"),$linkback,'paypal_logo@paypal'); -print '
'; +print '
'; $head=paypaladmin_prepare_head(); @@ -94,7 +94,7 @@ if ($conf->use_javascript_ajax) $("#apidoca").hide(); $("#apidoc").show(); }); - + $("#generate_token").click(function() { $.get( "'.DOL_URL_ROOT.'/core/ajaxsecurity.php", { action: \'getrandompassword\',