Fix: possibility to have more hooks in the same page
New: add left search block hook and extra left block hook
This commit is contained in:
parent
363d50805a
commit
089039d6ef
@ -40,8 +40,8 @@
|
||||
<a name="<?php echo $line->id; ?>"></a>
|
||||
|
||||
<?php
|
||||
if (! empty($this->hooks)) {
|
||||
foreach($this->hooks as $module) {
|
||||
if (! empty($this->hooks['objectcard'])) {
|
||||
foreach($this->hooks['objectcard'] as $module) {
|
||||
$module->formEditProductOptions($this,$line->fk_parent_line);
|
||||
echo '<br>';
|
||||
}
|
||||
|
||||
@ -48,8 +48,8 @@
|
||||
echo ' - '.nl2br($line->product_label);
|
||||
echo '<br>';
|
||||
|
||||
if (! empty($this->hooks)) {
|
||||
foreach($this->hooks as $module) {
|
||||
if (! empty($this->hooks['objectcard'])) {
|
||||
foreach($this->hooks['objectcard'] as $module) {
|
||||
$module->formEditProductOptions($this,$line->fk_parent_line);
|
||||
echo '<br>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user