X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_index.php;h=64b965fe5181fb2b1663a3dd8ab3e05666ff6f01;hp=2d599268e7a88722f0c54b474ac9d30f24a94754;hb=3b38ca36fc18d34999073625a9c66dc2f05747a3;hpb=0feade23ffa41ac299b252a93be4da11bc2a16b7 diff --git a/inc/templates_index.php b/inc/templates_index.php index 2d59926..64b965f 100644 --- a/inc/templates_index.php +++ b/inc/templates_index.php @@ -10,14 +10,40 @@ try { } catch (Exception $e) { } -$bbox = $connection->mbr (); +if (defined ("THUMBSMAXSIZE") && (THUMBSMAXSIZE > 0)) { + $thumbsmaxsize = THUMBSMAXSIZE; +} else { + $thumbsmaxsize = 400; // default value; +} + +if (defined ("POPUPNEARFEATURE") && (POPUPNEARFEATURE)) { + $popupnearfeature = true; +} else { + $popupnearfeature = false; +} ?> - + <?php echo defined ("SITETITLE") ? SITETITLE : "SYP"?> + + @@ -52,5 +77,15 @@ $bbox = $connection->mbr ();
+
+
+
+ + <?php ptrans('close')?> +
+
+