forked from Wavyzz/dolibarr
Look and feel v18
This commit is contained in:
@@ -75,15 +75,19 @@ if ($massaction == 'preaffecttag' && isModEnabled('category')) {
|
||||
if (!empty($categ_types)) {
|
||||
foreach ($categ_types as $categ_type) {
|
||||
$cate_arbo = $form->select_all_categories($categ_type['code'], null, 'parent', null, null, 1);
|
||||
$formquestion[] = array('type' => 'other',
|
||||
'name' => 'affecttag_'.$categ_type['code'],
|
||||
'label' => $langs->trans("Tag").' '.$categ_type['label'],
|
||||
'value' => $form->multiselectarray('contcats_'.$categ_type['code'], $cate_arbo, GETPOST('contcats_'.$categ_type['code'], 'array'), null, null, null, null, '60%'));
|
||||
}
|
||||
$formquestion[] = array('type' => 'other',
|
||||
'name' => 'affecttag_type',
|
||||
$formquestion[] = array(
|
||||
'type' => 'other',
|
||||
'name' => 'affecttag_'.$categ_type['code'],
|
||||
'label' => '',
|
||||
'value' => '<input type="hidden" name="affecttag_type" id="affecttag_type" value="'.implode(",", array_keys($categ_types)).'"/>');
|
||||
'value' => $form->multiselectarray('contcats_'.$categ_type['code'], $cate_arbo, GETPOST('contcats_'.$categ_type['code'], 'array'), null, null, '', 0, '60%', '', '', $langs->trans("SelectTheTagsToAssign"))
|
||||
);
|
||||
}
|
||||
$formquestion[] = array(
|
||||
'type' => 'other',
|
||||
'name' => 'affecttag_type',
|
||||
'label' => '',
|
||||
'value' => '<input type="hidden" name="affecttag_type" id="affecttag_type" value="'.implode(",", array_keys($categ_types)).'"/>'
|
||||
);
|
||||
print $form->formconfirm($_SERVER["PHP_SELF"], $langs->trans("ConfirmAffectTag"), $langs->trans("ConfirmAffectTagQuestion", count($toselect)), "affecttag", $formquestion, 1, 0, 200, 500, 1);
|
||||
} else {
|
||||
setEventMessage('CategTypeNotFound');
|
||||
|
||||
@@ -514,6 +514,7 @@ NotYetAvailable=Not yet available
|
||||
NotAvailable=Not available
|
||||
Categories=Tags/categories
|
||||
Category=Tag/category
|
||||
SelectTheTagsToAssign=Select the tags/categories to assign
|
||||
By=By
|
||||
From=From
|
||||
FromDate=From
|
||||
|
||||
Reference in New Issue
Block a user