mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
mvc: style sweep
This commit is contained in:
parent
312e690767
commit
7ab4686b18
@ -353,7 +353,7 @@ class FirewallController extends ApiControllerBase
|
||||
* retrieve various pf statistics
|
||||
* @return mixed
|
||||
*/
|
||||
public function pfStatistcsAction($section=null)
|
||||
public function pfStatistcsAction($section = null)
|
||||
{
|
||||
return json_decode((new Backend())->configdpRun('filter diag info', [$section]), true);
|
||||
}
|
||||
|
||||
@ -72,7 +72,7 @@ class FirewallController extends IndexController
|
||||
*/
|
||||
public function statisticsAction()
|
||||
{
|
||||
$this->view->tabs = [
|
||||
$this->view->tabs = [
|
||||
[
|
||||
"name" => "info",
|
||||
"caption" => gettext("info"),
|
||||
@ -93,8 +93,8 @@ class FirewallController extends IndexController
|
||||
"caption" => gettext("interfaces"),
|
||||
"endpoint" => "/api/diagnostics/firewall/pf_statistcs/interfaces"
|
||||
]
|
||||
];
|
||||
$this->view->default_tab = "info";
|
||||
$this->view->pick('OPNsense/Diagnostics/treeview');
|
||||
];
|
||||
$this->view->default_tab = "info";
|
||||
$this->view->pick('OPNsense/Diagnostics/treeview');
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user