diff --git a/Templates/Map/mapview.tpl b/Templates/Map/mapview.tpl index 43ae4c35..7a55b46b 100644 --- a/Templates/Map/mapview.tpl +++ b/Templates/Map/mapview.tpl @@ -439,7 +439,14 @@ while ($donnees = mysqli_fetch_assoc($result2)) { function init_local(){map_init();} plus){ - echo ''.LARGE_MAP.''; + if(!empty($session->userinfo['map'])){ + // Preference "Show the large map in an extra window" (#198): + // open the large map (karte2.php) in a separate browser window + // instead of the in-page iframe overlay. + echo ''.LARGE_MAP.''; + } else { + echo ''.LARGE_MAP.''; + } }?> diff --git a/Templates/Profile/preference.tpl b/Templates/Profile/preference.tpl index fc469563..41ee994e 100644 --- a/Templates/Profile/preference.tpl +++ b/Templates/Profile/preference.tpl @@ -385,10 +385,7 @@ if(isset($_POST['lang'])) - Large map - - - +