X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=root%2Fsrc%2Fsettings%2Findex.tt2;h=2b5041918192a5c3accf003b2b347932a52b83bc;hb=4e9d3ae6bff7db31eeef5110180ac6e440502dd3;hp=6291e33cddcf3684b067b4da5f943167687e9a85;hpb=eb3bda37d084c0e6b13c97f88f06d5563c40d2fb;p=ndwebbie.git diff --git a/root/src/settings/index.tt2 b/root/src/settings/index.tt2 index 6291e33..2b50419 100644 --- a/root/src/settings/index.tt2 +++ b/root/src/settings/index.tt2 @@ -9,6 +9,10 @@
+
Email + +
+
Birthday YYYY-MM-DD: @@ -23,7 +27,7 @@

-
Timezone +
Timezone -
+ +

+

Remember that GMT stays the same all year, so if you're in the UK you should pick Europe/London.

-
+
[%- site.stylesheets = ['ui/ui.datepicker.css'] %] @@ -50,12 +56,23 @@ $(document).ready(function(){ showOn: "both" }); $("#tzcategory").change(function(){ - $.get("/jsrpc/tzcountries/" + $(this).val(),function(xml){ + if ($(this).val() == 'GMT'){ + $("#timezone").val($(this).val()); $("#tzcountry").empty(); - $("country",xml).each(function(i){ - $("#tzcountry").append(''); + }else{ + $.get("/jsrpc/tzcountries/" + $(this).val(),function(xml){ + $("#tzcountry").empty(); + $("country",xml).each(function(i){ + var opt = $('