Merge branch 'ent-12435-metaconsola-external-links-recorta-enlaces-muy-largos' into 'develop'

Ent 12435 metaconsola external links recorta enlaces muy largos

See merge request artica/pandorafms!6775
This commit is contained in:
Rafael Ameijeiras 2024-01-18 12:57:53 +00:00
commit 2dad4fcf0b
3 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,5 @@
START TRANSACTION;
ALTER TABLE `tusuario` CHANGE COLUMN `metaconsole_data_section` `metaconsole_data_section` TEXT NOT NULL DEFAULT '' ;
COMMIT;

View File

@ -111,6 +111,15 @@ $customHomeScreenAddition[HOME_SCREEN_VISUAL_CONSOLE] = html_print_select(
false,
'width: 100%'
);
// Home screen. External link and Other.
$customHomeScreenAddition[HOME_SCREEN_EXTERNAL_LINK] = html_print_input_text(
'data_section',
$user_info['data_section'],
'',
60,
999,
true
);
$customHomeScreenDataField = '';
foreach ($customHomeScreenAddition as $key => $customField) {
$customHomeScreenDataField .= html_print_div(

View File

@ -1294,7 +1294,7 @@ CREATE TABLE IF NOT EXISTS `tusuario` (
`section` TEXT,
`data_section` TEXT,
`metaconsole_section` VARCHAR(255) NOT NULL DEFAULT 'Default',
`metaconsole_data_section` VARCHAR(255) NOT NULL DEFAULT '',
`metaconsole_data_section` TEXT,
`force_change_pass` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`last_pass_change` DATETIME,
`last_failed_login` DATETIME,