$thumbsmaxsize = 400; // default value;
}
?>
-<html>
+<html lang="<?php echo $lang?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
<title><?php echo defined ("SITETITLE") ? SITETITLE : "SYP"?></title>
<link rel="stylesheet" href="./openlayers/theme/default/style.css" type="text/css">
<link rel="stylesheet" href="./media/syp.css" type="text/css">
<style type="text/css">
- .olPopup p {
- <?php printf("width: %dpx;\n", $thumbsmaxsize)?>
+ .olPopup {
+ <?php printf("_width: %dpx;\n", ($thumbsmaxsize + 40))?>
}
.olPopup img {
<?php printf("max-height: %dpx;\n", $thumbsmaxsize)?>
<?php
printf ("var sypOrig = [%.18F, %.18F, %.18F, %.18F];\n",
$bbox [0], $bbox [1], $bbox [2], $bbox [3]);
+
+ if (defined ("POPUPNEARFEATURE") && (POPUPNEARFEATURE)) {
+ printf ("var sypPopupNearFeature = true;\n");
+ } else {
+ printf ("var sypPopupNearFeature = false;\n");
+ }
?>
</script>
<script src="./openlayers/OpenLayers.js" type="text/javascript"></script>
<div id="map"></div>
<div id="message"></div>
+ <div id="bigimg_container">
+ <div id="bigimg_transparency"></div>
+ <div id="bigimg_content">
+ <img id="bigimg" onclick="SYP.closeBigImage()">
+ <img id="bigimg_close" alt="<?php ptrans('close')?>"
+ src="openlayers/theme/default/img/close.gif"
+ onclick="SYP.closeBigImage()">
+ </div>
+ </div>
+
</body>
</html>