]> dev.renevier.net Git - syp.git/blobdiff - inc/html/admin.php
admin as default login user
[syp.git] / inc / html / admin.php
index d6d876b105aa570631c4e02cff7105d9ba60d569..38e669b611f31f94d3a544cdf96711db5ed9a46f 100644 (file)
@@ -56,6 +56,7 @@ if (!$usrtblexists || !$itemstblexists) {
       <script type="text/javascript">
         var SypStrings = {
             AddItem: "<?php ptrans('add a place')?>",
+            Cancel: "<?php ptrans('cancel')?>",
             DragDropHowto: "<?php ptrans('You can move an item by drag & droping it.')?>",
             SelectHowto: "<?php ptrans('To modify an item data, select matching marker.')?>",
             AddHowto: "<?php ptrans('Click on the map to add a marker.')?>",
@@ -67,16 +68,17 @@ if (!$usrtblexists || !$itemstblexists) {
             UnauthorizedError: "<?php ptrans('Password is not correct.')?>",
             NotimageError: "<?php ptrans('File does not look like an image.')?>",
             UnconsistentError: "<?php ptrans('Server reply was inconsistent.')?>",
-            DelSucces: "<?php ptrans('Removal took place correctly.')?>",
+            DelSucces: "<?php ptrans('Successfully removed.')?>",
             UpdateSucces: "<?php ptrans('Save took place correctly.')?>",
             emptyPasswordError: "<?php ptrans('Password cannot be empty')?>",
             userPasswordmatchError: "<?php ptrans('Passwords do not match.')?>",
             changeSamePass: "<?php ptrans('New password is the same as old password.')?>",
             changePassBadPass: "<?php ptrans('Bad password.')?>",
-            changePassSuccess: "<?php ptrans('Password changed correctly.')?>",
+            changePassSuccess: "<?php ptrans('Password successfully changed.')?>",
             newUserNonameError: "<?php ptrans('User name has not been set.')?>",
             newUserExistsError: "<?php ptrans('User already exists in database.')?>",
-            newUserSuccess: "<?php ptrans('User added correctly.')?>"
+            newUserSuccess: "<?php ptrans('User successfully added.')?>",
+            DisabledForDemo: "<?php ptrans('This feature is not enabled on demo site')?>"
         };
 
         var sypSettings =  {
@@ -212,7 +214,7 @@ if (!$usrtblexists || !$itemstblexists) {
             <table>
                 <tr>
                     <td><label for="user"><?php ptrans('user')?></label></td>
-                    <td style="width: 100%"><input id="user" name="user"></td>
+                    <td style="width: 100%"><input id="user" name="user" value="admin"></td>
                 </tr>
                 <tr>
                     <td><label for="password"><?php ptrans('password')?></label></td>
@@ -220,7 +222,7 @@ if (!$usrtblexists || !$itemstblexists) {
                 </tr>
             </table>
             <p class="center">
-                <input id="login_submit" type="submit" value="<?php ptrans('Connection')?>">
+                <input id="login_submit" type="submit" value="<?php ptrans('Login')?>">
                 <input type="hidden" name="request" value="auth">
             </p>
             <p id="pwd_throbber" class="throbber center">