Project

General

Profile

« Previous | Next » 

Revision 13848

/Makefile, lib/phpPgAdmin.login.php.diff: public_ user: added auto-filled password so that users would not be confused as to what to type in the password field

View differences:

phpPgAdmin.login.php.diff
1 1
--- /Volumes/vegbiendev.nceas.ucsb.edu/bien/login.old.php	2014-02-28 22:22:32.000000000 -0800
2 2
+++ /Volumes/vegbiendev.nceas.ucsb.edu/bien/login.php	2014-02-28 22:45:14.000000000 -0800
3
@@ -42,9 +42,12 @@
3
@@ -42,9 +42,9 @@
4 4
 		<tr>
5 5
 			<td><?php echo $lang['strusername']; ?></td>
6 6
-			<td><input type="text" name="loginUsername" value="<?php if (isset($_POST['loginUsername'])) echo htmlspecialchars($_POST['loginUsername']); ?>" size="24" /></td>
7
+			<td><input type="text" name="loginUsername" value="<?php if (isset($_POST['loginUsername'])) echo htmlspecialchars($_POST['loginUsername']); else echo 'public_' ?>" size="24" /></td>
7
+			<td><input type="text" name="loginUsername" value="public_" size="24" /></td>
8 8
 		</tr>
9 9
 		<tr>
10 10
 			<td><?php echo $lang['strpassword']; ?></td>
11 11
-			<td><input id="loginPassword" type="password" name="loginPassword_<?php echo $md5_server; ?>" size="24" /></td>
12
+			<td>
13
+				<div><input id="loginPassword" type="password" name="loginPassword_<?php echo $md5_server; ?>" size="24" /></div>
14
+				<div align="left"><big><b><font color="blue">For user public_, leave blank</font></b></big></div>
15
+			</td>
12
+			<td><input id="loginPassword" type="password" name="loginPassword_<?php echo $md5_server; ?>" value="password" size="24" /></td>
16 13
 		</tr>
17 14
 	</table>

Also available in: Unified diff