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>
|
<a name="<?php echo $line->id; ?>"></a>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (! empty($this->hooks)) {
|
if (! empty($this->hooks['objectcard'])) {
|
||||||
foreach($this->hooks as $module) {
|
foreach($this->hooks['objectcard'] as $module) {
|
||||||
$module->formEditProductOptions($this,$line->fk_parent_line);
|
$module->formEditProductOptions($this,$line->fk_parent_line);
|
||||||
echo '<br>';
|
echo '<br>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -48,8 +48,8 @@
|
|||||||
echo ' - '.nl2br($line->product_label);
|
echo ' - '.nl2br($line->product_label);
|
||||||
echo '<br>';
|
echo '<br>';
|
||||||
|
|
||||||
if (! empty($this->hooks)) {
|
if (! empty($this->hooks['objectcard'])) {
|
||||||
foreach($this->hooks as $module) {
|
foreach($this->hooks['objectcard'] as $module) {
|
||||||
$module->formEditProductOptions($this,$line->fk_parent_line);
|
$module->formEditProductOptions($this,$line->fk_parent_line);
|
||||||
echo '<br>';
|
echo '<br>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user