diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-05-25 13:26:05 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-10-22 13:16:53 +0200 |
commit | f39580c6fd171b849cec5832b4912182696341f2 (patch) | |
tree | c184380d829e2f9b22b2375f4bdc8d085cd6a9be /tpl/default/configure.html | |
parent | d6379763290230242caac5fe1e7c589a29fa6bf0 (diff) | |
download | Shaarli-f39580c6fd171b849cec5832b4912182696341f2.tar.gz Shaarli-f39580c6fd171b849cec5832b4912182696341f2.tar.zst Shaarli-f39580c6fd171b849cec5832b4912182696341f2.zip |
Add language selection in the configure page of the default theme
Diffstat (limited to 'tpl/default/configure.html')
-rw-r--r-- | tpl/default/configure.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tpl/default/configure.html b/tpl/default/configure.html index 76a1b9fd..cc3b299b 100644 --- a/tpl/default/configure.html +++ b/tpl/default/configure.html | |||
@@ -70,6 +70,30 @@ | |||
70 | </div> | 70 | </div> |
71 | </div> | 71 | </div> |
72 | <div class="pure-g"> | 72 | <div class="pure-g"> |
73 | <div class="pure-u-lg-{$ratioLabel} pure-u-1"> | ||
74 | <div class="form-label"> | ||
75 | <label for="language"> | ||
76 | <span class="label-name">{'Language'|t}</span> | ||
77 | </label> | ||
78 | </div> | ||
79 | </div> | ||
80 | <div class="pure-u-lg-{$ratioInput} pure-u-1"> | ||
81 | <div class="form-input"> | ||
82 | <select name="language" id="language" class="align"> | ||
83 | {loop="$languages"} | ||
84 | <option value="{$key}" | ||
85 | {if="$key===$language"} | ||
86 | selected="selected" | ||
87 | {/if} | ||
88 | > | ||
89 | {$value} | ||
90 | </option> | ||
91 | {/loop} | ||
92 | </select> | ||
93 | </div> | ||
94 | </div> | ||
95 | </div> | ||
96 | <div class="pure-g"> | ||
73 | <div class="pure-u-lg-{$ratioLabel} pure-u-1 "> | 97 | <div class="pure-u-lg-{$ratioLabel} pure-u-1 "> |
74 | <div class="form-label"> | 98 | <div class="form-label"> |
75 | <label> | 99 | <label> |