Gis map fix view
This commit is contained in:
parent
f8aefa6e34
commit
0ae7630714
|
@ -70,7 +70,11 @@ function menu_print_menu(&$menu)
|
|||
$sec2 = 'enterprise/godmode/setup/setup_skins';
|
||||
} else if ($sec2 === 'godmode/gis_maps/configure_gis_map') {
|
||||
$map_id = (string) get_parameter('map_id');
|
||||
$sec2 = 'operation/gis_maps/render_view&map_id='.$map_id;
|
||||
if (empty($map_id) === false) {
|
||||
$sec2 = 'operation/gis_maps/render_view&map_id='.$map_id;
|
||||
} else {
|
||||
$sec2 = 'operation/gis_maps/gis_map';
|
||||
}
|
||||
} else if ($sec2 === 'operation/gis_maps/render_view') {
|
||||
$map_id = (int) get_parameter('map_id');
|
||||
if (empty($map_id) === false) {
|
||||
|
|
|
@ -214,12 +214,20 @@ if (!empty($table->data)) {
|
|||
}
|
||||
|
||||
if ($edit_gis_maps) {
|
||||
echo '<div class="action-buttons" style="width: '.$table->width.'">';
|
||||
echo '<form action="index.php?sec=godgismaps&sec2=godmode/gis_maps/configure_gis_map" method="post">';
|
||||
html_print_input_hidden('action', 'new_map');
|
||||
html_print_submit_button(__('Create'), '', false, 'class="sub next"');
|
||||
$ActionButton = html_print_submit_button(
|
||||
__('Create'),
|
||||
'create',
|
||||
false,
|
||||
[
|
||||
'class' => 'sub ok submitButton',
|
||||
'icon' => 'next',
|
||||
],
|
||||
true
|
||||
);
|
||||
echo '<div class="action-buttons">'.html_print_action_buttons($ActionButton, ['type' => 'form_action'], true).'</div>';
|
||||
echo '</form>';
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
unset($table);
|
||||
|
|
Loading…
Reference in New Issue