From d1794b8385582d1d4c2878b392881db8f2bf1ab9 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 18 Aug 2016 11:10:45 +0200 Subject: [PATCH] ticket integria: 3897 add number agent disabled/enabled in license #27 --- pandora_console/godmode/setup/license.php | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/pandora_console/godmode/setup/license.php b/pandora_console/godmode/setup/license.php index 27f9c08b5c..a2cad7fe98 100644 --- a/pandora_console/godmode/setup/license.php +++ b/pandora_console/godmode/setup/license.php @@ -73,17 +73,24 @@ $table->data[2][1] = html_print_input_text('expires', $license['limit'], '', 10, $table->data[3][0] = ''.__('Current Platform Count').''; $table->data[3][1] = html_print_input_text('expires', $license['count'], '', 10, 255, true, true) . ' ' . ($license['limit_mode'] == 0 ? __('agents') : __('modules')); -$table->data[4][0] = ''.__('License Mode').''; -$table->data[4][1] = html_print_input_text('expires', $license['license_mode'], '', 10, 255, true, true); +$table->data[4][0] = ''.__('Current Platform Count (enabled: items)').''; +$table->data[4][1] = html_print_input_text('expires', $license['count_enabled'], '', 10, 255, true, true) . ' ' . ($license['limit_mode'] == 0 ? __('agents') : __('modules')); -$table->data[5][0] = ''.__('NMS').''; -$table->data[5][1] = html_print_input_text('expires', ($license['nms'] == 1 ? __('enabled') : __('disabled')), '', 10, 255, true, true); +$table->data[5][0] = ''.__('Current Platform Count (disabled: items)').''; +$table->data[5][1] = html_print_input_text('expires', $license['count_disabled'], '', 10, 255, true, true) . ' ' . ($license['limit_mode'] == 0 ? __('agents') : __('modules')); -$table->data[6][0] = ''.__('Satellite').''; -$table->data[6][1] = html_print_input_text('expires', ($license['dhpm'] == 1 ? __('enabled') : __('disabled')), '', 10, 255, true, true); +$table->data[6][0] = ''.__('License Mode').''; +$table->data[6][1] = html_print_input_text('expires', $license['license_mode'], '', 10, 255, true, true); + +$table->data[7][0] = ''.__('NMS').''; +$table->data[7][1] = html_print_input_text('expires', ($license['nms'] == 1 ? __('enabled') : __('disabled')), '', 10, 255, true, true); + +$table->data[8][0] = ''.__('Satellite').''; +$table->data[8][1] = html_print_input_text('expires', ($license['dhpm'] == 1 ? __('enabled') : __('disabled')), '', 10, 255, true, true); + +$table->data[9][0] = ''.__('Licensed to').''; +$table->data[9][1] = html_print_input_text('licensed_to', $license['licensed_to'], '', 64, 255, true, true); -$table->data[7][0] = ''.__('Licensed to').''; -$table->data[7][1] = html_print_input_text('licensed_to', $license['licensed_to'], '', 64, 255, true, true); html_print_table ($table); if (enterprise_installed()) { echo '
';