mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-14 12:02:56 +03:00
18 lines
458 B
PHP
18 lines
458 B
PHP
<?php
|
|
/**
|
|
* Local variables.
|
|
*
|
|
* @var string $attributes
|
|
* @var array $grouped_timezones
|
|
*/
|
|
?>
|
|
|
|
<select <?= $attributes ?>>
|
|
<?php foreach ($grouped_timezones as $continent => $entries): ?>
|
|
<optgroup label="<?= $continent ?>">
|
|
<?php foreach ($entries as $value => $name): ?>
|
|
<option value="<?= $value ?>"><?= $name ?></option>
|
|
<?php endforeach ?>
|
|
</optgroup>
|
|
<?php endforeach ?>
|
|
</select>
|