#12132 Fix welcome tips

This commit is contained in:
miguel angel rasteu 2023-10-16 12:17:42 +02:00
parent c9966ed999
commit a456912dd7
2 changed files with 9 additions and 2 deletions

View File

@ -0,0 +1,7 @@
START TRANSACTION;
DELETE FROM `twelcome_tip` WHERE `title` = 'Automatic agent provision system';
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Automatic agent provision system','The agent self-provisioning system allows an agent recently entered into the system to automatically apply changes to their configuration (such as moving them from group, assigning them certain values in custom fields) and of course applying certain monitoring policies. It is one of the most powerful functionalities, aimed at managing very large system parks.','https://pandorafms.com/manual/start?id=en/documentation/02_installation/05_configuration_agents#conf',1);
COMMIT;

View File

@ -744,7 +744,7 @@ class TipsWindow
);
$table->data[1][1] = html_print_label_input_block(
__('Url'),
html_print_input_text('url', '', '', 35, 100, true)
html_print_input_text('url', '', '', 35, 255, true)
);
$table->data[2][0] = html_print_label_input_block(
__('Text'),
@ -911,7 +911,7 @@ class TipsWindow
);
$table->data[1][1] = html_print_label_input_block(
__('Url'),
html_print_input_text('url', $tip['url'], '', 35, 100, true)
html_print_input_text('url', $tip['url'], '', 35, 255, true)
);
$table->data[2][0] = html_print_label_input_block(
__('Text'),