www/engine/System/Classes/Modules/Entitizer/Handler/Edit/Menuitem.php 1 location
|
@@ 35-37 (lines=3) @@
|
32 |
|
|
33 |
|
protected function processEntityParent(Template\Block $parent) { |
34 |
|
|
35 |
|
if (0 !== $this->parent->id) $parent->getBlock('browse')->link = $this->parent->link; |
36 |
|
|
37 |
|
else { $parent->getBlock('browse')->disable(); $parent->getBlock('browse_disabled')->enable(); } |
38 |
|
} |
39 |
|
|
40 |
|
# Add additional data for specific entity |
www/engine/System/Classes/Modules/Entitizer/Handler/Edit/Page.php 1 location
|
@@ 35-37 (lines=3) @@
|
32 |
|
|
33 |
|
protected function processEntityParent(Template\Block $parent) { |
34 |
|
|
35 |
|
if ((0 !== $this->parent->id) && $this->parent->active) $parent->getBlock('browse')->link = $this->parent->link; |
36 |
|
|
37 |
|
else { $parent->getBlock('browse')->disable(); $parent->getBlock('browse_disabled')->enable(); } |
38 |
|
} |
39 |
|
|
40 |
|
# Add additional parent data for specific entity |
www/engine/System/Classes/Modules/Entitizer/Lister/Menuitems.php 1 location
|
@@ 33-35 (lines=3) @@
|
30 |
|
|
31 |
|
protected function processEntityParent(Template\Block $parent) { |
32 |
|
|
33 |
|
if (0 !== $this->parent->id) $parent->getBlock('browse')->link = $this->parent->link; |
34 |
|
|
35 |
|
else { $parent->getBlock('browse')->disable(); $parent->getBlock('browse_disabled')->enable(); } |
36 |
|
} |
37 |
|
|
38 |
|
# Add item additional data |
www/engine/System/Classes/Modules/Entitizer/Lister/Pages.php 1 location
|
@@ 33-35 (lines=3) @@
|
30 |
|
|
31 |
|
protected function processEntityParent(Template\Block $parent) { |
32 |
|
|
33 |
|
if ((0 !== $this->parent->id) && $this->parent->active) $parent->getBlock('browse')->link = $this->parent->link; |
34 |
|
|
35 |
|
else { $parent->getBlock('browse')->disable(); $parent->getBlock('browse_disabled')->enable(); } |
36 |
|
} |
37 |
|
|
38 |
|
# Add item additional data |
www/engine/System/Classes/Modules/Entitizer/Utils/Lister.php 1 location
|
@@ 29-31 (lines=3) @@
|
26 |
|
|
27 |
|
# Set edit button |
28 |
|
|
29 |
|
if (0 !== $this->parent->id) $parent->getBlock('edit')->id = $this->parent->id; |
30 |
|
|
31 |
|
else { $parent->getBlock('edit')->disable(); $parent->getBlock('edit_disabled')->enable(); } |
32 |
|
|
33 |
|
# Add parent additional data |
34 |
|
|