show users in presence list based on trt array

This commit is contained in:
Ricsi
2019-10-03 13:46:37 +02:00
parent fe146cf9a5
commit 7717795fb5
8 changed files with 100 additions and 6 deletions

View File

@@ -121,8 +121,13 @@
</div>
<div>
<label class="desc" for="uk_level">Szint:</label>
<div><input type="text" name="uk_level" id="uk_level" value="{$user_data.uk_level}"></div>
<label for="level">Szint:</label>
{foreach $tt_assoc_array as $tt}
<div>
<input type="checkbox" name="level[]" value="{$tt['trt_id']}"{if user_kid::has_training_type($user_data.uk_id, $tt['trt_id'])} checked{/if}>
<span style="position: relative; bottom: 3px;">{$tt['trt_name']}</span>
</div>
{/foreach}
</div>