diff options
author | RedMatrix <info@friendica.com> | 2015-01-02 12:10:50 +1100 |
---|---|---|
committer | RedMatrix <info@friendica.com> | 2015-01-02 12:10:50 +1100 |
commit | 817b54688e8cea4c7671a8326ce4cf815e1b62d6 (patch) | |
tree | b1e398a186c77fa99b67dc6a99195713582fc4a4 /view/tpl/select_timezone.tpl | |
parent | db811ca975e6880ff6540a61c216e7e2432ea75e (diff) | |
parent | 85e76773a04995884e798a89cc285f48377bcb62 (diff) | |
download | volse-hubzilla-817b54688e8cea4c7671a8326ce4cf815e1b62d6.tar.gz volse-hubzilla-817b54688e8cea4c7671a8326ce4cf815e1b62d6.tar.bz2 volse-hubzilla-817b54688e8cea4c7671a8326ce4cf815e1b62d6.zip |
Merge pull request #805 from pafcu/moretpl
Move some HTML out to templates
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> + |