Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
prodige
bdl_visualiseur_core
Commits
8ae25855
Commit
8ae25855
authored
Jul 23, 2021
by
Justine FERRON
Browse files
Update PrintController.php
parent
64b09b43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Controllers/PrintController.php
View file @
8ae25855
...
...
@@ -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'
])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment