diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 0a81f729fc8..57d5329717c 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -965,7 +965,7 @@ function dol_escape_js($stringtoescape, $mode=0, $noescapebackslashn=0) * * @param string $stringtoescape String to escape * @param int $keepb 1=Preserve b tags (otherwise, remove them) - * @param int $keepn 1=Preserve \r\n strings (otherwise, replace them with escaped value) + * @param int $keepn 1=Preserve \r\n strings (otherwise, replace them with escaped value). Set to 1 when escaping for a '; + print ''; // Zip / Town print ''.$langs->trans("Zip").' / '.$langs->trans("Town").''; @@ -535,7 +535,7 @@ if (! empty($id) && $action == 'edit') print ''.$langs->trans("Lastname").''; print ''.$langs->trans("Firstname").''; print ''.$langs->trans("Address").''; - print ''; + print ''; // Zip / Town print ''.$langs->trans("Zip").' / '.$langs->trans("Town").''; diff --git a/htdocs/expensereport/card.php b/htdocs/expensereport/card.php index fab70b1200a..ddd1f7cd306 100644 --- a/htdocs/expensereport/card.php +++ b/htdocs/expensereport/card.php @@ -2132,7 +2132,7 @@ else // Add comments print ''; - print ''; + print ''; print ''; // VAT @@ -2215,7 +2215,7 @@ else // Add comments print ''; - print ''; + print ''; print ''; // Select VAT diff --git a/htdocs/projet/card.php b/htdocs/projet/card.php index f2b735e6340..56646a1a470 100644 --- a/htdocs/projet/card.php +++ b/htdocs/projet/card.php @@ -616,7 +616,7 @@ if ($action == 'create' && $user->rights->projet->creer) // Description print ''.$langs->trans("Description").''; print ''; - print ''; + print ''; print ''; // Bill time diff --git a/htdocs/public/members/new.php b/htdocs/public/members/new.php index 9a85191e34f..e793547edd7 100644 --- a/htdocs/public/members/new.php +++ b/htdocs/public/members/new.php @@ -586,7 +586,7 @@ print ''.$langs->trans("Firstname").' *'.$langs->trans("Company").''."\n"; // Address print ''.$langs->trans("Address").''."\n"; -print ''."\n"; +print ''."\n"; // Zip / Town print ''.$langs->trans('Zip').' / '.$langs->trans('Town').''; print $formcompany->select_ziptown(GETPOST('zipcode'), 'zipcode', array('town','selectcountry_id','state_id'), 6, 1); @@ -641,7 +641,7 @@ include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_add.tpl.php'; // Comments print ''; print ''.$langs->trans("Comments").''; -print ''; +print ''; print ''."\n"; // Add specific fields used by Dolibarr foundation for example diff --git a/htdocs/public/opensurvey/studs.php b/htdocs/public/opensurvey/studs.php index acf986bb226..6b7eef356b3 100644 --- a/htdocs/public/opensurvey/studs.php +++ b/htdocs/public/opensurvey/studs.php @@ -752,7 +752,7 @@ if ($comments) if ($object->allow_comments) { print '
' .$langs->trans("AddACommentForPoll") . "
\n"; - print '
'."\n"; + print '
'."\n"; print $langs->trans("Name") .': '; print '   '."\n"; print '
'."\n";