X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_admin.php;h=814ca4566c362a5473478a46ebbe4c23fc981228;hp=3931aa0beee3b0db547b8fd4672bcacf1aad8f5e;hb=3b38ca36fc18d34999073625a9c66dc2f05747a3;hpb=3181694edcb311144c22078ab6d59112bcde612a diff --git a/inc/templates_admin.php b/inc/templates_admin.php index 3931aa0..814ca45 100644 --- a/inc/templates_admin.php +++ b/inc/templates_admin.php @@ -35,6 +35,10 @@ if (!$usrtblexists || !$itemstblexists) { checkpwdmd5 ($user, $pwd)); ?> @@ -65,11 +69,9 @@ if (!$usrtblexists || !$itemstblexists) { UpdateSucces: "" }; - mbr (); - printf ("var sypOrig = [%.18F, %.18F, %.18F, %.18F];\n", - $bbox [0], $bbox [1], $bbox [2], $bbox [3]); - ?> + var sypSettings = { + loggedUser: + }; @@ -143,8 +145,7 @@ if (!$usrtblexists || !$itemstblexists) {
checkpwdmd5 ("admin", - $_COOKIE [sprintf ("%sauth", DBPREFIX)])) { + if ($logged) { echo ' class="hidden"'; } ?>> @@ -154,6 +155,10 @@ if (!$usrtblexists || !$itemstblexists) {
+ + + +