@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | $h = 0; |
201 | 201 | $head = array(); |
202 | 202 | |
203 | - $head[$h][0] = DOL_URL_ROOT . '/compta/facture/card-rec.php?id=' . $object->id; |
|
203 | + $head[$h][0] = DOL_URL_ROOT.'/compta/facture/card-rec.php?id='.$object->id; |
|
204 | 204 | $head[$h][1] = $langs->trans("RepeatableInvoice"); |
205 | 205 | $head[$h][2] = 'card'; |
206 | 206 | $h++; |
@@ -229,7 +229,7 @@ discard block |
||
229 | 229 | $h = 0; |
230 | 230 | $head = array(); |
231 | 231 | |
232 | - $head[$h][0] = DOL_URL_ROOT . '/fourn/facture/card-rec.php?id=' . $object->id; |
|
232 | + $head[$h][0] = DOL_URL_ROOT.'/fourn/facture/card-rec.php?id='.$object->id; |
|
233 | 233 | $head[$h][1] = $langs->trans("RepeatableSupplierInvoice"); |
234 | 234 | $head[$h][2] = 'card'; |
235 | 235 | $h++; |
@@ -546,7 +546,7 @@ discard block |
||
546 | 546 | ,array($langs->trans('InvoiceNotLate15Days'), $obj->nbnotlate15 - $obj->nbnotlate30) |
547 | 547 | ,array($langs->trans('InvoiceNotLate30Days'), $obj->nbnotlate30)); |
548 | 548 | */ |
549 | - $dataseries[$i]=array($langs->transnoentitiesnoconv('NbOfOpenInvoices'), $obj->nblate30, $obj->nblate15 - $obj->nblate30, $obj->nblatenow - $obj->nblate15, $obj->nbnotlatenow - $obj->nbnotlate15, $obj->nbnotlate15 - $obj->nbnotlate30, $obj->nbnotlate30); |
|
549 | + $dataseries[$i] = array($langs->transnoentitiesnoconv('NbOfOpenInvoices'), $obj->nblate30, $obj->nblate15 - $obj->nblate30, $obj->nblatenow - $obj->nblate15, $obj->nbnotlatenow - $obj->nbnotlate15, $obj->nbnotlate15 - $obj->nbnotlate30, $obj->nbnotlate30); |
|
550 | 550 | $i++; |
551 | 551 | } |
552 | 552 | if (!empty($dataseries[0])) { |
@@ -593,7 +593,7 @@ discard block |
||
593 | 593 | $dolgraph->setShowPercent(1); |
594 | 594 | $dolgraph->SetType(array('bars', 'bars', 'bars', 'bars', 'bars', 'bars')); |
595 | 595 | //$dolgraph->SetType(array('pie')); |
596 | - $dolgraph->setHeight('160'); /* 160 min is required to show the 6 lines of legend */ |
|
596 | + $dolgraph->setHeight('160'); /* 160 min is required to show the 6 lines of legend */ |
|
597 | 597 | $dolgraph->setWidth('450'); |
598 | 598 | $dolgraph->setHideXValues(true); |
599 | 599 | if ($mode == 'customers') { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | case 'sellist': |
49 | 49 | $tmp = ''; |
50 | 50 | $tmpparam = jsonOrUnserialize($obj->param); // $tmp may be array 'options' => array 'c_currencies:code_iso:code_iso' => null |
51 | - if (is_array($tmpparam) && array_key_exists('options', $tmpparam) && $tmpparam['options'] && is_array($tmpparam['options'])) { |
|
51 | + if (is_array($tmpparam) && array_key_exists('options', $tmpparam) && $tmpparam['options'] && is_array($tmpparam['options'])) { |
|
52 | 52 | $tmpkeys = array_keys($tmpparam['options']); |
53 | 53 | $tmp = array_shift($tmpkeys); |
54 | 54 | } |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | $sql = "SELECT sp.poste, count(distinct(sp.email)) AS nb"; |
132 | 132 | $sql .= " FROM ".MAIN_DB_PREFIX."socpeople as sp"; |
133 | 133 | $sql .= " WHERE sp.entity IN (".getEntity('contact').")"; |
134 | - $sql .= " AND sp.email <> ''"; // Note that null != '' is false |
|
134 | + $sql .= " AND sp.email <> ''"; // Note that null != '' is false |
|
135 | 135 | $sql .= " AND sp.statut = 1"; |
136 | 136 | $sql .= " AND (sp.poste IS NOT NULL AND sp.poste <> '')"; |
137 | 137 | $sql .= " GROUP BY sp.poste"; |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | $sql .= " ".MAIN_DB_PREFIX."categorie as c,"; |
167 | 167 | $sql .= " ".MAIN_DB_PREFIX."categorie_contact as cs"; |
168 | 168 | $sql .= " WHERE sp.entity IN (".getEntity('contact').")"; |
169 | - $sql .= " AND sp.email <> ''"; // Note that null != '' is false |
|
169 | + $sql .= " AND sp.email <> ''"; // Note that null != '' is false |
|
170 | 170 | $sql .= " AND sp.statut = 1"; |
171 | 171 | $sql .= " AND cs.fk_categorie = c.rowid"; |
172 | 172 | $sql .= " AND cs.fk_socpeople = sp.rowid"; |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | $sql .= " ".MAIN_DB_PREFIX."categorie as c,"; |
240 | 240 | $sql .= " ".MAIN_DB_PREFIX."categorie_societe as cs"; |
241 | 241 | $sql .= " WHERE sp.entity IN (".getEntity('contact').")"; |
242 | - $sql .= " AND sp.email <> ''"; // Note that null != '' is false |
|
242 | + $sql .= " AND sp.email <> ''"; // Note that null != '' is false |
|
243 | 243 | $sql .= " AND sp.statut = 1"; |
244 | 244 | $sql .= " AND cs.fk_categorie = c.rowid"; |
245 | 245 | $sql .= " AND cs.fk_soc = sp.fk_soc"; |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | $sql .= " ".MAIN_DB_PREFIX."categorie as c,"; |
277 | 277 | $sql .= " ".MAIN_DB_PREFIX."categorie_fournisseur as cs"; |
278 | 278 | $sql .= " WHERE sp.entity IN (".getEntity('contact').")"; |
279 | - $sql .= " AND sp.email <> ''"; // Note that null != '' is false |
|
279 | + $sql .= " AND sp.email <> ''"; // Note that null != '' is false |
|
280 | 280 | $sql .= " AND sp.statut = 1"; |
281 | 281 | $sql .= " AND cs.fk_categorie = c.rowid"; |
282 | 282 | $sql .= " AND cs.fk_soc = sp.fk_soc"; |
@@ -415,7 +415,7 @@ discard block |
||
415 | 415 | |
416 | 416 | // Filter on job position |
417 | 417 | $key = $filter_jobposition; |
418 | - if (!empty($key) && $key != 'all' && $key != '-1') { |
|
418 | + if (!empty($key) && $key != 'all' && $key != '-1') { |
|
419 | 419 | $sql .= " AND sp.poste = '".$this->db->escape($key)."'"; |
420 | 420 | } |
421 | 421 |
@@ -356,10 +356,10 @@ |
||
356 | 356 | $desc = dol_htmlentitiesbr($objectligne->desc, 1); // Desc (not empty for free lines) |
357 | 357 | $txt = ''; |
358 | 358 | if (empty($conf->global->CONTRACT_HIDE_QTY_ON_PDF)) { |
359 | - $txt .= $outputlangs->transnoentities("Quantity") . ' : <strong>' . $objectligne->qty . '</strong>'; |
|
359 | + $txt .= $outputlangs->transnoentities("Quantity").' : <strong>'.$objectligne->qty.'</strong>'; |
|
360 | 360 | } |
361 | 361 | if (empty($conf->global->CONTRACT_HIDE_PRICE_ON_PDF)) { |
362 | - $txt .= ' - ' . $outputlangs->transnoentities("UnitPrice") . ' : <strong>' . price($objectligne->subprice) . '</strong>'; |
|
362 | + $txt .= ' - '.$outputlangs->transnoentities("UnitPrice").' : <strong>'.price($objectligne->subprice).'</strong>'; |
|
363 | 363 | } |
364 | 364 | if (empty($conf->global->CONTRACT_HIDE_PLANNED_DATE_ON_PDF)) { |
365 | 365 | $txt .= '<br>'; |
@@ -353,7 +353,7 @@ |
||
353 | 353 | 'b.montant'=>'rule-computeAmount', |
354 | 354 | 'b.sens'=>'rule-computeDirection' |
355 | 355 | ); // aliastable.field => ('user->id' or 'lastrowid-'.tableparent) |
356 | - $this->import_convertvalue_array[$r]=array( |
|
356 | + $this->import_convertvalue_array[$r] = array( |
|
357 | 357 | 'b.piece_num' => array('rule' => 'compute', 'classfile' => '/accountancy/class/accountancyimport.class.php', 'class' => 'AccountancyImport', 'method' => 'cleanValue', 'element' => 'Accountancy'), |
358 | 358 | 'b.numero_compte'=>array('rule'=>'accountingaccount'), |
359 | 359 | 'b.subledger_account'=>array('rule'=>'accountingaccount'), |
@@ -101,27 +101,27 @@ |
||
101 | 101 | { |
102 | 102 | global $langs; |
103 | 103 | $legendSkills = '<div style="font-style:italic;"> |
104 | - ' . $langs->trans('legend') . ' |
|
104 | + ' . $langs->trans('legend').' |
|
105 | 105 | <table class="border" width="100%"> |
106 | 106 | <tr> |
107 | 107 | <td><span style="vertical-align:middle" class="toohappy diffnote little"></span> |
108 | - ' . $langs->trans('CompetenceAcquiredByOneOrMore') . '</td> |
|
108 | + ' . $langs->trans('CompetenceAcquiredByOneOrMore').'</td> |
|
109 | 109 | </tr> |
110 | 110 | <tr> |
111 | 111 | <td><span style="vertical-align:middle" class="veryhappy diffnote little"></span> |
112 | - ' . $langs->trans('MaxlevelGreaterThan') . '</td> |
|
112 | + ' . $langs->trans('MaxlevelGreaterThan').'</td> |
|
113 | 113 | </tr> |
114 | 114 | <tr> |
115 | 115 | <td><span style="vertical-align:middle" class="happy diffnote little"></span> |
116 | - ' . $langs->trans('MaxLevelEqualTo') . '</td> |
|
116 | + ' . $langs->trans('MaxLevelEqualTo').'</td> |
|
117 | 117 | </tr> |
118 | 118 | <tr> |
119 | 119 | <td><span style="vertical-align:middle" class="sad diffnote little"></span> |
120 | - ' . $langs->trans('MaxLevelLowerThan') . '</td> |
|
120 | + ' . $langs->trans('MaxLevelLowerThan').'</td> |
|
121 | 121 | </tr> |
122 | 122 | <tr> |
123 | 123 | <td><span style="vertical-align:middle" class="toosad diffnote little"></span> |
124 | - ' . $langs->trans('SkillNotAcquired') . '</td> |
|
124 | + ' . $langs->trans('SkillNotAcquired').'</td> |
|
125 | 125 | </tr> |
126 | 126 | </table> |
127 | 127 | </div>'; |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | $sql .= " AND t.".$columnName." >= '".$db->idate($search[$key])."'"; |
263 | 263 | } |
264 | 264 | if (preg_match('/_dtend$/', $key)) { |
265 | - $sql .= " AND t." . $columnName . " <= '" . $db->idate($search[$key]) . "'"; |
|
265 | + $sql .= " AND t.".$columnName." <= '".$db->idate($search[$key])."'"; |
|
266 | 266 | } |
267 | 267 | } |
268 | 268 | } elseif (array_key_exists($key, $object->fields)) { |
@@ -295,7 +295,7 @@ discard block |
||
295 | 295 | $hasgroupby = true; |
296 | 296 | $sql .= " GROUP BY "; |
297 | 297 | foreach ($object->fields as $key => $val) { |
298 | - $sql .= "t." . $key . ", "; |
|
298 | + $sql .= "t.".$key.", "; |
|
299 | 299 | } |
300 | 300 | // Add fields from extrafields |
301 | 301 | //if (!empty($extrafields->attributes[$object->table_element]['label'])) { |
@@ -305,7 +305,7 @@ discard block |
||
305 | 305 | //} |
306 | 306 | // Add where from hooks |
307 | 307 | $parameters = array(); |
308 | -$reshook = $hookmanager->executeHooks('printFieldListGroupBy', $parameters, $object); // Note that $action and $object may have been modified by hook |
|
308 | +$reshook = $hookmanager->executeHooks('printFieldListGroupBy', $parameters, $object); // Note that $action and $object may have been modified by hook |
|
309 | 309 | $sql .= $hookmanager->resPrint; |
310 | 310 | $sql = preg_replace("/,\s*$/", "", $sql); |
311 | 311 | |
@@ -370,7 +370,7 @@ discard block |
||
370 | 370 | if ($num == 1 && !empty($conf->global->MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE) && $search_all && !$page) { |
371 | 371 | $obj = $db->fetch_object($resql); |
372 | 372 | $id = $obj->rowid; |
373 | - header("Location: " . dol_buildpath('/variants/card.php', 2) . '?id=' . $id); |
|
373 | + header("Location: ".dol_buildpath('/variants/card.php', 2).'?id='.$id); |
|
374 | 374 | exit; |
375 | 375 | } |
376 | 376 | |
@@ -611,28 +611,28 @@ discard block |
||
611 | 611 | $object->setVarsFromFetchObj($obj); |
612 | 612 | |
613 | 613 | // Show here line of result |
614 | - print '<tr id="row-' . $obj->rowid . '" class="oddeven drag drop">'; |
|
614 | + print '<tr id="row-'.$obj->rowid.'" class="oddeven drag drop">'; |
|
615 | 615 | foreach ($object->fields as $key => $val) { |
616 | 616 | $cssforfield = (empty($val['csslist']) ? (empty($val['css']) ? '' : $val['css']) : $val['csslist']); |
617 | 617 | if (in_array($val['type'], array('date', 'datetime', 'timestamp'))) { |
618 | - $cssforfield .= ($cssforfield ? ' ' : '') . 'center'; |
|
618 | + $cssforfield .= ($cssforfield ? ' ' : '').'center'; |
|
619 | 619 | } elseif ($key == 'status') { |
620 | - $cssforfield .= ($cssforfield ? ' ' : '') . 'center'; |
|
620 | + $cssforfield .= ($cssforfield ? ' ' : '').'center'; |
|
621 | 621 | } |
622 | 622 | |
623 | 623 | if (in_array($val['type'], array('timestamp'))) { |
624 | - $cssforfield .= ($cssforfield ? ' ' : '') . 'nowrap'; |
|
624 | + $cssforfield .= ($cssforfield ? ' ' : '').'nowrap'; |
|
625 | 625 | } elseif ($key == 'ref') { |
626 | - $cssforfield .= ($cssforfield ? ' ' : '') . 'nowrap'; |
|
626 | + $cssforfield .= ($cssforfield ? ' ' : '').'nowrap'; |
|
627 | 627 | } |
628 | 628 | |
629 | 629 | if (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && !in_array($key, array('rowid', 'status')) && empty($val['arrayofkeyval'])) { |
630 | - $cssforfield .= ($cssforfield ? ' ' : '') . 'right'; |
|
630 | + $cssforfield .= ($cssforfield ? ' ' : '').'right'; |
|
631 | 631 | } |
632 | 632 | //if (in_array($key, array('fk_soc', 'fk_user', 'fk_warehouse'))) $cssforfield = 'tdoverflowmax100'; |
633 | 633 | |
634 | - if (!empty($arrayfields['t.' . $key]['checked'])) { |
|
635 | - print '<td' . ($cssforfield ? ' class="' . $cssforfield . '"' : '') . '>'; |
|
634 | + if (!empty($arrayfields['t.'.$key]['checked'])) { |
|
635 | + print '<td'.($cssforfield ? ' class="'.$cssforfield.'"' : '').'>'; |
|
636 | 636 | if ($key == 'status') { |
637 | 637 | print $object->getLibStatut(5); |
638 | 638 | } elseif ($key == 'rowid') { |
@@ -646,15 +646,15 @@ discard block |
||
646 | 646 | } |
647 | 647 | if (!empty($val['isameasure']) && $val['isameasure'] == 1) { |
648 | 648 | if (!$i) { |
649 | - $totalarray['pos'][$totalarray['nbfield']] = 't.' . $key; |
|
649 | + $totalarray['pos'][$totalarray['nbfield']] = 't.'.$key; |
|
650 | 650 | } |
651 | 651 | if (!isset($totalarray['val'])) { |
652 | 652 | $totalarray['val'] = array(); |
653 | 653 | } |
654 | - if (!isset($totalarray['val']['t.' . $key])) { |
|
655 | - $totalarray['val']['t.' . $key] = 0; |
|
654 | + if (!isset($totalarray['val']['t.'.$key])) { |
|
655 | + $totalarray['val']['t.'.$key] = 0; |
|
656 | 656 | } |
657 | - $totalarray['val']['t.' . $key] += $object->$key; |
|
657 | + $totalarray['val']['t.'.$key] += $object->$key; |
|
658 | 658 | } |
659 | 659 | } |
660 | 660 | } |
@@ -685,7 +685,7 @@ discard block |
||
685 | 685 | // Action column |
686 | 686 | print '<td class="linecoledit center width25">'; |
687 | 687 | if ($permissiontoadd) { |
688 | - print '<a class="editfielda reposition" href="' . DOL_URL_ROOT . '/variants/card.php?id=' . $obj->rowid . '&action=edit&save_lastsearch_values=1&backtopage=' . urlencode($_SERVER['PHP_SELF']) . '">' . img_edit() . '</a>'; |
|
688 | + print '<a class="editfielda reposition" href="'.DOL_URL_ROOT.'/variants/card.php?id='.$obj->rowid.'&action=edit&save_lastsearch_values=1&backtopage='.urlencode($_SERVER['PHP_SELF']).'">'.img_edit().'</a>'; |
|
689 | 689 | } |
690 | 690 | print '</td>'; |
691 | 691 | if (!$i) { |
@@ -697,7 +697,7 @@ discard block |
||
697 | 697 | if (in_array($object->id, $arrayofselected)) { |
698 | 698 | $selected = 1; |
699 | 699 | } |
700 | - print '<input id="cb' . $object->id . '" class="flat checkforselect" type="checkbox" name="toselect[]" value="' . $object->id . '"' . ($selected ? ' checked="checked"' : '') . '>'; |
|
700 | + print '<input id="cb'.$object->id.'" class="flat checkforselect" type="checkbox" name="toselect[]" value="'.$object->id.'"'.($selected ? ' checked="checked"' : '').'>'; |
|
701 | 701 | } |
702 | 702 | print '</td>'; |
703 | 703 | if (!$i) { |
@@ -705,17 +705,17 @@ discard block |
||
705 | 705 | } |
706 | 706 | print '<td class="center linecolmove tdlineupdown">'; |
707 | 707 | if ($i > 0) { |
708 | - print '<a class="lineupdown" href="' . $_SERVER['PHP_SELF'] . '?action=up&rowid=' . $obj->rowid . '">' . img_up('default', 0, 'imgupforline') . '</a>'; |
|
708 | + print '<a class="lineupdown" href="'.$_SERVER['PHP_SELF'].'?action=up&rowid='.$obj->rowid.'">'.img_up('default', 0, 'imgupforline').'</a>'; |
|
709 | 709 | } |
710 | 710 | if ($i < $num - 1) { |
711 | - print '<a class="lineupdown" href="' . $_SERVER['PHP_SELF'] . '?action=down&rowid=' . $obj->rowid . '">' . img_down('default', 0, 'imgdownforline') . '</a>'; |
|
711 | + print '<a class="lineupdown" href="'.$_SERVER['PHP_SELF'].'?action=down&rowid='.$obj->rowid.'">'.img_down('default', 0, 'imgdownforline').'</a>'; |
|
712 | 712 | } |
713 | 713 | print '</td>'; |
714 | 714 | if (!$i) { |
715 | 715 | $totalarray['nbfield']++; |
716 | 716 | } |
717 | 717 | |
718 | - print '</tr>' . "\n"; |
|
718 | + print '</tr>'."\n"; |
|
719 | 719 | |
720 | 720 | $i++; |
721 | 721 | } |
@@ -66,7 +66,7 @@ |
||
66 | 66 | $coldisplay++; |
67 | 67 | ?> |
68 | 68 | <td class="nobottom linecolref"> |
69 | - <?php $coldisplay++; if ($nolinesbefore) { echo $langs->trans('Ref') . ': '; } ?> |
|
69 | + <?php $coldisplay++; if ($nolinesbefore) { echo $langs->trans('Ref').': '; } ?> |
|
70 | 70 | <input type="text" name="line_ref" id="line_ref" class="flat" value="<?php echo (GETPOSTISSET("line_ref") ? GETPOST("line_ref", 'alpha', 2) : ''); ?>" autofocus> |
71 | 71 | <?php |
72 | 72 | if (is_object($hookmanager)) { |
@@ -110,8 +110,8 @@ discard block |
||
110 | 110 | $action = 'add'; |
111 | 111 | $attribute_id = GETPOST('attribute', 'int'); |
112 | 112 | $attribute_value_id = GETPOST('value', 'int'); |
113 | - if ($attribute_id> 0 && $attribute_value_id > 0) { |
|
114 | - $feature = $attribute_id . '-' . $attribute_value_id; |
|
113 | + if ($attribute_id > 0 && $attribute_value_id > 0) { |
|
114 | + $feature = $attribute_id.'-'.$attribute_value_id; |
|
115 | 115 | $selectedvariant[$feature] = $feature; |
116 | 116 | $_SESSION['addvariant_'.$object->id] = $selectedvariant; |
117 | 117 | } |
@@ -474,10 +474,10 @@ discard block |
||
474 | 474 | if ($prodattr->fetch($explode[0]) <= 0 || $prodattr_val->fetch($explode[1]) <= 0) { |
475 | 475 | continue; |
476 | 476 | } |
477 | - $toprint[] = '<li class="select2-search-choice-dolibarr noborderoncategories" style="background: #ddd;">' . $prodattr->label.' : '.$prodattr_val->value . |
|
478 | - ' <a class="reposition" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=create&subaction=delete&feature='.urlencode($feature).'">' . img_delete() . '</a></li>'; |
|
477 | + $toprint[] = '<li class="select2-search-choice-dolibarr noborderoncategories" style="background: #ddd;">'.$prodattr->label.' : '.$prodattr_val->value. |
|
478 | + ' <a class="reposition" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=create&subaction=delete&feature='.urlencode($feature).'">'.img_delete().'</a></li>'; |
|
479 | 479 | } |
480 | - $listofvariantselected .= '<div class="select2-container-multi-dolibarr" style="width: 90%;"><ul class="select2-choices-dolibarr">' . implode(' ', $toprint) . '</ul></div>'; |
|
480 | + $listofvariantselected .= '<div class="select2-container-multi-dolibarr" style="width: 90%;"><ul class="select2-choices-dolibarr">'.implode(' ', $toprint).'</ul></div>'; |
|
481 | 481 | } |
482 | 482 | $listofvariantselected .= '</div>'; |
483 | 483 | //print dol_get_fiche_end(); |
@@ -577,7 +577,7 @@ discard block |
||
577 | 577 | |
578 | 578 | print load_fiche_titre($title); |
579 | 579 | |
580 | - print '<form method="post" id="combinationform" action="'.$_SERVER["PHP_SELF"] .'?id='.$object->id.'">'."\n"; |
|
580 | + print '<form method="post" id="combinationform" action="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'">'."\n"; |
|
581 | 581 | print '<input type="hidden" name="token" value="'.newToken().'">'; |
582 | 582 | print '<input type="hidden" name="action" value="'.(($valueid > 0) ? "update" : "create").'">'."\n"; |
583 | 583 | if ($valueid > 0) { |
@@ -824,7 +824,7 @@ discard block |
||
824 | 824 | |
825 | 825 | |
826 | 826 | // List of variants |
827 | - print '<form method="POST" action="'.$_SERVER["PHP_SELF"] .'?id='.$object->id.'">'; |
|
827 | + print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'">'; |
|
828 | 828 | print '<input type="hidden" name="token" value="'.newToken().'">'; |
829 | 829 | print '<input type="hidden" name="action" value="massaction">'; |
830 | 830 | print '<input type="hidden" name="backtopage" value="'.$backtopage.'">'; |