X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_index.php;h=64b965fe5181fb2b1663a3dd8ab3e05666ff6f01;hp=7fd2bb457744ecb3005e9446aa90760070a13bfa;hb=3b38ca36fc18d34999073625a9c66dc2f05747a3;hpb=e4a4e5149d55cf01a86f26392c52fdca803654ce diff --git a/inc/templates_index.php b/inc/templates_index.php index 7fd2bb4..64b965f 100644 --- a/inc/templates_index.php +++ b/inc/templates_index.php @@ -10,15 +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"?> + @@ -53,5 +77,15 @@ $bbox = $connection->mbr ();
+
+
+
+ + <?php ptrans('close')?> +
+
+