mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
#8039 Fixed network link
This commit is contained in:
parent
c7face04e1
commit
e9b6acc1a8
@ -306,6 +306,16 @@ foreach ($layoutDatas as $layoutData) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case NETWORK_LINK:
|
case NETWORK_LINK:
|
||||||
|
$table->data[($i + 1)]['icon'] = html_print_image(
|
||||||
|
'images/network_link_item.png',
|
||||||
|
true,
|
||||||
|
[
|
||||||
|
'title' => __('Network link'),
|
||||||
|
'class' => 'invert_filter',
|
||||||
|
]
|
||||||
|
);
|
||||||
|
break;
|
||||||
|
|
||||||
case LINE_ITEM:
|
case LINE_ITEM:
|
||||||
$table->data[($i + 1)]['icon'] = html_print_image(
|
$table->data[($i + 1)]['icon'] = html_print_image(
|
||||||
'images/line_item.png',
|
'images/line_item.png',
|
||||||
|
@ -433,7 +433,10 @@ switch ($activeTab) {
|
|||||||
$idsElements = db_get_all_rows_filter(
|
$idsElements = db_get_all_rows_filter(
|
||||||
'tlayout_data',
|
'tlayout_data',
|
||||||
['id_layout' => $idVisualConsole],
|
['id_layout' => $idVisualConsole],
|
||||||
['id']
|
[
|
||||||
|
'id',
|
||||||
|
'type',
|
||||||
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($idsElements === false) {
|
if ($idsElements === false) {
|
||||||
@ -449,8 +452,13 @@ switch ($activeTab) {
|
|||||||
$values['height'] = get_parameter('height_'.$id, 0);
|
$values['height'] = get_parameter('height_'.$id, 0);
|
||||||
$values['pos_x'] = get_parameter('left_'.$id, 0);
|
$values['pos_x'] = get_parameter('left_'.$id, 0);
|
||||||
$values['pos_y'] = get_parameter('top_'.$id, 0);
|
$values['pos_y'] = get_parameter('top_'.$id, 0);
|
||||||
$type = db_get_value('type', 'tlayout_data', 'id', $id);
|
switch ($idElement['type']) {
|
||||||
switch ($type) {
|
case NETWORK_LINK:
|
||||||
|
case LINE_ITEM:
|
||||||
|
continue 2;
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
case MODULE_GRAPH:
|
case MODULE_GRAPH:
|
||||||
case SIMPLE_VALUE_MAX:
|
case SIMPLE_VALUE_MAX:
|
||||||
case SIMPLE_VALUE_MIN:
|
case SIMPLE_VALUE_MIN:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user