use bootstrap for delete link

This commit is contained in:
Tealk
2021-03-19 12:34:46 +01:00
parent a5e154a18c
commit ba17ae3863
2 changed files with 2 additions and 11 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ if (isset($message)) {
echo "<td>" . $result['group_name'] . "</td>";
if ($user->get_rank() <= 1) {
echo '<td class="text-center"><a href="' . WEB_URL . '/admin/?do=settings&type=service&delete=' . $result['id'] . '" class="delete-service"><i class="fa fa-trash"></i></a></td>';
echo '<td class="text-center"><a href="' . WEB_URL . '/admin/?do=settings&type=service&delete=' . $result['id'] . '" class="link-danger"><i class="fa fa-trash"></i></a></td>';
}
echo "</tr>";
} ?>
@@ -102,7 +102,7 @@ if (isset($message)) {
echo "<td>" . $visibility[$result['visibility']] . "</td>";
if ($user->get_rank() <= 1) {
echo '<td class="text-center"><a href="' . WEB_URL . '/admin/?do=settings&type=groups&delete=' . $result['id'] . '" class=" delete-service"><i class="fa fa-trash"></i></a></td>';
echo '<td class="text-center"><a href="' . WEB_URL . '/admin/?do=settings&type=groups&delete=' . $result['id'] . '" class=" link-danger"><i class="fa fa-trash"></i></a></td>';
}
echo "</tr>";
} ?>