mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
Added message
This commit is contained in:
parent
172b34ee12
commit
ffc468fce8
@ -389,7 +389,7 @@ function initialiceLayout(data) {
|
|||||||
widgetId: widgetId
|
widgetId: widgetId
|
||||||
},
|
},
|
||||||
width: widgetId == 14 || widgetId == 2 ? 750 : 450,
|
width: widgetId == 14 || widgetId == 2 ? 750 : 450,
|
||||||
maxHeight: 600,
|
maxHeight: 610,
|
||||||
minHeight: 400
|
minHeight: 400
|
||||||
},
|
},
|
||||||
onsubmit: {
|
onsubmit: {
|
||||||
|
@ -253,6 +253,14 @@ class NetworkMapWidget extends Widget
|
|||||||
// Retrieve global - common inputs.
|
// Retrieve global - common inputs.
|
||||||
$inputs = parent::getFormInputs();
|
$inputs = parent::getFormInputs();
|
||||||
|
|
||||||
|
$inputs[] = [
|
||||||
|
'label' => \ui_print_info_message(
|
||||||
|
__('It is recommended to have only one such widget in the control panel.'),
|
||||||
|
'',
|
||||||
|
true
|
||||||
|
),
|
||||||
|
];
|
||||||
|
|
||||||
// Default values.
|
// Default values.
|
||||||
if (isset($values['xOffset']) === false) {
|
if (isset($values['xOffset']) === false) {
|
||||||
$values['xOffset'] = 0;
|
$values['xOffset'] = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user