Fix show description of project
This commit is contained in:
parent
39fa93486d
commit
454372bb4e
@ -403,7 +403,7 @@ if ($projectid > 0) {
|
|||||||
|
|
||||||
// Description
|
// Description
|
||||||
print '<tr><td class="titlefield tdtop">'.$langs->trans("Description").'</td><td class="valuefield">';
|
print '<tr><td class="titlefield tdtop">'.$langs->trans("Description").'</td><td class="valuefield">';
|
||||||
print nl2br($project->description);
|
print dol_htmlentitiesbr($project->description);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Categories
|
// Categories
|
||||||
|
|||||||
@ -340,7 +340,7 @@ print '<table class="border tableforfield centpercent">';
|
|||||||
|
|
||||||
// Description
|
// Description
|
||||||
print '<td class="titlefield tdtop">'.$langs->trans("Description").'</td><td>';
|
print '<td class="titlefield tdtop">'.$langs->trans("Description").'</td><td>';
|
||||||
print nl2br($object->description);
|
print dol_htmlentitiesbr($object->description);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Categories
|
// Categories
|
||||||
|
|||||||
@ -648,7 +648,7 @@ if ($id > 0 || !empty($ref)) {
|
|||||||
|
|
||||||
// Description
|
// Description
|
||||||
print '<td class="titlefield tdtop">'.$langs->trans("Description").'</td><td>';
|
print '<td class="titlefield tdtop">'.$langs->trans("Description").'</td><td>';
|
||||||
print nl2br($object->description);
|
print dol_htmlentitiesbr($object->description);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Categories
|
// Categories
|
||||||
|
|||||||
@ -1038,7 +1038,7 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0 || $allprojectforuser
|
|||||||
|
|
||||||
// Description
|
// Description
|
||||||
print '<td class="titlefield tdtop">'.$langs->trans("Description").'</td><td>';
|
print '<td class="titlefield tdtop">'.$langs->trans("Description").'</td><td>';
|
||||||
print nl2br($projectstatic->description);
|
print dol_htmlentitiesbr($projectstatic->description);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Categories
|
// Categories
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user