]> dev.renevier.net Git - syp.git/blobdiff - inc/html/admin.php
admin as default login user
[syp.git] / inc / html / admin.php
index ef43708a4b50f03314742deadafb2527c329420a..63b6c4078f1da8c523a91e5e3ca705a7d69fa388 100644 (file)
@@ -83,7 +83,8 @@ if (!$usrtblexists || !$itemstblexists) {
             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 successfully added.')?>"
+            newUserSuccess: "<?php ptrans('User successfully added.')?>",
+            DisabledForDemo: "<?php ptrans('This feature is not enabled on demo site')?>"
         };
 
         var sypSettings =  {
@@ -219,7 +220,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>