X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_admin.php;h=814ca4566c362a5473478a46ebbe4c23fc981228;hp=c3500dc4069205f28180bd88a70c601ea68a0115;hb=3b38ca36fc18d34999073625a9c66dc2f05747a3;hpb=3c9d0dbaecbd62e5933096270da3e970371d67ec diff --git a/inc/templates_admin.php b/inc/templates_admin.php index c3500dc..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: + }; @@ -135,12 +137,15 @@ if (!$usrtblexists || !$itemstblexists) { +

+ + +

checkpwdmd5 ("admin", - $_COOKIE [sprintf ("%sauth", DBPREFIX)])) { + if ($logged) { echo ' class="hidden"'; } ?>> @@ -150,6 +155,10 @@ if (!$usrtblexists || !$itemstblexists) {
+ + + + @@ -161,7 +170,7 @@ if (!$usrtblexists || !$itemstblexists) {

- throbber + throbber