@@ -3,19 +3,8 @@ |
||
| 3 | 3 | namespace eXpansion\Bundle\Acme\Plugins\Gui; |
| 4 | 4 | |
| 5 | 5 | use eXpansion\Framework\Core\Model\Gui\ManialinkInterface; |
| 6 | -use eXpansion\Framework\Core\Model\Gui\Widget; |
|
| 7 | 6 | use eXpansion\Framework\Core\Plugins\Gui\WidgetFactory; |
| 8 | -use eXpansion\Framework\Core\Plugins\Gui\WindowFactory as BaseWindowFactory; |
|
| 9 | -use eXpansion\Framework\Gui\Components\uiButton; |
|
| 10 | -use eXpansion\Framework\Gui\Components\uiCheckbox; |
|
| 11 | -use eXpansion\Framework\Gui\Components\uiDropdown; |
|
| 12 | -use eXpansion\Framework\Gui\Components\uiLabel; |
|
| 13 | -use eXpansion\Framework\Gui\Components\uiLine; |
|
| 14 | -use eXpansion\Framework\Gui\Components\uiTooltip; |
|
| 15 | -use eXpansion\Framework\Gui\Layouts\layoutLine; |
|
| 16 | -use eXpansion\Framework\Gui\Layouts\layoutRow; |
|
| 17 | 7 | use FML\Controls\Label; |
| 18 | -use FML\Controls\Quad; |
|
| 19 | 8 | |
| 20 | 9 | class MemoryWidgetFactory extends WidgetFactory |
| 21 | 10 | { |
@@ -141,7 +141,7 @@ |
||
| 141 | 141 | } |
| 142 | 142 | |
| 143 | 143 | /** |
| 144 | - * @return mixed |
|
| 144 | + * @return string |
|
| 145 | 145 | */ |
| 146 | 146 | public function getMemoryMsg() |
| 147 | 147 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace eXpansion\Bundle\Acme\Plugins; |
| 4 | 4 | |
| 5 | 5 | use eXpansion\Framework\Core\DataProviders\Listener\ListenerInterfaceMpLegacyMap; |
| 6 | -use eXpansion\Framework\Core\DataProviders\Listener\ListenerInterfaceMpLegacyMaplist; |
|
| 7 | 6 | use eXpansion\Framework\Core\DataProviders\Listener\ListenerInterfaceExpTimer; |
| 8 | 7 | use eXpansion\Framework\Core\Helpers\Time; |
| 9 | 8 | use eXpansion\Framework\Core\Model\UserGroups\Group; |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | } |
| 90 | 90 | |
| 91 | 91 | $diff = ($mem - $this->startMemValue); |
| 92 | - if ($this->startMemValue < $diff) { |
|
| 92 | + if ($this->startMemValue < $diff) { |
|
| 93 | 93 | $msg .= ' $f00('.round($diff / 1024)."kb)"; |
| 94 | 94 | } else { |
| 95 | 95 | $msg .= ' $0f0('.round($diff / 1024)."kb)"; |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace eXpansion\Bundle\Acme\Plugins; |
| 4 | 4 | |
| 5 | -use eXpansion\Framework\AdminGroups\Plugins\GroupsPlugin; |
|
| 6 | 5 | use eXpansion\Framework\Core\DataProviders\Listener\ListenerInterfaceExpApplication; |
| 7 | 6 | use eXpansion\Framework\Core\Model\UserGroups\Group; |
| 8 | 7 | use eXpansion\Framework\Core\Plugins\Gui\ManialinkFactory; |