css
This commit is contained in:
parent
4faf6f5d84
commit
6fbd93999f
@ -4724,7 +4724,7 @@ class Form
|
|||||||
$more .= '<div class="tagtable paddingtopbottomonly centpercent noborderspacing">'."\n";
|
$more .= '<div class="tagtable paddingtopbottomonly centpercent noborderspacing">'."\n";
|
||||||
foreach ($formquestion as $key => $input) {
|
foreach ($formquestion as $key => $input) {
|
||||||
if (is_array($input) && !empty($input)) {
|
if (is_array($input) && !empty($input)) {
|
||||||
$size = (!empty($input['size']) ? ' size="'.$input['size'].'"' : '');
|
$size = (!empty($input['size']) ? ' size="'.$input['size'].'"' : ''); // deprecated. Use morecss instead.
|
||||||
$moreattr = (!empty($input['moreattr']) ? ' '.$input['moreattr'] : '');
|
$moreattr = (!empty($input['moreattr']) ? ' '.$input['moreattr'] : '');
|
||||||
$morecss = (!empty($input['morecss']) ? ' '.$input['morecss'] : '');
|
$morecss = (!empty($input['morecss']) ? ' '.$input['morecss'] : '');
|
||||||
|
|
||||||
|
|||||||
@ -2417,7 +2417,7 @@ if (($action == 'clone' && (empty($conf->use_javascript_ajax) || !empty($conf->d
|
|||||||
// Define confirmation messages
|
// Define confirmation messages
|
||||||
$formquestionclone = array(
|
$formquestionclone = array(
|
||||||
'text' => $langs->trans("ConfirmClone"),
|
'text' => $langs->trans("ConfirmClone"),
|
||||||
array('type' => 'text', 'name' => 'clone_ref', 'label' => $langs->trans("NewRefForClone"), 'value' => empty($tmpcode) ? $langs->trans("CopyOf").' '.$object->ref : $tmpcode, 'size'=>24),
|
array('type' => 'text', 'name' => 'clone_ref', 'label' => $langs->trans("NewRefForClone"), 'value' => empty($tmpcode) ? $langs->trans("CopyOf").' '.$object->ref : $tmpcode, 'morecss'=>'width150'),
|
||||||
array('type' => 'checkbox', 'name' => 'clone_content', 'label' => $langs->trans("CloneContentProduct"), 'value' => 1),
|
array('type' => 'checkbox', 'name' => 'clone_content', 'label' => $langs->trans("CloneContentProduct"), 'value' => 1),
|
||||||
array('type' => 'checkbox', 'name' => 'clone_categories', 'label' => $langs->trans("CloneCategoriesProduct"), 'value' => 1),
|
array('type' => 'checkbox', 'name' => 'clone_categories', 'label' => $langs->trans("CloneCategoriesProduct"), 'value' => 1),
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user