Merge branch 'ent-12419-solicitud-de-cambio-de-longitud-maxima-del-campo-external-link' into 'develop'
Ent 12419 Solicitud de cambio de longitud máxima del campo External Link See merge request artica/pandorafms!6821
This commit is contained in:
commit
2b839149fd
|
@ -424,10 +424,8 @@ if ($create_user === true) {
|
||||||
$values['data_section'] = $dashboard;
|
$values['data_section'] = $dashboard;
|
||||||
} else if (io_safe_output($values['section']) === HOME_SCREEN_VISUAL_CONSOLE) {
|
} else if (io_safe_output($values['section']) === HOME_SCREEN_VISUAL_CONSOLE) {
|
||||||
$values['data_section'] = $visual_console;
|
$values['data_section'] = $visual_console;
|
||||||
} else if ($values['section'] === HOME_SCREEN_OTHER) {
|
} else if ($values['section'] === HOME_SCREEN_OTHER || io_safe_output($values['section']) === HOME_SCREEN_EXTERNAL_LINK) {
|
||||||
$values['data_section'] = get_parameter('data_section_other');
|
$values['data_section'] = get_parameter('data_section');
|
||||||
} else if (io_safe_output($values['section']) === HOME_SCREEN_EXTERNAL_LINK) {
|
|
||||||
$values['data_section'] = get_parameter('data_section_external');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// $values['section'] = $homeScreenValues[$values['section']];
|
// $values['section'] = $homeScreenValues[$values['section']];
|
||||||
|
@ -724,10 +722,8 @@ if ($update_user) {
|
||||||
$values['data_section'] = $dashboard;
|
$values['data_section'] = $dashboard;
|
||||||
} else if (io_safe_output($values['section']) === HOME_SCREEN_VISUAL_CONSOLE) {
|
} else if (io_safe_output($values['section']) === HOME_SCREEN_VISUAL_CONSOLE) {
|
||||||
$values['data_section'] = $visual_console;
|
$values['data_section'] = $visual_console;
|
||||||
} else if ($values['section'] === HOME_SCREEN_OTHER) {
|
} else if ($values['section'] === HOME_SCREEN_OTHER || io_safe_output($values['section']) === HOME_SCREEN_EXTERNAL_LINK) {
|
||||||
$values['data_section'] = get_parameter('data_section_other');
|
$values['data_section'] = get_parameter('data_section');
|
||||||
} else if (io_safe_output($values['section']) === HOME_SCREEN_EXTERNAL_LINK) {
|
|
||||||
$values['data_section'] = get_parameter('data_section_external');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// $values['section'] = $homeScreenValues[$values['section']];
|
// $values['section'] = $homeScreenValues[$values['section']];
|
||||||
|
|
|
@ -84,8 +84,7 @@ $customHomeScreenAddition[HOME_SCREEN_DASHBOARD] = html_print_select(
|
||||||
// Home screen. Visual consoles.
|
// Home screen. Visual consoles.
|
||||||
$customHomeScreenAddition[HOME_SCREEN_VISUAL_CONSOLE] = html_print_select($layouts_aux, 'visual_console', $user_info['data_section'], '', '', '', true, false, true, 'w100p', false, 'width: 100%');
|
$customHomeScreenAddition[HOME_SCREEN_VISUAL_CONSOLE] = html_print_select($layouts_aux, 'visual_console', $user_info['data_section'], '', '', '', true, false, true, 'w100p', false, 'width: 100%');
|
||||||
// Home screen. External link and Other.
|
// Home screen. External link and Other.
|
||||||
$customHomeScreenAddition[HOME_SCREEN_EXTERNAL_LINK] = html_print_input_text('data_section_external', $user_info['data_section'], '', 60, 255, true);
|
$customHomeScreenAddition[HOME_SCREEN_EXTERNAL_LINK] = html_print_input_text('data_section', $user_info['data_section'], '', 60, 400, true);
|
||||||
$customHomeScreenAddition[HOME_SCREEN_OTHER] = html_print_input_text('data_section_other', $user_info['data_section'], '', 60, 255, true);
|
|
||||||
|
|
||||||
$layouts = visual_map_get_user_layouts($config['id_user'], true);
|
$layouts = visual_map_get_user_layouts($config['id_user'], true);
|
||||||
$layouts_aux = [];
|
$layouts_aux = [];
|
||||||
|
@ -112,15 +111,6 @@ $customHomeScreenAddition[HOME_SCREEN_VISUAL_CONSOLE] = html_print_select(
|
||||||
false,
|
false,
|
||||||
'width: 100%'
|
'width: 100%'
|
||||||
);
|
);
|
||||||
// Home screen. External link and Other.
|
|
||||||
$customHomeScreenAddition[HOME_SCREEN_EXTERNAL_LINK] = html_print_input_text(
|
|
||||||
'data_section',
|
|
||||||
$user_info['data_section'],
|
|
||||||
'',
|
|
||||||
60,
|
|
||||||
255,
|
|
||||||
true
|
|
||||||
);
|
|
||||||
$customHomeScreenDataField = '';
|
$customHomeScreenDataField = '';
|
||||||
foreach ($customHomeScreenAddition as $key => $customField) {
|
foreach ($customHomeScreenAddition as $key => $customField) {
|
||||||
$customHomeScreenDataField .= html_print_div(
|
$customHomeScreenDataField .= html_print_div(
|
||||||
|
|
Loading…
Reference in New Issue