Webgui: filter and pagination working
This commit is contained in:
+8
-3
@@ -148,14 +148,19 @@ echo '<tr>';
|
||||
echo '<th>#</th>';
|
||||
echo '<th>', _('Description'),'</th>';
|
||||
echo '<th>', _('Number'),'</th>';
|
||||
echo '<td></td>';
|
||||
echo '<th></th>';
|
||||
echo '</tr>';
|
||||
echo '</thead>';
|
||||
foreach ($sth->fetchAll() as $row) {
|
||||
echo '<tr><td>', $row['ddval'],'</td>';
|
||||
echo '<tr><td>', $row['ddval'];
|
||||
echo '<a class="text-nowrap" title="', _('View'), '" href="', $g_scriptname, '?f=view&id=', $row['ddval'], '"><i class="bi bi-eye ms-2"></i></a>';
|
||||
echo '</td>';
|
||||
echo '<td>', $row['ddtext'], '</td>';
|
||||
echo '<td>', $num[$row['ddval']] ?? 0, '</td>';
|
||||
form_action_buttons($g_scriptname, $row['ddval']);
|
||||
// form_action_buttons($g_scriptname, $row['ddval']);
|
||||
echo "<td>";
|
||||
echo '<a class="text-nowrap" title="', _('Edit'), '" href="', $g_scriptname, '?f=edit&id=', $row['ddval'], '"><i class="bi bi-pencil ms-2"></i></a>';
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
}
|
||||
echo "</table>\n";
|
||||
|
||||
Reference in New Issue
Block a user