X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Ftemplates_admin.php;h=814ca4566c362a5473478a46ebbe4c23fc981228;hp=b02e5a800ab146d61f4686c59624af8035d8930b;hb=3b38ca36fc18d34999073625a9c66dc2f05747a3;hpb=f91e6abb7675a2f526a444b4558800e6d76c2d8d
diff --git a/inc/templates_admin.php b/inc/templates_admin.php
index b02e5a8..814ca45 100644
--- a/inc/templates_admin.php
+++ b/inc/templates_admin.php
@@ -21,7 +21,7 @@ if (!$usrtblexists || !$itemstblexists) {
?>
-
+
@@ -35,10 +35,14 @@ 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) {