X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_admin.php;h=814ca4566c362a5473478a46ebbe4c23fc981228;hp=ce7e3b4230069f83bcfb124307bdae92a3210105;hb=3b38ca36fc18d34999073625a9c66dc2f05747a3;hpb=a95b8e8626615eb84bd4760a0640d13dc1e67bab diff --git a/inc/templates_admin.php b/inc/templates_admin.php index ce7e3b4..814ca45 100644 --- a/inc/templates_admin.php +++ b/inc/templates_admin.php @@ -21,7 +21,7 @@ if (!$usrtblexists || !$itemstblexists) { ?> - + <?php ptrans('SYP admin')?> @@ -35,10 +35,14 @@ if (!$usrtblexists || !$itemstblexists) { checkpwdmd5 ($user, $pwd)); ?> - + <?php ptrans('SYP admin');?> @@ -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"'; } ?>> @@ -148,7 +153,12 @@ if (!$usrtblexists || !$itemstblexists) {
+ + + + + @@ -160,7 +170,7 @@ if (!$usrtblexists || !$itemstblexists) {

- throbber + throbber