diff --git a/adduser.php b/adduser.php index 299e404..d0df146 100644 --- a/adduser.php +++ b/adduser.php @@ -46,7 +46,7 @@ if ($user->isAdmin && !empty($login) && !empty($hash)) { $newUser = new uUser($login); if ($newUser->isValid) { - exitWithStatus(true, $lang_userexists); + exitWithStatus(true, $lang["userexists"]); } if ($newUser->add($login, $hash) === false) { exitWithStatus(true, $mysqli->error); diff --git a/admin.js b/admin.js index 7ece0e0..0434915 100644 --- a/admin.js +++ b/admin.js @@ -18,10 +18,10 @@ function addUser() { var form = '
'; - form += ''; - form += ''; - form += ''; - form += '
'; + form += ''; + form += ''; + form += ''; + form += '
'; form += '
'; showModal(form); } diff --git a/api_gmaps.js b/api_gmaps.js index b20ae50..675ba68 100755 --- a/api_gmaps.js +++ b/api_gmaps.js @@ -126,20 +126,20 @@ function setMarker(p,i,posLen) { else { marker.setIcon('//maps.gstatic.com/mapfiles/ridefinder-images/mm_20_gray.png') } // popup var content = '