- {/if}
- {if isset($input.label)}
-
- {/if}
- {if $input.type == 'hidden'}
-
- {else}
-
- {/if}
- {/foreach}
- {elseif $key == 'submit'}
-
-
-
- {/if}
- {/foreach}
- {if $required_fields}
-
* {l s ='Required field'}
- {/if}
-
-
-
-{if isset($fields['new'])}
-
-
-{/if}
-
-{if $firstCall && !$no_back}
- {if $back}
-
{l s='Back'}
- {else}
-
{l s='Back to list'}
+
+ {/foreach}
+ {/if}
+ {/foreach}
+
+
{l s='Missing files are marked in red'}
+
{/if}
-
-{/if}
+
+{/block}
diff --git a/controllers/admin/AdminLanguagesController.php b/controllers/admin/AdminLanguagesController.php
index 1a4f040be..f12c3f572 100644
--- a/controllers/admin/AdminLanguagesController.php
+++ b/controllers/admin/AdminLanguagesController.php
@@ -299,6 +299,8 @@ class AdminLanguagesControllerCore extends AdminController
$this->fields_value['shop'][$row['id_shop']][] = $row[$this->identifier];
}
+ $this->addJS(_PS_JS_DIR_.'checkLangPack.js');
+
return parent::initForm();
}