[*] BO #PSFV-94 : Added AdminPDFController

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9548 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2011-10-21 14:08:36 +00:00
parent ed36aa6971
commit 9564bf4ef8
4 changed files with 72 additions and 72 deletions
+13
View File
@@ -2006,6 +2006,19 @@ EOF;
{
$fields = $category_data['fields'];
foreach ($fields as $field => $values)
if (isset($values['type']) && $values['type'] == 'selectLang')
{
foreach ($languages as $lang)
if (Tools::getValue($field.'_'.strtoupper($lang['iso_code'])))
$fields[$field.'_'.strtoupper($lang['iso_code'])] = array(
'type' => 'select',
'cast' => 'strval',
'identifier' => 'mode',
'list' => $values['list']
);
}
/* Check required fields */
foreach ($fields as $field => $values)
if (isset($values['required']) && $values['required'] && !isset($_POST['configUseDefault'][$field]))