mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +09:00
issue 160, added support multi language for widget
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9161 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c776afd76e
commit
db57e428cc
7 changed files with 71 additions and 8 deletions
|
|
@ -42,9 +42,19 @@
|
|||
<li class="modulefinder"|cond="$var->type == 'mid' || $var->type == 'module_srl_list'">
|
||||
<p class="q"><label for="{$id}">{$var->name}</label></p>
|
||||
<div class="a">
|
||||
<input cond="$var->type == 'text'" type="text" name="{$id}" value="" id="{$id}" />
|
||||
<div cond="$var->type == 'text'" class="multiLangEdit">
|
||||
{@$use_multilang = true}
|
||||
<input type="hidden" name="{$id}" value="" class="vLang" />
|
||||
<input type="text" id="{$id}" class="vLang" />
|
||||
<span class="desc"><a href="#langEdit" class="editUserLang tgAnchor">{$lang->cmd_set_multilingual}</a></span>
|
||||
</div>
|
||||
<input cond="$var->type == 'color'" type="text" name="{$id}" value="" id="{$id}" class="color-indicator" />
|
||||
<textarea cond="$var->type == 'textarea'" name="{$id}" id="{$id}"></textarea>
|
||||
<div cond="$var->type == 'textarea'" class="multiLangEdit">
|
||||
{@$use_multilang_textarea = true}
|
||||
<input type="hidden" name="{$id}" value="" class="vLang" />
|
||||
<textarea cond="$var->type == 'textarea'" id="{$id}" class="vLang"></textarea>
|
||||
<span class="desc"><a href="#langEditTextarea" class="editUserLang tgAnchor">{$lang->cmd_set_multilingual}</a></span>
|
||||
</div>
|
||||
<select cond="$var->type == 'select'" name="{$id}" id="{$id}" style="width:290px">
|
||||
<option loop="$var->options => $key, $val" value="{$key}">{$val}</option>
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue