diff --git a/pandora_agents/unix/DEBIAN/control b/pandora_agents/unix/DEBIAN/control index 66e4d51837..32ae346476 100644 --- a/pandora_agents/unix/DEBIAN/control +++ b/pandora_agents/unix/DEBIAN/control @@ -1,5 +1,5 @@ package: pandorafms-agent-unix -Version: 7.0NG.769-230321 +Version: 7.0NG.769-230322 Architecture: all Priority: optional Section: admin diff --git a/pandora_agents/unix/DEBIAN/make_deb_package.sh b/pandora_agents/unix/DEBIAN/make_deb_package.sh index 1fa2ca61ca..eae3843db7 100644 --- a/pandora_agents/unix/DEBIAN/make_deb_package.sh +++ b/pandora_agents/unix/DEBIAN/make_deb_package.sh @@ -14,7 +14,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -pandora_version="7.0NG.769-230321" +pandora_version="7.0NG.769-230322" echo "Test if you has the tools for to make the packages." whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null diff --git a/pandora_agents/unix/pandora_agent b/pandora_agents/unix/pandora_agent index 29acc51257..6b8caef6e7 100755 --- a/pandora_agents/unix/pandora_agent +++ b/pandora_agents/unix/pandora_agent @@ -1023,7 +1023,7 @@ my $Sem = undef; my $ThreadSem = undef; use constant AGENT_VERSION => '7.0NG.769'; -use constant AGENT_BUILD => '230321'; +use constant AGENT_BUILD => '230322'; # Agent log default file size maximum and instances use constant DEFAULT_MAX_LOG_SIZE => 600000; diff --git a/pandora_agents/unix/pandora_agent.redhat.spec b/pandora_agents/unix/pandora_agent.redhat.spec index 4a05b62e5e..00bebae366 100644 --- a/pandora_agents/unix/pandora_agent.redhat.spec +++ b/pandora_agents/unix/pandora_agent.redhat.spec @@ -4,7 +4,7 @@ %global __os_install_post %{nil} %define name pandorafms_agent_linux %define version 7.0NG.769 -%define release 230321 +%define release 230322 Summary: Pandora FMS Linux agent, PERL version Name: %{name} diff --git a/pandora_agents/unix/pandora_agent.spec b/pandora_agents/unix/pandora_agent.spec index 323be3a578..a61b2f56f8 100644 --- a/pandora_agents/unix/pandora_agent.spec +++ b/pandora_agents/unix/pandora_agent.spec @@ -4,7 +4,7 @@ %global __os_install_post %{nil} %define name pandorafms_agent_linux %define version 7.0NG.769 -%define release 230321 +%define release 230322 Summary: Pandora FMS Linux agent, PERL version Name: %{name} diff --git a/pandora_agents/unix/pandora_agent_installer b/pandora_agents/unix/pandora_agent_installer index 82a8a3b94a..2e2d4ec44a 100755 --- a/pandora_agents/unix/pandora_agent_installer +++ b/pandora_agents/unix/pandora_agent_installer @@ -10,7 +10,7 @@ # ********************************************************************** PI_VERSION="7.0NG.769" -PI_BUILD="230321" +PI_BUILD="230322" OS_NAME=`uname -s` FORCE=0 diff --git a/pandora_agents/win32/installer/pandora.mpi b/pandora_agents/win32/installer/pandora.mpi index 4d4318a0b6..8daa30ae18 100644 --- a/pandora_agents/win32/installer/pandora.mpi +++ b/pandora_agents/win32/installer/pandora.mpi @@ -186,7 +186,7 @@ UpgradeApplicationID {} Version -{230321} +{230322} ViewReadme {Yes} diff --git a/pandora_agents/win32/pandora.cc b/pandora_agents/win32/pandora.cc index f8a2756e43..a1b982a207 100644 --- a/pandora_agents/win32/pandora.cc +++ b/pandora_agents/win32/pandora.cc @@ -30,7 +30,7 @@ using namespace Pandora; using namespace Pandora_Strutils; #define PATH_SIZE _MAX_PATH+1 -#define PANDORA_VERSION ("7.0NG.769 Build 230321") +#define PANDORA_VERSION ("7.0NG.769 Build 230322") string pandora_path; string pandora_dir; diff --git a/pandora_agents/win32/versioninfo.rc b/pandora_agents/win32/versioninfo.rc index 5dd2025219..7e27b054d3 100644 --- a/pandora_agents/win32/versioninfo.rc +++ b/pandora_agents/win32/versioninfo.rc @@ -11,7 +11,7 @@ BEGIN VALUE "LegalCopyright", "Artica ST" VALUE "OriginalFilename", "PandoraAgent.exe" VALUE "ProductName", "Pandora FMS Windows Agent" - VALUE "ProductVersion", "(7.0NG.769(Build 230321))" + VALUE "ProductVersion", "(7.0NG.769(Build 230322))" VALUE "FileVersion", "1.0.0.0" END END diff --git a/pandora_console/DEBIAN/control b/pandora_console/DEBIAN/control index d6cb3de029..b5db0c7fc3 100644 --- a/pandora_console/DEBIAN/control +++ b/pandora_console/DEBIAN/control @@ -1,5 +1,5 @@ package: pandorafms-console -Version: 7.0NG.769-230321 +Version: 7.0NG.769-230322 Architecture: all Priority: optional Section: admin diff --git a/pandora_console/DEBIAN/make_deb_package.sh b/pandora_console/DEBIAN/make_deb_package.sh index aadc182fe3..e528acf30e 100644 --- a/pandora_console/DEBIAN/make_deb_package.sh +++ b/pandora_console/DEBIAN/make_deb_package.sh @@ -14,7 +14,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -pandora_version="7.0NG.769-230321" +pandora_version="7.0NG.769-230322" package_pear=0 package_pandora=1 diff --git a/pandora_console/general/login_page.php b/pandora_console/general/login_page.php index 4bcce4142b..37421f655d 100755 --- a/pandora_console/general/login_page.php +++ b/pandora_console/general/login_page.php @@ -27,6 +27,22 @@ require_once __DIR__.'/../include/functions_ui.php'; require_once __DIR__.'/../include/functions.php'; require_once __DIR__.'/../include/functions_html.php'; +echo ''; if ($config['visual_animation']) { // form#login_form, div.login_data { @@ -121,7 +137,13 @@ if (empty($config['background_opacity']) === false) { $opacity = 30; } -$login_body_style = 'style="'.$background_100.'background: linear-gradient(rgba(0,0,0,.'.$opacity.'), rgba(0,0,0,.'.$opacity.")), url('".$background_url."');\""; +if ($config['style'] === 'pandora') { + $opacity_color = '255, 255, 255, .'; +} else { + $opacity_color = '0, 0, 0, .'; +} + +$login_body_style = 'style="'.$background_100.'background: linear-gradient(rgba('.$opacity_color.$opacity.'), rgba('.$opacity_color.$opacity.")), url('".$background_url."');\""; // Get alternative custom in case of db fail. $custom_fields = [ @@ -148,7 +170,7 @@ foreach ($custom_fields as $field) { $docs_logo = ui_get_docs_logo(); $support_logo = ui_get_support_logo(); echo '
- '.__('Item Editor').' - | -||||
---|---|---|---|---|
diff --git a/pandora_console/godmode/reporting/reporting_builder.list_items.php b/pandora_console/godmode/reporting/reporting_builder.list_items.php
index 6b5dda8159..238f020004 100755
--- a/pandora_console/godmode/reporting/reporting_builder.list_items.php
+++ b/pandora_console/godmode/reporting/reporting_builder.list_items.php
@@ -201,139 +201,86 @@ if (($agentFilter == 0) && ($moduleFilter == 0) && ($typeFilter == 0)) {
$urlFilter = '&agent_filter='.$agentFilter.'&module_filter='.$moduleFilter.'&type_filter='.$typeFilter;
-if (!defined('METACONSOLE')) {
- $table = new stdClass();
- $table->width = '100%';
- $table->class = 'filter-table-adv';
- $table->size[0] = '33%';
- $table->size[1] = '33%';
- $table->size[1] = '33%';
- $table->data[0][0] = html_print_label_input_block(
- __('Agents'),
- html_print_select(
- $agents,
- 'agent_filter',
- $agentFilter,
- '',
- __('All'),
- 0,
- true,
- false,
- true,
- '',
- false,
- 'width:100%'
- )
- );
- $table->data[0][1] = html_print_label_input_block(
- __('Modules'),
- html_print_select(
- $modules,
- 'module_filter',
- $moduleFilter,
- '',
- __('All'),
- 0,
- true,
- false,
- true,
- '',
- false,
- 'width:100%'
- )
- );
- $table->data[0][2] = html_print_label_input_block(
- __('Type'),
- html_print_select(
- $types,
- 'type_filter',
- $typeFilter,
- '',
- __('All'),
- 0,
- true,
- false,
- true,
- '',
- false,
- 'width:100%'
- )
- );
- $form = '';
-
- ui_toggle($form, __('Filters'), '', '', false);
-} else {
- $table = new stdClass();
- $table->width = '96%';
- $table->class = 'databox_filters';
- $table->cellpadding = 0;
- $table->cellspacing = 0;
- $table->data[0][0] = __('Agents');
- $table->data[0][1] = html_print_select(
+$table = new stdClass();
+$table->width = '100%';
+$table->class = 'filter-table-adv';
+$table->size[0] = '33%';
+$table->size[1] = '33%';
+$table->size[1] = '33%';
+$table->data[0][0] = html_print_label_input_block(
+ __('Agents'),
+ html_print_select(
$agents,
'agent_filter',
$agentFilter,
'',
__('All'),
0,
- true
- );
- $table->data[0][2] = __('Modules');
- $table->data[0][3] = html_print_select(
+ true,
+ false,
+ true,
+ '',
+ false,
+ 'width:100%'
+ )
+);
+$table->data[0][1] = html_print_label_input_block(
+ __('Modules'),
+ html_print_select(
$modules,
'module_filter',
$moduleFilter,
'',
__('All'),
0,
- true
- );
- $table->data[0][4] = __('Type');
- $table->data[0][5] = html_print_select(
+ true,
+ false,
+ true,
+ '',
+ false,
+ 'width:100%'
+ )
+);
+$table->data[0][2] = html_print_label_input_block(
+ __('Type'),
+ html_print_select(
$types,
'type_filter',
$typeFilter,
'',
__('All'),
0,
- true
- );
- $table->style[6] = 'text-align:right;';
- $table->data[0][6] = html_print_submit_button(
- __('Filter'),
- 'filter',
+ true,
false,
- 'class="sub upd"',
- true
- ).html_print_input_hidden('action', 'filter', true);
+ true,
+ '',
+ false,
+ 'width:100%'
+ )
+);
+$form = '';
- $filters = '';
- ui_toggle($filters, __('Show Options'));
-}
+ui_toggle($form, __('Filters'), '', '', false);
$where = '1=1';
if ($typeFilter != '0') {
@@ -412,16 +359,9 @@ $table->style[0] = 'text-align: right;';
if ($items) {
$table->width = '100%';
- if (defined('METACONSOLE')) {
- $table->width = '100%';
- $table->class = 'databox data';
- $arrow_up = 'images/sort_up.png';
- $arrow_down = 'images/sort_down.png';
- } else {
- $table->class = 'info_table';
- $arrow_up = 'images/sort_up_black.png';
- $arrow_down = 'images/sort_down_black.png';
- }
+ $table->class = 'info_table';
+ $arrow_up = 'images/sort_up_black.png';
+ $arrow_down = 'images/sort_down_black.png';
$table->size = [];
$table->size[0] = '5px';
@@ -717,90 +657,65 @@ foreach ($items as $item) {
}
}
-if (defined('METACONSOLE')) {
- if ($items != false) {
- ui_pagination($countItems, 'index.php?sec=reporting&sec2=godmode/reporting/reporting_builder&tab=list_items&action=edit&id_report='.$idReport.$urlFilter);
- html_print_table($table);
- ui_pagination($countItems, 'index.php?sec=reporting&sec2=godmode/reporting/reporting_builder&tab=list_items&action=edit&id_report='.$idReport.$urlFilter);
- echo "';
- }
-} else {
- if ($items != false) {
- ui_pagination(
- $countItems,
- 'index.php?sec=reporting&sec2=godmode/reporting/reporting_builder&tab=list_items&action=edit&id_report='.$idReport.$urlFilter
- );
- html_print_table($table);
- ui_pagination(
- $countItems,
- 'index.php?sec=reporting&sec2=godmode/reporting/reporting_builder&tab=list_items&action=edit&id_report='.$idReport.$urlFilter
- );
-
- echo " |