mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
add new field external link login user
This commit is contained in:
parent
9c942cd7b8
commit
bec91f39cc
@ -180,7 +180,7 @@ if ($create_user) {
|
|||||||
$values["data_section"] = $dashboard;
|
$values["data_section"] = $dashboard;
|
||||||
} else if (io_safe_output($values['section']) == 'Visual console') {
|
} else if (io_safe_output($values['section']) == 'Visual console') {
|
||||||
$values["data_section"] = $visual_console;
|
$values["data_section"] = $visual_console;
|
||||||
} else if ($values['section'] == 'Other'){
|
} else if ($values['section'] == 'Other' || io_safe_output($values['section']) == 'External link'){
|
||||||
$values["data_section"] = get_parameter ('data_section');
|
$values["data_section"] = get_parameter ('data_section');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -304,7 +304,7 @@ if ($update_user) {
|
|||||||
$values["data_section"] = $dashboard;
|
$values["data_section"] = $dashboard;
|
||||||
} else if (io_safe_output($values['section']) == 'Visual console') {
|
} else if (io_safe_output($values['section']) == 'Visual console') {
|
||||||
$values["data_section"] = $visual_console;
|
$values["data_section"] = $visual_console;
|
||||||
} else if ($values['section'] == 'Other'){
|
} else if ($values['section'] == 'Other' || io_safe_output($values['section']) == 'External link'){
|
||||||
$values["data_section"] = get_parameter ('data_section');
|
$values["data_section"] = get_parameter ('data_section');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -570,6 +570,7 @@ $values = array (
|
|||||||
'Group view'=>__('Group view'),
|
'Group view'=>__('Group view'),
|
||||||
'Tactical view'=>__('Tactical view'),
|
'Tactical view'=>__('Tactical view'),
|
||||||
'Alert detail' => __('Alert detail'),
|
'Alert detail' => __('Alert detail'),
|
||||||
|
'External link' => __('External link'),
|
||||||
'Other'=>__('Other'));
|
'Other'=>__('Other'));
|
||||||
if (enterprise_installed() && !is_metaconsole()) {
|
if (enterprise_installed() && !is_metaconsole()) {
|
||||||
$values['Dashboard'] = __('Dashboard');
|
$values['Dashboard'] = __('Dashboard');
|
||||||
@ -870,6 +871,11 @@ function show_data_section () {
|
|||||||
$("#dashboard").css("display", "none");
|
$("#dashboard").css("display", "none");
|
||||||
$("#visual_console").css("display", "none");
|
$("#visual_console").css("display", "none");
|
||||||
break;
|
break;
|
||||||
|
case <?php echo "'" . 'External link' . "'"; ?>:
|
||||||
|
$("#text-data_section").css("display", "");
|
||||||
|
$("#dashboard").css("display", "none");
|
||||||
|
$("#visual_console").css("display", "none");
|
||||||
|
break;
|
||||||
case <?php echo "'" . 'Other' . "'"; ?>:
|
case <?php echo "'" . 'Other' . "'"; ?>:
|
||||||
$("#text-data_section").css("display", "");
|
$("#text-data_section").css("display", "");
|
||||||
$("#dashboard").css("display", "none");
|
$("#dashboard").css("display", "none");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user