aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/vintage/configure.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-04-25 19:09:13 +0200
committerGitHub <noreply@github.com>2017-04-25 19:09:13 +0200
commit4c7045229c94973c1cb83193e69463f426ddc35b (patch)
tree3f61c22429513f4e70987eb200dc772be8aa70ab /tpl/vintage/configure.html
parent504c9df4e7ed126678f146d4c349c798b8338407 (diff)
parent49bc541d7973bd86776441eb072e66d01b368e68 (diff)
downloadShaarli-4c7045229c94973c1cb83193e69463f426ddc35b.tar.gz
Shaarli-4c7045229c94973c1cb83193e69463f426ddc35b.tar.zst
Shaarli-4c7045229c94973c1cb83193e69463f426ddc35b.zip
Merge pull request #830 from ArthurHoaro/theme/timezone
Change timezone data structure send to the templates
Diffstat (limited to 'tpl/vintage/configure.html')
-rw-r--r--tpl/vintage/configure.html24
1 files changed, 22 insertions, 2 deletions
diff --git a/tpl/vintage/configure.html b/tpl/vintage/configure.html
index 704389c5..7adc7545 100644
--- a/tpl/vintage/configure.html
+++ b/tpl/vintage/configure.html
@@ -4,7 +4,6 @@
4<body onload="document.configform.title.focus();"> 4<body onload="document.configform.title.focus();">
5<div id="pageheader"> 5<div id="pageheader">
6 {include="page.header"} 6 {include="page.header"}
7 {$timezone_js}
8 <form method="POST" action="#" name="configform" id="configform"> 7 <form method="POST" action="#" name="configform" id="configform">
9 <input type="hidden" name="token" value="{$token}"> 8 <input type="hidden" name="token" value="{$token}">
10 <table id="configuration_table"> 9 <table id="configuration_table">
@@ -35,7 +34,28 @@
35 34
36 <tr> 35 <tr>
37 <td><b>Timezone:</b></td> 36 <td><b>Timezone:</b></td>
38 <td>{$timezone_form}</td> 37 <td>
38 <select id="continent" name="continent">
39 {loop="$continents"}
40 {if="$key !== 'selected'"}
41 <option value="{$value}" {if="$continents.selected === $value"}selected{/if}>
42 {$value}
43 </option>
44 {/if}
45 {/loop}
46 </select>
47 <select id="city" name="city">
48 {loop="$cities"}
49 {if="$key !== 'selected'"}
50 <option value="{$value.city}"
51 {if="$cities.selected === $value.city"}selected{/if}
52 data-continent="{$value.continent}">
53 {$value.city}
54 </option>
55 {/if}
56 {/loop}
57 </select>
58 </td>
39 </tr> 59 </tr>
40 60
41 <tr> 61 <tr>