#12561 information for LTS versions in Warp Update
This commit is contained in:
parent
e7ad23c477
commit
df76a5194c
|
@ -17,5 +17,7 @@ INSERT IGNORE INTO `tdiscovery_apps_tasks_macros` (`id_task`, `macro`, `type`, `
|
|||
INSERT IGNORE INTO `tdiscovery_apps_tasks_macros` (`id_task`, `macro`, `type`, `value`, `temp_conf`) SELECT id_rt, '_clientPath_', 'custom', '', 0 FROM `trecon_task` WHERE `id_app` = @id_app;
|
||||
UPDATE `trecon_task` SET `setup_complete` = 1 WHERE `id_app` = @id_app;
|
||||
|
||||
-- Update lts updates
|
||||
UPDATE tconfig SET value='1' WHERE token='lts_updates';
|
||||
|
||||
COMMIT;
|
||||
|
|
|
@ -411,3 +411,63 @@ html_print_action_buttons(
|
|||
)
|
||||
);
|
||||
echo '</form>';
|
||||
?>
|
||||
<!-- Lts Updates. -->
|
||||
<div id="lts-updates" title="
|
||||
<?php echo __('LTS versions'); ?>
|
||||
" class="invisible">
|
||||
<div style="display: flex; justify-content: space-between">
|
||||
<div style="width: 250px; padding: 36px">
|
||||
<?php
|
||||
echo html_print_image(
|
||||
'images/info-warning.svg',
|
||||
true,
|
||||
[ 'style' => 'padding-top: 10px' ]
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
<div style="padding: 5px 40px 5px 5px;">
|
||||
<p class="lato font_10pt bolder">
|
||||
<?php
|
||||
echo __('There are two types of versions in Pandora FMS: the LTS versions (Long-Term Support), e.g: 772 LTS, and the RRR (Regular Rolling Release) versions, e.g: 771, 773, 774, 775.');
|
||||
?>
|
||||
</p>
|
||||
<p class="lato font_10pt bolder">
|
||||
<?php
|
||||
echo __('LTS versions have frequent, periodic updates (fixes), correcting both security problems and critical bugs detected in the tool. These are the versions we recommend to use in production environments.');
|
||||
?>
|
||||
</p>
|
||||
<p class="lato font_10pt bolder">
|
||||
<?php
|
||||
echo __('RRR versions incorporate new features in each version, as well as bug fixes, but due to their dynamic nature, errors are more likely.');
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
// Lts Updates.
|
||||
$("#lts-updates").dialog({
|
||||
resizable: true,
|
||||
draggable: true,
|
||||
modal: true,
|
||||
width: 740,
|
||||
overlay: {
|
||||
opacity: 0.5,
|
||||
background: "black"
|
||||
},
|
||||
closeOnEscape: true,
|
||||
buttons: [{
|
||||
text: "OK",
|
||||
click: function() {
|
||||
$(this).dialog("close");
|
||||
}
|
||||
}],
|
||||
open: function(event, ui) {
|
||||
$(".ui-dialog-titlebar-close").hide();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
|
@ -2537,6 +2537,10 @@ function config_process_config()
|
|||
config_update_value('gotty_port', 8080);
|
||||
}
|
||||
|
||||
if (!isset($config['lts_updates'])) {
|
||||
config_update_value('lts_updates', 1);
|
||||
}
|
||||
|
||||
if (isset($config['performance_variables_control']) === false) {
|
||||
config_update_value(
|
||||
'performance_variables_control',
|
||||
|
|
Loading…
Reference in New Issue