\n";
+ echo "
\n";
foreach ($this->content as $content) {
echo ' '.$content."\n";
}
diff --git a/pandora_console/mobile/include/user.class.php b/pandora_console/mobile/include/user.class.php
index 29196eaf4f..627c99dbb2 100644
--- a/pandora_console/mobile/include/user.class.php
+++ b/pandora_console/mobile/include/user.class.php
@@ -397,10 +397,11 @@ class User
$left_button = $ui->createHeaderButton(
[
- 'icon' => 'back',
- 'pos' => 'left',
- 'text' => __('Logout'),
- 'href' => 'index.php?action=logout',
+ 'icon' => 'ui-icon-back',
+ 'pos' => 'left',
+ 'text' => __('Logout'),
+ 'href' => 'index.php?action=logout',
+ 'class' => 'header-button-left ui-icon-back',
]
);
$ui->createHeader('', $left_button);
diff --git a/pandora_console/mobile/operation/agent.php b/pandora_console/mobile/operation/agent.php
index 9524f1ee74..35b2155d07 100644
--- a/pandora_console/mobile/operation/agent.php
+++ b/pandora_console/mobile/operation/agent.php
@@ -125,10 +125,11 @@ class Agent
sprintf('%s', $agent_alias),
$ui->createHeaderButton(
[
- 'icon' => 'back',
- 'pos' => 'left',
- 'text' => __('Back'),
- 'href' => 'index.php?page=agents'.$agents_filter_q_param,
+ 'icon' => 'ui-icon-back',
+ 'pos' => 'left',
+ 'text' => __('Back'),
+ 'href' => 'index.php?page=agents'.$agents_filter_q_param,
+ 'class' => 'header-button-left',
]
)
);
diff --git a/pandora_console/mobile/operation/agents.php b/pandora_console/mobile/operation/agents.php
index da07d31edf..545f8dc38d 100644
--- a/pandora_console/mobile/operation/agents.php
+++ b/pandora_console/mobile/operation/agents.php
@@ -186,10 +186,11 @@ class Agents
__('Agents'),
$ui->createHeaderButton(
[
- 'icon' => 'back',
- 'pos' => 'left',
- 'text' => __('Back'),
- 'href' => 'index.php?page=home',
+ 'icon' => 'ui-icon-back',
+ 'pos' => 'left',
+ 'text' => __('Back'),
+ 'href' => 'index.php?page=home',
+ 'class' => 'header-button-left',
]
)
);
diff --git a/pandora_console/mobile/operation/alerts.php b/pandora_console/mobile/operation/alerts.php
index b04943fbe3..d898b7584b 100644
--- a/pandora_console/mobile/operation/alerts.php
+++ b/pandora_console/mobile/operation/alerts.php
@@ -176,10 +176,11 @@ class Alerts
__('Alerts'),
$ui->createHeaderButton(
[
- 'icon' => 'back',
- 'pos' => 'left',
- 'text' => __('Back'),
- 'href' => 'index.php?page=home',
+ 'icon' => 'ui-icon-back',
+ 'pos' => 'left',
+ 'text' => __('Back'),
+ 'href' => 'index.php?page=home',
+ 'class' => 'header-button-left',
]
)
);
diff --git a/pandora_console/mobile/operation/events.php b/pandora_console/mobile/operation/events.php
index 8f097c36c4..cd2616ebb4 100644
--- a/pandora_console/mobile/operation/events.php
+++ b/pandora_console/mobile/operation/events.php
@@ -609,10 +609,11 @@ class Events
__('Events'),
$ui->createHeaderButton(
[
- 'icon' => 'back',
- 'pos' => 'left',
- 'text' => __('Back'),
- 'href' => 'index.php?page=home',
+ 'icon' => 'ui-icon-back',
+ 'pos' => 'left',
+ 'text' => __('Back'),
+ 'href' => 'index.php?page=home',
+ 'class' => 'header-button-left',
]
)
);
diff --git a/pandora_console/mobile/operation/groups.php b/pandora_console/mobile/operation/groups.php
index ee8ecf0f84..3c7088fd4e 100644
--- a/pandora_console/mobile/operation/groups.php
+++ b/pandora_console/mobile/operation/groups.php
@@ -77,10 +77,11 @@ class Groups
__('Groups'),
$ui->createHeaderButton(
[
- 'icon' => 'back',
- 'pos' => 'left',
- 'text' => __('Back'),
- 'href' => 'index.php?page=home',
+ 'icon' => 'ui-icon-back',
+ 'pos' => 'left',
+ 'text' => __('Back'),
+ 'href' => 'index.php?page=home',
+ 'class' => 'header-button-left',
]
)
);
diff --git a/pandora_console/mobile/operation/home.php b/pandora_console/mobile/operation/home.php
index 0fa872df7a..f6ea3e60f1 100644
--- a/pandora_console/mobile/operation/home.php
+++ b/pandora_console/mobile/operation/home.php
@@ -45,19 +45,19 @@ class Home
'name' => __('Tactical view'),
'filename' => 'tactical.php',
'menu_item' => true,
- 'icon' => 'tactical_view',
+ 'icon' => 'ui-icon-tactical_view ui-widget-icon-floatbeginning',
];
$items['events'] = [
'name' => __('Events'),
'filename' => 'events.php',
'menu_item' => true,
- 'icon' => 'events',
+ 'icon' => 'ui-icon-events ui-widget-icon-floatbeginning',
];
$items['groups'] = [
'name' => __('Groups'),
'filename' => 'groups.php',
'menu_item' => true,
- 'icon' => 'groups',
+ 'icon' => 'ui-icon-groups ui-widget-icon-floatbeginning',
];
if ((bool) $system->getConfig('legacy_vc', false) === false) {
@@ -66,7 +66,7 @@ class Home
'name' => __('Visual consoles'),
'filename' => 'visualmaps.php',
'menu_item' => true,
- 'icon' => 'visual_console',
+ 'icon' => 'ui-icon-visual_console ui-widget-icon-floatbeginning',
];
}
@@ -74,21 +74,21 @@ class Home
'name' => __('Alerts'),
'filename' => 'alerts.php',
'menu_item' => true,
- 'icon' => 'alerts',
+ 'icon' => 'ui-icon-alerts ui-widget-icon-floatbeginning',
];
$items['agents'] = [
'name' => __('Agents'),
'filename' => 'agents.php',
'menu_item' => true,
- 'icon' => 'agents',
+ 'icon' => 'ui-icon-agents ui-widget-icon-floatbeginning',
];
$items['modules'] = [
'name' => __('Modules'),
'filename' => 'modules.php',
'menu_item' => true,
- 'icon' => 'modules',
+ 'icon' => 'ui-icon-modules ui-widget-icon-floatbeginning',
];
// Not in home.
@@ -118,10 +118,11 @@ class Home
foreach ($this->pagesItems as $page => $data) {
if ($data['menu_item']) {
$options = [
- 'icon' => $data['icon'],
- 'pos' => 'right',
- 'text' => $data['name'],
- 'href' => "index.php?page=$page",
+ 'icon' => $data['icon'],
+ 'pos' => 'right',
+ 'text' => $data['name'],
+ 'href' => "index.php?page=$page",
+ 'class' => $data['class'],
];
$ui->contentAddHtml($ui->createButton($options));
}
@@ -142,10 +143,11 @@ class Home
} else {
$left_button = $ui->createHeaderButton(
[
- 'icon' => 'back',
- 'pos' => 'left',
- 'text' => __('Logout'),
- 'href' => 'index.php?action=logout',
+ 'icon' => 'ui-icon-back',
+ 'pos' => 'left',
+ 'text' => __('Logout'),
+ 'href' => 'index.php?action=logout',
+ 'class' => 'header-button-left',
]
);
}
diff --git a/pandora_console/mobile/operation/module_graph.php b/pandora_console/mobile/operation/module_graph.php
index 2b7a4e06a9..1a1874a234 100644
--- a/pandora_console/mobile/operation/module_graph.php
+++ b/pandora_console/mobile/operation/module_graph.php
@@ -359,10 +359,11 @@ class ModuleGraph
sprintf(__('%s: %s'), get_product_name(), $this->module['nombre']),
$ui->createHeaderButton(
[
- 'icon' => 'back',
- 'pos' => 'left',
- 'text' => __('Back'),
- 'href' => 'index.php?page=agent&id='.$this->id_agent,
+ 'icon' => 'ui-icon-back',
+ 'pos' => 'left',
+ 'text' => __('Back'),
+ 'href' => 'index.php?page=agent&id='.$this->id_agent,
+ 'class' => 'header-button-left',
]
)
);
@@ -371,10 +372,11 @@ class ModuleGraph
sprintf(__('%s: %s'), get_product_name(), $this->module['nombre']),
$ui->createHeaderButton(
[
- 'icon' => 'back',
- 'pos' => 'left',
- 'text' => __('Back'),
- 'href' => 'index.php?page=modules',
+ 'icon' => 'ui-icon-back',
+ 'pos' => 'left',
+ 'text' => __('Back'),
+ 'href' => 'index.php?page=modules',
+ 'class' => 'header-button-left',
]
)
);
diff --git a/pandora_console/mobile/operation/modules.php b/pandora_console/mobile/operation/modules.php
index 052c6aa619..1d0b91bcb5 100644
--- a/pandora_console/mobile/operation/modules.php
+++ b/pandora_console/mobile/operation/modules.php
@@ -218,10 +218,11 @@ class Modules
__('Modules'),
$ui->createHeaderButton(
[
- 'icon' => 'back',
- 'pos' => 'left',
- 'text' => __('Back'),
- 'href' => 'index.php?page=home',
+ 'icon' => 'ui-icon-back',
+ 'pos' => 'left',
+ 'text' => __('Back'),
+ 'href' => 'index.php?page=home',
+ 'class' => 'header-button-left',
]
)
);
diff --git a/pandora_console/mobile/operation/tactical.php b/pandora_console/mobile/operation/tactical.php
index e88287da6c..51709c9abb 100755
--- a/pandora_console/mobile/operation/tactical.php
+++ b/pandora_console/mobile/operation/tactical.php
@@ -97,10 +97,11 @@ class Tactical
__('Tactical view'),
$ui->createHeaderButton(
[
- 'icon' => 'back',
- 'pos' => 'left',
- 'text' => __('Back'),
- 'href' => 'index.php?page=home',
+ 'icon' => 'ui-icon-back',
+ 'pos' => 'left',
+ 'text' => __('Back'),
+ 'href' => 'index.php?page=home',
+ 'class' => 'header-button-left',
]
)
);
diff --git a/pandora_console/mobile/operation/visualmap.php b/pandora_console/mobile/operation/visualmap.php
index 1313fc0f24..33043407e0 100644
--- a/pandora_console/mobile/operation/visualmap.php
+++ b/pandora_console/mobile/operation/visualmap.php
@@ -278,10 +278,11 @@ class Visualmap
),
$ui->createHeaderButton(
[
- 'icon' => 'back',
- 'pos' => 'left',
- 'text' => __('Back'),
- 'href' => 'index.php?page=visualmaps',
+ 'icon' => 'ui-icon-back',
+ 'pos' => 'left',
+ 'text' => __('Back'),
+ 'href' => 'index.php?page=visualmaps',
+ 'class' => 'header-button-left',
]
)
);
diff --git a/pandora_console/mobile/operation/visualmaps.php b/pandora_console/mobile/operation/visualmaps.php
index 1159e14409..905776c816 100644
--- a/pandora_console/mobile/operation/visualmaps.php
+++ b/pandora_console/mobile/operation/visualmaps.php
@@ -177,10 +177,11 @@ class Visualmaps
__('Visual consoles'),
$ui->createHeaderButton(
[
- 'icon' => 'back',
- 'pos' => 'left',
- 'text' => __('Back'),
- 'href' => 'index.php?page=home',
+ 'icon' => 'ui-icon-back',
+ 'pos' => 'left',
+ 'text' => __('Back'),
+ 'href' => 'index.php?page=home',
+ 'class' => 'header-button-left',
]
)
);