X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_index.php;h=6fd516b09e46f6e8ed956417c50c2afc65533049;hp=2d599268e7a88722f0c54b474ac9d30f24a94754;hb=3c9d0dbaecbd62e5933096270da3e970371d67ec;hpb=0feade23ffa41ac299b252a93be4da11bc2a16b7 diff --git a/inc/templates_index.php b/inc/templates_index.php index 2d59926..6fd516b 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"?> + +