diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-01 15:54:16 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-01 15:54:16 +0100 |
commit | 85e76773a04995884e798a89cc285f48377bcb62 (patch) | |
tree | c1ead5390bc85fda87a406971a5efe6191ca0785 /view/tpl/select_timezone.tpl | |
parent | 686b6ee1182c09969e2817b53825a78975c75bf5 (diff) | |
download | volse-hubzilla-85e76773a04995884e798a89cc285f48377bcb62.tar.gz volse-hubzilla-85e76773a04995884e798a89cc285f48377bcb62.tar.bz2 volse-hubzilla-85e76773a04995884e798a89cc285f48377bcb62.zip |
Use grouped select field for role selection
Diffstat (limited to 'view/tpl/select_timezone.tpl')
-rw-r--r-- | view/tpl/select_timezone.tpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/view/tpl/select_timezone.tpl b/view/tpl/select_timezone.tpl new file mode 100644 index 000000000..2820a54f4 --- /dev/null +++ b/view/tpl/select_timezone.tpl @@ -0,0 +1,11 @@ +{{* TODO: Make id configurabel *}} +<select id='timezone_select' name='timezone'> +{{foreach $continents as $continent => $cities}} +<optgroup label="{{$continent}}"> +{{foreach $cities as $city => $value}} +<option value='{{$value}}' {{if $value == $selected}}selected='selected'{{/if}}>{{$city}}</option> +{{/foreach}} +</optgroup> +{{/foreach}} +</select> + |