]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Change timezone data structure send to the templates
authorArthurHoaro <arthur@hoa.ro>
Wed, 22 Mar 2017 18:16:35 +0000 (19:16 +0100)
committerArthurHoaro <arthur@hoa.ro>
Mon, 3 Apr 2017 17:24:55 +0000 (19:24 +0200)
commitae3aa96898834ce3992790e1622541ce48fd78d3
treeeaedb30e45748b11a3b5bcf0224ee797c2f341bb
parentc84379478621303b186f50d647e90079727b6062
Change timezone data structure send to the templates

The goal of this is to be able to adapt the timezone form
in template without hacking the HTML already rendered.

  * there are two arrays available:
    * `continents` which contains only a list of available continents
    * `cities` which contains a list of available timezone cities, associated with their continent

Note: there are two distinct array because RainTPL doesn't support nested loop very well.
application/PageBuilder.php
application/TimeZone.php
index.php
tests/TimeZoneTest.php