@@ -17,8 +17,8 @@ |
||
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | - * Magic method before example |
|
| 21 | - */ |
|
| 20 | + * Magic method before example |
|
| 21 | + */ |
|
| 22 | 22 | public function before() |
| 23 | 23 | { |
| 24 | 24 | $class = 'Apps\Controller\Admin\\' . $this->_controller; |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | $route = $widget->sys_name . '/index'; |
| 27 | 27 | $icoStatus = null; |
| 28 | 28 | $actions = $this->render('macro/widget_actions', ['controller' => $widget->sys_name]); |
| 29 | - if ((int)$widget->disabled !== 0) { |
|
| 29 | + if ((int) $widget->disabled !== 0) { |
|
| 30 | 30 | $icoStatus = ' <i class="fa fa-pause" style="color: #ff0000;"></i>'; |
| 31 | 31 | } elseif ($widget->checkVersion() !== true) { |
| 32 | 32 | $icoStatus = ' <i class="fa fa-exclamation" style="color: #ffbd26;"></i>'; |