diff --git a/pandora_console/mobile/operation/agent.php b/pandora_console/mobile/operation/agent.php index d8243e03fa..927647c672 100644 --- a/pandora_console/mobile/operation/agent.php +++ b/pandora_console/mobile/operation/agent.php @@ -11,7 +11,6 @@ // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. - include_once("../include/functions_users.php"); class Agent { @@ -24,6 +23,28 @@ class Agent { $this->id = $system->getRequest('id', 0); + global $config; + + echo ""; + if (!$system->getConfig('metaconsole')) { $this->agent = agents_get_agents(array( 'disabled' => 0, @@ -95,6 +116,9 @@ class Agent { $ui = Ui::getInstance(); $system = System::getInstance(); + + + $ui->createPage(); if ($this->id != 0) { @@ -361,4 +385,9 @@ class Agent { $ui->endContent(); $ui->showPage(); } + } + + + +?> \ No newline at end of file