X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_index.php;h=a84a9c6ade648f0e1830310a4403d257d90d43f2;hp=2d599268e7a88722f0c54b474ac9d30f24a94754;hb=e57c166b46cf9c5961bca1b2241783944277cef5;hpb=0feade23ffa41ac299b252a93be4da11bc2a16b7 diff --git a/inc/templates_index.php b/inc/templates_index.php index 2d59926..a84a9c6 100644 --- a/inc/templates_index.php +++ b/inc/templates_index.php @@ -11,13 +11,34 @@ try { } $bbox = $connection->mbr (); +if (defined ("THUMBSMAXSIZE") && (THUMBSMAXSIZE > 0)) { + $thumbsmaxsize = THUMBSMAXSIZE; +} else { + $thumbsmaxsize = 400; // default value; +} ?> - + <?php echo defined ("SITETITLE") ? SITETITLE : "SYP"?> + +