MaketRandevu/application/views/partial/timezone_dropdown.php
2020-03-29 14:07:01 +02:00

10 lines
385 B
PHP

<select <?= $attributes ?>>
<option value="UTC">UTC</option>
<?php foreach ($timezones as $continent => $entries): ?>
<optgroup label="<?= $continent ?>">
<?php foreach ($entries as $value => $name): ?>
<option value="<?= $value ?>"><?= $name ?></option>
<?php endforeach ?>
</optgroup>
<?php endforeach ?>
</select>