X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Fhtml%2Findex.php;h=5de0a53497bb05650d9a294cdfe5f4e6dd3bc674;hp=8382159b0686a9f5ff0c04c50b7e20c84e381e3f;hb=0fb779168df5af03f2a74b6bf1766d5a1c0f1a7e;hpb=1fa9f86af76141dee786b45083ebcdb72f49981a diff --git a/inc/html/index.php b/inc/html/index.php index 8382159..5de0a53 100644 --- a/inc/html/index.php +++ b/inc/html/index.php @@ -16,10 +16,10 @@ if (defined ("THUMBSMAXSIZE") && (THUMBSMAXSIZE > 0)) { $thumbsmaxsize = 400; // default value; } -if (defined ("POPUPNEARFEATURE") && (POPUPNEARFEATURE)) { - $popupnearfeature = true; +if (defined ("POPUPPOS")) { + $popuppos = POPUPPOS; } else { - $popupnearfeature = false; + $popuppos = 3; } ?> @@ -52,7 +52,7 @@ if (defined ("POPUPNEARFEATURE") && (POPUPNEARFEATURE)) { noImageRegistered: "" }; var sypSettings = { - popupNearfeature: + popupPos: };