[-] BO : fix #PSCFV-2381 : now count translations fields are good and translations...

This commit is contained in:
lLefevre
2012-05-19 13:26:27 +00:00
parent d6a120cfc0
commit 66c861df39
12 changed files with 69 additions and 37 deletions
@@ -126,7 +126,7 @@
</p>
<p><label for="importLanguage">{l s='Language pack to import:'}</label><input type="file" name="file" id="importLanguage"/>&nbsp;</p>
<p>
<label for="selectThemeForImport">{l s='Select yours themes:'}</label>
<label for="selectThemeForImport">{l s='Select your theme:'}</label>
<select name="theme[]" id="selectThemeForImport" {if count($themes) > 1}multiple="multiple"{/if} >
{foreach $themes as $theme}
<option value="{$theme->directory}" selected="selected">{$theme->name} &nbsp;</option>
@@ -69,7 +69,7 @@
<script type="text/javascript">
$().ready(function () {
var input_id = '{/literal}{if isset($input.id)}{$input.id}_{$language.id_lang}{else}{$input.name}_{$language.id_lang}{/if}{literal}';
$('#'+input_id).tagify({addTagPrompt: '{/literal}{l s='Add tag' js='0'}{literal}'});
$('#'+input_id).tagify({addTagPrompt: '{/literal}{l s='Add tag' js=1}{literal}'});
$({/literal}'#{$table}{literal}_form').submit( function() {
$(this).find('#'+input_id).val($('#'+input_id).tagify('serialize'));
});