]> dev.renevier.net Git - syp.git/blobdiff - inc/html/admin.php
admin as default login user
[syp.git] / inc / html / admin.php
index a96a4700db1a356d62f09804d1b3e45dff019fcd..38e669b611f31f94d3a544cdf96711db5ed9a46f 100644 (file)
@@ -68,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 =  {
@@ -213,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>
@@ -221,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">