]> git.mxchange.org Git - friendica.git/commitdiff
where did this "lang" string come from and why?
authorfriendica <info@friendica.com>
Sun, 15 Apr 2012 13:04:54 +0000 (06:04 -0700)
committerfriendica <info@friendica.com>
Sun, 15 Apr 2012 13:04:54 +0000 (06:04 -0700)
view/theme/duepuntozero/lang_selector.tpl [new file with mode: 0644]

diff --git a/view/theme/duepuntozero/lang_selector.tpl b/view/theme/duepuntozero/lang_selector.tpl
new file mode 100644 (file)
index 0000000..e777a0a
--- /dev/null
@@ -0,0 +1,10 @@
+<div id="lang-select-icon" class="icon s22 language" title="$title" onclick="openClose('language-selector');" ></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>