Skip to content
Snippets Groups Projects
Commit c3cac1f5 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

fix for BIESt #540

parent c706fd92
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<tr> <tr>
<? if (!$is_locked) : ?> <? if (!$is_locked) : ?>
<td> <td>
<input aria-label="<?= sprintf(_('%s auswählen'), _('Vorläufig akzeptierte/n NutzerIn')) ?>" <input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($fullname)) ?>"
type="checkbox" name="accepted[<?= $accept['user_id'] ?>]" value="1" type="checkbox" name="accepted[<?= $accept['user_id'] ?>]" value="1"
<? if (isset($flash['checked']) && in_array($accept['user_id'], $flash['checked'])) echo 'checked'; ?>> <? if (isset($flash['checked']) && in_array($accept['user_id'], $flash['checked'])) echo 'checked'; ?>>
</td> </td>
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<tr> <tr>
<? if ($is_tutor && !$is_locked) : ?> <? if ($is_tutor && !$is_locked) : ?>
<td> <td>
<input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($status_groups['autor'])) ?>" <input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($fullname)) ?>"
type="checkbox" name="autor[<?= $autor['user_id'] ?>]" value="1" type="checkbox" name="autor[<?= $autor['user_id'] ?>]" value="1"
<? if (isset($flash['checked']) && in_array($autor['user_id'], $flash['checked'])) echo 'checked'; ?>> <? if (isset($flash['checked']) && in_array($autor['user_id'], $flash['checked'])) echo 'checked'; ?>>
</td> </td>
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
<tr> <tr>
<? if (!$is_locked) : ?> <? if (!$is_locked) : ?>
<td> <td>
<input aria-label="<?= _('NutzerIn auswählen') ?>" type="checkbox" <input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($fullname)) ?>" type="checkbox"
name="awaiting[<?= htmlReady($waiting['user_id']) ?>]" value="1" name="awaiting[<?= htmlReady($waiting['user_id']) ?>]" value="1"
<? if (isset($flash['checked']) && in_array($waiting['user_id'], $flash['checked'])) echo 'checked'; ?>> <? if (isset($flash['checked']) && in_array($waiting['user_id'], $flash['checked'])) echo 'checked'; ?>>
</td> </td>
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<tr> <tr>
<? if ($is_dozent && !$tutor_is_locked): ?> <? if ($is_dozent && !$tutor_is_locked): ?>
<td> <td>
<input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($status_groups['tutor'])) ?>" <input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($fullname)) ?>"
type="checkbox" name="tutor[<?= $tutor['user_id'] ?>]" value="1" type="checkbox" name="tutor[<?= $tutor['user_id'] ?>]" value="1"
<? if (isset($flash['checked']) && in_array($tutor['user_id'], $flash['checked'])) echo 'checked'; ?>> <? if (isset($flash['checked']) && in_array($tutor['user_id'], $flash['checked'])) echo 'checked'; ?>>
</td> </td>
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<tr> <tr>
<? if($is_tutor) :?> <? if($is_tutor) :?>
<td> <td>
<input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($status_groups['user'])) ?>" <input aria-label="<?= sprintf(_('%s auswählen'), htmlReady($fullname)) ?>"
type="checkbox" name="user[<?= $leser['user_id'] ?>]" value="1" type="checkbox" name="user[<?= $leser['user_id'] ?>]" value="1"
<? if (isset($flash['checked']) && in_array($leser['user_id'], $flash['checked'])) echo 'checked'; ?>> <? if (isset($flash['checked']) && in_array($leser['user_id'], $flash['checked'])) echo 'checked'; ?>>
</td> </td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment