]> dev.renevier.net Git - syp.git/blobdiff - inc/html/admin.php
admin as default login user
[syp.git] / inc / html / admin.php
index 7702b949b7408fd720eaf0f140b042af2e7e3fb1..5b8a18c98c4b48f442704d27d43596e1ce6dd017 100644 (file)
@@ -75,7 +75,8 @@ if (!$usrtblexists || !$itemstblexists) {
             changePassSuccess: "<?php ptrans('Password changed correctly.')?>",
             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 added correctly.')?>",
+            DisabledForDemo: "<?php ptrans('This feature is not enabled on demo site')?>"
         };
 
         var sypSettings =  {
@@ -211,7 +212,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>