mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Debug v21
This commit is contained in:
parent
8c1f823851
commit
982c356493
|
|
@ -246,7 +246,7 @@ print '<table class="border tableforfield centpercent">';
|
|||
|
||||
// Type
|
||||
$type = ($object->format == "A") ? 'classic' : 'date';
|
||||
print '<tr><td class="titlefieldmax45">'.$langs->trans("Type").'</td><td>';
|
||||
print '<tr><td class="titlefieldmiddle">'.$langs->trans("Type").'</td><td>';
|
||||
print img_picto('', dol_buildpath('/opensurvey/img/'.($type == 'classic' ? 'chart-32.png' : 'calendar-32.png'), 1), 'width="16"', 1);
|
||||
print ' '.$langs->trans($type == 'classic' ? "TypeClassic" : "TypeDate").'</td></tr>';
|
||||
|
||||
|
|
@ -257,7 +257,7 @@ print $langs->trans("Title").'</td><td>';
|
|||
if ($action == 'edit') {
|
||||
print '<input class="width300" type="text" name="nouveautitre" value="'.dolPrintHTML($object->title).'">';
|
||||
} else {
|
||||
print dol_htmlentities($object->title);
|
||||
print dolPrintHTML($object->title);
|
||||
}
|
||||
print '</td></tr>';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user