Added new packages
This commit is contained in:
parent
db1ba6bd1d
commit
121cf3a243
4 changed files with 125 additions and 0 deletions
16
paramecio/citoplasma/templates/forms/i18nform.phtml
Normal file
16
paramecio/citoplasma/templates/forms/i18nform.phtml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
${add_js_home_local('tools.js', 'admin')}
|
||||
<div id="languages_form">
|
||||
${form.show()}
|
||||
<%def name="select_lang(i18n, lang_selected)">
|
||||
% if i18n==lang_selected:
|
||||
choose_flag
|
||||
% else:
|
||||
no_choose_flag
|
||||
% endif
|
||||
</%def>
|
||||
% if lang_selected!=None:
|
||||
% for i18n in arr_i18n:
|
||||
<a class="${select_lang(i18n, lang_selected)} lang_form" href="#"><img src="${make_media_url_module('images/languages/'+i18n+'.png', 'admin')}" alt="${i18n}"/></a>
|
||||
% endfor
|
||||
% endif
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue