aboutsummaryrefslogtreecommitdiffstats
path: root/view/lang_selector.tpl
diff options
context:
space:
mode:
authorMichael <icarus@dabo.de>2012-04-14 13:03:40 +0200
committerMichael <icarus@dabo.de>2012-04-14 13:03:40 +0200
commit188829ed46be6d3c7a91380226e26e8292c327be (patch)
tree2fb4148bc2222cf198309f4025862080c89fe36b /view/lang_selector.tpl
parent7384786d4417ddd051b7daa71c019d3c551efc68 (diff)
parent0d869ceb65badbd4d80dd0d5cf2d631bca7f5b9e (diff)
downloadvolse-hubzilla-188829ed46be6d3c7a91380226e26e8292c327be.tar.gz
volse-hubzilla-188829ed46be6d3c7a91380226e26e8292c327be.tar.bz2
volse-hubzilla-188829ed46be6d3c7a91380226e26e8292c327be.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'view/lang_selector.tpl')
-rw-r--r--view/lang_selector.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/view/lang_selector.tpl b/view/lang_selector.tpl
new file mode 100644
index 000000000..b3a527b40
--- /dev/null
+++ b/view/lang_selector.tpl
@@ -0,0 +1,10 @@
+<div id="lang-select-icon" class="icon s22 language" title="$title" onclick="openClose('language-selector');" >lang</div>
+<div id="language-selector" style="display: none;" >
+ <form action="#" method="post" >
+ <select name="system_language" onchange="this.form.submit();" >
+ {{ for $langs.0 as $v=>$l }}
+ <option value="$v" {{if $v==$langs.1}}selected="selected"{{endif}}>$l</option>
+ {{ endfor }}
+ </select>
+ </form>
+</div>