Skip to content
Snippets Groups Projects
Commit ea0979be authored by Thomas Hackl's avatar Thomas Hackl
Browse files

resolve tlx comments on boolean usage, re #605

parent 3c1c4f1f
No related branches found
No related tags found
No related merge requests found
...@@ -26,22 +26,22 @@ $entries = (array)DataFieldEntry::getDataFieldEntries([$user->user_id, $inst_id] ...@@ -26,22 +26,22 @@ $entries = (array)DataFieldEntry::getDataFieldEntries([$user->user_id, $inst_id]
<label> <label>
<?= _('Raum') ?> <?= _('Raum') ?>
<?= I18N::input('raum', $institute['raum'], <?= I18N::input('raum', $institute['raum'],
['id' => 'raum', 'disabled' => $locked ? true : false]) ?> ['id' => 'raum', 'disabled' => $locked]) ?>
</label> </label>
<label> <label>
<?= _('Sprechzeit') ?> <?= _('Sprechzeit') ?>
<?= I18N::input('sprech', $institute['sprechzeiten'], <?= I18N::input('sprech', $institute['sprechzeiten'],
['id' => 'sprech', 'disabled' => $locked ? true : false]) ?> ['id' => 'sprech', 'disabled' => $locked]) ?>
</label> </label>
<label> <label>
<?= _('Telefon') ?> <?= _('Telefon') ?>
<?= I18N::input('tel', $institute['telefon'], <?= I18N::input('tel', $institute['telefon'],
['id' => 'telefon', 'disabled' => $locked ? true : false]) ?> ['id' => 'telefon', 'disabled' => $locked]) ?>
</label> </label>
<label> <label>
<?= _('Fax') ?> <?= _('Fax') ?>
<?= I18N::input('fax', $institute['fax'], <?= I18N::input('fax', $institute['fax'],
['id' => 'fax', 'disabled' => $locked ? true : false]) ?> ['id' => 'fax', 'disabled' => $locked]) ?>
</label> </label>
<? foreach ($entries as $id => $entry): ?> <? foreach ($entries as $id => $entry): ?>
......
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