Checkbox für Benutzerauswahl hinzugefügt

This commit is contained in:
blaerf 2025-11-29 06:41:28 +01:00
parent b62d455d77
commit 2efe1bb6d3

View File

@ -33,6 +33,7 @@ declare(strict_types=1);
<table class="table table-bordered" id="usersTable" width="100%" cellspacing="0"> <table class="table table-bordered" id="usersTable" width="100%" cellspacing="0">
<thead> <thead>
<tr> <tr>
<th><input type="checkbox" name="selectAllUsers"></th>
<th>Anmeldename (sAMAccountName)</th> <th>Anmeldename (sAMAccountName)</th>
<th>Anzeigename</th> <th>Anzeigename</th>
<th>E-Mail</th> <th>E-Mail</th>
@ -41,6 +42,9 @@ declare(strict_types=1);
<tbody> <tbody>
<?php foreach ($users as $user): ?> <?php foreach ($users as $user): ?>
<tr> <tr>
<td>
<input type="checkbox" name="selectUser<?php echo htmlspecialchars($user['samaccountname'] ?? '', ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); ?>">
</td>
<td> <td>
<?php echo htmlspecialchars($user['samaccountname'] ?? '', ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); ?> <?php echo htmlspecialchars($user['samaccountname'] ?? '', ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); ?>
</td> </td>