@@ -28,7 +28,7 @@ |
||
| 28 | 28 | $this->set($joint->info())->setAttr('searchkey', strtolower($joint->caption() . ';' . $joint->info())); |
| 29 | 29 | } |
| 30 | 30 | else { |
| 31 | - if (! $this->locked) { |
|
| 31 | + if (!$this->locked) { |
|
| 32 | 32 | $this->addControl('close', 'applet-close')->setAttr('title', __('Close applet')); |
| 33 | 33 | } |
| 34 | 34 | |
@@ -26,8 +26,7 @@ |
||
| 26 | 26 | |
| 27 | 27 | if ($this->admin) { |
| 28 | 28 | $this->set($joint->info())->setAttr('searchkey', strtolower($joint->caption() . ';' . $joint->info())); |
| 29 | - } |
|
| 30 | - else { |
|
| 29 | + } else { |
|
| 31 | 30 | if (! $this->locked) { |
| 32 | 31 | $this->addControl('close', 'applet-close')->setAttr('title', __('Close applet')); |
| 33 | 32 | } |