Merge pull request #22177 from aspangaro/14p38
FIX #21859 - Don't show html balise on list for private/public note
This commit is contained in:
commit
e7075be29a
@ -1915,7 +1915,7 @@ if ($resql) {
|
|||||||
// Note public
|
// Note public
|
||||||
if (!empty($arrayfields['p.note_public']['checked'])) {
|
if (!empty($arrayfields['p.note_public']['checked'])) {
|
||||||
print '<td class="center">';
|
print '<td class="center">';
|
||||||
print dol_escape_htmltag($obj->note_public);
|
print dol_string_nohtmltag($obj->note_public);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['nbfield']++;
|
$totalarray['nbfield']++;
|
||||||
@ -1924,7 +1924,7 @@ if ($resql) {
|
|||||||
// Note private
|
// Note private
|
||||||
if (!empty($arrayfields['p.note_private']['checked'])) {
|
if (!empty($arrayfields['p.note_private']['checked'])) {
|
||||||
print '<td class="center">';
|
print '<td class="center">';
|
||||||
print dol_escape_htmltag($obj->note_private);
|
print dol_string_nohtmltag($obj->note_private);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['nbfield']++;
|
$totalarray['nbfield']++;
|
||||||
|
|||||||
@ -1762,7 +1762,7 @@ if ($resql) {
|
|||||||
// Note public
|
// Note public
|
||||||
if (!empty($arrayfields['c.note_public']['checked'])) {
|
if (!empty($arrayfields['c.note_public']['checked'])) {
|
||||||
print '<td align="center" class="nowrap">';
|
print '<td align="center" class="nowrap">';
|
||||||
print dol_escape_htmltag($obj->note_public);
|
print dol_string_nohtmltag($obj->note_public);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['nbfield']++;
|
$totalarray['nbfield']++;
|
||||||
@ -1772,7 +1772,7 @@ if ($resql) {
|
|||||||
// Note private
|
// Note private
|
||||||
if (!empty($arrayfields['c.note_private']['checked'])) {
|
if (!empty($arrayfields['c.note_private']['checked'])) {
|
||||||
print '<td align="center" class="nowrap">';
|
print '<td align="center" class="nowrap">';
|
||||||
print dol_escape_htmltag($obj->note_private);
|
print dol_string_nohtmltag($obj->note_private);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['nbfield']++;
|
$totalarray['nbfield']++;
|
||||||
|
|||||||
@ -2103,7 +2103,7 @@ if ($resql) {
|
|||||||
// Note public
|
// Note public
|
||||||
if (!empty($arrayfields['f.note_public']['checked'])) {
|
if (!empty($arrayfields['f.note_public']['checked'])) {
|
||||||
print '<td class="center">';
|
print '<td class="center">';
|
||||||
print dol_escape_htmltag($obj->note_public);
|
print dol_string_nohtmltag($obj->note_public);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['nbfield']++;
|
$totalarray['nbfield']++;
|
||||||
@ -2112,7 +2112,7 @@ if ($resql) {
|
|||||||
// Note private
|
// Note private
|
||||||
if (!empty($arrayfields['f.note_private']['checked'])) {
|
if (!empty($arrayfields['f.note_private']['checked'])) {
|
||||||
print '<td class="center">';
|
print '<td class="center">';
|
||||||
print dol_escape_htmltag($obj->note_private);
|
print dol_string_nohtmltag($obj->note_private);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['nbfield']++;
|
$totalarray['nbfield']++;
|
||||||
|
|||||||
@ -698,7 +698,7 @@ if ($resql) {
|
|||||||
// Note public
|
// Note public
|
||||||
if (!empty($arrayfields['f.note_public']['checked'])) {
|
if (!empty($arrayfields['f.note_public']['checked'])) {
|
||||||
print '<td class="center">';
|
print '<td class="center">';
|
||||||
print dol_escape_htmltag($obj->note_public);
|
print dol_string_nohtmltag($obj->note_public);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['nbfield']++;
|
$totalarray['nbfield']++;
|
||||||
@ -707,7 +707,7 @@ if ($resql) {
|
|||||||
// Note private
|
// Note private
|
||||||
if (!empty($arrayfields['f.note_private']['checked'])) {
|
if (!empty($arrayfields['f.note_private']['checked'])) {
|
||||||
print '<td class="center">';
|
print '<td class="center">';
|
||||||
print dol_escape_htmltag($obj->note_private);
|
print dol_string_nohtmltag($obj->note_private);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['nbfield']++;
|
$totalarray['nbfield']++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user