Minor fixes
This commit is contained in:
parent
f0a424a493
commit
3ab0b1c4cb
|
@ -1011,13 +1011,13 @@ if (!$new_user) {
|
||||||
$user_id .= html_print_input_hidden('id_user', $id, true);
|
$user_id .= html_print_input_hidden('id_user', $id, true);
|
||||||
$user_id .= '</div>';
|
$user_id .= '</div>';
|
||||||
|
|
||||||
$apiTokenContentElements[] = '<span style="height: 15px;font-size: 14px;">'.__('API Token').'</span>';
|
$apiTokenContentElements[] = '<span style="line-height: 15px; height: 15px;font-size: 14px;">'.__('API Token').'</span>';
|
||||||
$apiTokenContentElements[] = html_print_button(
|
$apiTokenContentElements[] = html_print_button(
|
||||||
__('Renew'),
|
__('Renew'),
|
||||||
'renew_api_token',
|
'renew_api_token',
|
||||||
false,
|
false,
|
||||||
sprintf(
|
sprintf(
|
||||||
'javascript:renewAPIToken(\'%s\', \'%s\', \'%s\')',
|
'javascript:renewAPIToken("%s", "%s", "%s")',
|
||||||
__('Warning'),
|
__('Warning'),
|
||||||
__('The API token will be renewed. After this action, the last token you were using will not work. Are you sure?'),
|
__('The API token will be renewed. After this action, the last token you were using will not work. Are you sure?'),
|
||||||
'user_profile_form',
|
'user_profile_form',
|
||||||
|
@ -1033,7 +1033,7 @@ if (!$new_user) {
|
||||||
'show_api_token',
|
'show_api_token',
|
||||||
false,
|
false,
|
||||||
sprintf(
|
sprintf(
|
||||||
'javascript:showAPIToken(\'%s\', \'%s\')',
|
'javascript:showAPIToken("%s", "%s")',
|
||||||
__('API Token'),
|
__('API Token'),
|
||||||
base64_encode(__('Your API Token is:').' <br><span class="font_12pt bolder">'.users_get_API_token($id).'</span><br> '.__('Please, avoid share this string with others.')),
|
base64_encode(__('Your API Token is:').' <br><span class="font_12pt bolder">'.users_get_API_token($id).'</span><br> '.__('Please, avoid share this string with others.')),
|
||||||
),
|
),
|
||||||
|
|
|
@ -1329,7 +1329,7 @@ class AgentWizard extends HTML
|
||||||
$table->rowstyle[$i] = 'color:#ccc;';
|
$table->rowstyle[$i] = 'color:#ccc;';
|
||||||
$data[0] .= ' ';
|
$data[0] .= ' ';
|
||||||
$data[0] .= html_print_image(
|
$data[0] .= html_print_image(
|
||||||
'images/error.png',
|
'images/alert-warning@svg.svg',
|
||||||
true,
|
true,
|
||||||
['title' => $msgError]
|
['title' => $msgError]
|
||||||
);
|
);
|
||||||
|
@ -1347,7 +1347,7 @@ class AgentWizard extends HTML
|
||||||
// Img Server.
|
// Img Server.
|
||||||
if ($this->serverType == SERVER_TYPE_ENTERPRISE_SATELLITE) {
|
if ($this->serverType == SERVER_TYPE_ENTERPRISE_SATELLITE) {
|
||||||
$img_server = html_print_image(
|
$img_server = html_print_image(
|
||||||
'images/satellite.png',
|
'images/satellite@os.svg',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('Enterprise Satellite server'),
|
'title' => __('Enterprise Satellite server'),
|
||||||
|
@ -1357,7 +1357,7 @@ class AgentWizard extends HTML
|
||||||
} else {
|
} else {
|
||||||
if ($module['execution_type'] == EXECUTION_TYPE_PLUGIN) {
|
if ($module['execution_type'] == EXECUTION_TYPE_PLUGIN) {
|
||||||
$img_server = html_print_image(
|
$img_server = html_print_image(
|
||||||
'images/plugin.png',
|
'images/plugins@svg.svg',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('Plugin server'),
|
'title' => __('Plugin server'),
|
||||||
|
@ -1367,7 +1367,7 @@ class AgentWizard extends HTML
|
||||||
} else {
|
} else {
|
||||||
if ($this->protocol === 'wmi') {
|
if ($this->protocol === 'wmi') {
|
||||||
$img_server = html_print_image(
|
$img_server = html_print_image(
|
||||||
'images/wmi.png',
|
'images/WMI@svg.svg',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('WMI server'),
|
'title' => __('WMI server'),
|
||||||
|
@ -1376,7 +1376,7 @@ class AgentWizard extends HTML
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$img_server = html_print_image(
|
$img_server = html_print_image(
|
||||||
'images/op_network.png',
|
'images/network@svg.svg',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('Network server'),
|
'title' => __('Network server'),
|
||||||
|
@ -4090,7 +4090,7 @@ class AgentWizard extends HTML
|
||||||
$blockTitle .= '<b>'.$block['name'];
|
$blockTitle .= '<b>'.$block['name'];
|
||||||
$blockTitle .= ' ';
|
$blockTitle .= ' ';
|
||||||
$blockTitle .= html_print_image(
|
$blockTitle .= html_print_image(
|
||||||
'images/tip_help.png',
|
'images/info@svg.svg',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('Modules selected'),
|
'title' => __('Modules selected'),
|
||||||
|
@ -4110,7 +4110,7 @@ class AgentWizard extends HTML
|
||||||
|
|
||||||
$blockTitle .= ' ';
|
$blockTitle .= ' ';
|
||||||
$blockTitle .= html_print_image(
|
$blockTitle .= html_print_image(
|
||||||
'images/tip_help.png',
|
'images/info@svg.svg',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('Modules selected'),
|
'title' => __('Modules selected'),
|
||||||
|
@ -4205,6 +4205,9 @@ class AgentWizard extends HTML
|
||||||
$table->size[4] = '140px';
|
$table->size[4] = '140px';
|
||||||
$table->size[5] = '3%';
|
$table->size[5] = '3%';
|
||||||
|
|
||||||
|
$table->align = [];
|
||||||
|
$table->align[1] = 'center';
|
||||||
|
|
||||||
// If is needed show current value, we must correct the table.
|
// If is needed show current value, we must correct the table.
|
||||||
if ($showCurrentValue === true) {
|
if ($showCurrentValue === true) {
|
||||||
// Correct headers.
|
// Correct headers.
|
||||||
|
@ -4273,7 +4276,7 @@ class AgentWizard extends HTML
|
||||||
false,
|
false,
|
||||||
false,
|
false,
|
||||||
'',
|
'',
|
||||||
$md5IdBlock,
|
$md5IdBlock.' w100p',
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
false,
|
false,
|
||||||
|
@ -4293,8 +4296,9 @@ class AgentWizard extends HTML
|
||||||
1,
|
1,
|
||||||
20,
|
20,
|
||||||
$module['description'],
|
$module['description'],
|
||||||
'form=\'form-create-modules\' class=\'min-height-50px\'',
|
'form=\'form-create-modules\'',
|
||||||
true
|
true,
|
||||||
|
'w100p'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4703,8 +4707,6 @@ class AgentWizard extends HTML
|
||||||
'toggle_class' => '',
|
'toggle_class' => '',
|
||||||
'container_class' => 'white-box-content',
|
'container_class' => 'white-box-content',
|
||||||
'main_class' => $class,
|
'main_class' => $class,
|
||||||
'img_a' => 'images/arrow_down_green.png',
|
|
||||||
'img_b' => 'images/arrow_right_green.png',
|
|
||||||
'clean' => false,
|
'clean' => false,
|
||||||
'reverseImg' => $reverseImg,
|
'reverseImg' => $reverseImg,
|
||||||
'switch' => $buttonSwitch,
|
'switch' => $buttonSwitch,
|
||||||
|
|
|
@ -9306,7 +9306,7 @@ div.stat-win-spinner img {
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
margin-right: 5px !important;
|
margin-right: 5px !important;
|
||||||
margin-top: -4px;
|
margin-top: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select2-results
|
.select2-results
|
||||||
|
|
Loading…
Reference in New Issue