X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_index.php;h=64b965fe5181fb2b1663a3dd8ab3e05666ff6f01;hp=9f54d3b0b93e7d3703f59f4daad95b9db8f1a87d;hb=3b38ca36fc18d34999073625a9c66dc2f05747a3;hpb=3181694edcb311144c22078ab6d59112bcde612a diff --git a/inc/templates_index.php b/inc/templates_index.php index 9f54d3b..64b965f 100644 --- a/inc/templates_index.php +++ b/inc/templates_index.php @@ -10,12 +10,17 @@ 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; +} ?> @@ -46,16 +51,9 @@ if (defined ("THUMBSMAXSIZE") && (THUMBSMAXSIZE > 0)) { propulsedByLink: "syp')?>", noImageRegistered: "" }; - + var sypSettings = { + popupNearfeature: + };