X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_index.php;h=6fd516b09e46f6e8ed956417c50c2afc65533049;hp=7fd2bb457744ecb3005e9446aa90760070a13bfa;hb=3c9d0dbaecbd62e5933096270da3e970371d67ec;hpb=e4a4e5149d55cf01a86f26392c52fdca803654ce diff --git a/inc/templates_index.php b/inc/templates_index.php index 7fd2bb4..6fd516b 100644 --- a/inc/templates_index.php +++ b/inc/templates_index.php @@ -11,14 +11,34 @@ try { } $bbox = $connection->mbr (); +if (defined ("THUMBSMAXSIZE") && (THUMBSMAXSIZE > 0)) { + $thumbsmaxsize = THUMBSMAXSIZE; +} else { + $thumbsmaxsize = 400; // default value; +} ?> - + <?php echo defined ("SITETITLE") ? SITETITLE : "SYP"?> +