Commit 8ae25855 authored by Justine FERRON's avatar Justine FERRON
Browse files

Update PrintController.php

parent 64b09b43
......@@ -21,8 +21,7 @@ class PrintController extends ControllerBase
private $varSmartyToAngularComponents = [
'map' => '<alk-ol-map></alk-ol-map>',
'scaleline' => '<alk-controls-scale-line></alk-controls-scale-line>',
'scaledrop' => '<alk-map-scale-dropdown mode="foncier"></alk-map-scale-dropdown>',
'scaledropDefault' => '<alk-map-scale-dropdown></alk-map-scale-dropdown>',
'scaledrop' => '<alk-map-scale-dropdown></alk-map-scale-dropdown>',
'legend' => '<alk-sidebar></alk-sidebar>',
'keymap' => '<alk-map-visualisation></alk-map-visualisation>',
'logo' => '<alk-logo></alk-logo>',
......@@ -427,7 +426,6 @@ class PrintController extends ControllerBase
$smarty->assign("coord_alias", '');
$smarty->assign("map_alias", '');
$smarty->assign("scaledrop_alias", '');
$smarty->assign("scaledropDefault_alias", '');
$smarty->assign("legend_alias", '');
$smarty->assign("keymap_alias", '');
$smarty->assign("copyright_alias", '');
......@@ -537,14 +535,6 @@ class PrintController extends ControllerBase
)
);
$smarty->assign("scaledropDefault",
(
isset($requestBody['scalingDropdown'])
? $this->varSmartyToAngularComponents["scaledropDefault"]
: $this->varSmartyToAngularComponents["scaledropDefault"]
)
);
$smarty->assign("mentionCheckbox",
(
isset($requestBody['mentionCheckbox'])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment