diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2012-04-13 11:56:21 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2012-04-13 11:56:21 +0200 |
commit | 4496d075e50c7dd8bd3506bac5d97ed2a913ab86 (patch) | |
tree | d38eb8f8ac5d196b14a6b3a4c29d04ae2415c574 /view/lang_selector.tpl | |
parent | fdf50b8574b32464fa814e8d9116903884155ea1 (diff) | |
download | volse-hubzilla-4496d075e50c7dd8bd3506bac5d97ed2a913ab86.tar.gz volse-hubzilla-4496d075e50c7dd8bd3506bac5d97ed2a913ab86.tar.bz2 volse-hubzilla-4496d075e50c7dd8bd3506bac5d97ed2a913ab86.zip |
move html out of lang_selector() and new template lang_selector.tpl
Diffstat (limited to 'view/lang_selector.tpl')
-rw-r--r-- | view/lang_selector.tpl | 10 |
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> |