Skip to content

Commit

Permalink
Debug v21
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 14, 2024
1 parent b1e3830 commit 74d3d54
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions htdocs/opensurvey/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
print '</td>';
}
print '<td class="liste_titre"><input type="text" class="maxwidth100" name="search_ref" value="'.dol_escape_htmltag($search_ref).'"></td>';
print '<td class="liste_titre"><input type="text" class="maxwidth100onsmartphone" name="search_title" value="'.dol_escape_htmltag($search_title).'"></td>';
print '<td class="liste_titre"><input type="text" class="maxwidth100" name="search_title" value="'.dol_escape_htmltag($search_title).'"></td>';
print '<td class="liste_titre"></td>';
print '<td class="liste_titre"></td>';
print '<td class="liste_titre"></td>';
Expand Down Expand Up @@ -446,22 +446,23 @@
}
print '</td>';
}

// Ref
print '<td>';
print '<td class="tdoverflowmax150">';
print $opensurvey_static->getNomUrl(1);
print '</td>';
if (!$i) {
$totalarray['nbfield']++;
}

// Title
print '<td>'.dol_htmlentities($obj->title).'</td>';
print '<td class="tdoverflowmax125">'.dol_htmlentities($obj->title).'</td>';
if (!$i) {
$totalarray['nbfield']++;
}

// Type
print '<td>';
print '<td class="tdoverflowmax100">';
$type = ($obj->format == 'A') ? 'classic' : 'date';
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");
Expand All @@ -470,7 +471,7 @@
$totalarray['nbfield']++;
}

print '<td>';
print '<td class="tdoverflowmax100">';
// Author
if ($obj->fk_user_creat) {
$userstatic = new User($db);
Expand Down

0 comments on commit 74d3d54

Please sign in to comment.