Project

General

Profile

« Previous | Next » 

Revision 12549

fix: lib/phpPgAdmin.login.php.diff: "For user public_, leave password blank" instruction: moved this to right under the Password field and increased the font size so people would be more likely to see it

View differences:

trunk/lib/phpPgAdmin.login.php.diff
1
@@ -20,4 +20,6 @@
2
 	$misc->printTitle(sprintf($lang['strlogintitle'], $server_info['desc']));
3
 	
4
+	$misc->printMsg('For user public_, leave password blank');
5
+	
6
 	if (isset($msg)) $misc->printMsg($msg);
7
 
8
@@ -39,5 +41,5 @@
1
--- /Volumes/vegbiendev.nceas.ucsb.edu/bien/login.old.php	2014-02-28 22:22:32.000000000 -0800
2
+++ /Volumes/vegbiendev.nceas.ucsb.edu/bien/login.php	2014-02-28 22:45:14.000000000 -0800
3
@@ -42,9 +42,12 @@
9 4
 		<tr>
10 5
 			<td><?php echo $lang['strusername']; ?></td>
11 6
-			<td><input type="text" name="loginUsername" value="<?php if (isset($_POST['loginUsername'])) echo htmlspecialchars($_POST['loginUsername']); ?>" size="24" /></td>
12 7
+			<td><input type="text" name="loginUsername" value="<?php if (isset($_POST['loginUsername'])) echo htmlspecialchars($_POST['loginUsername']); else echo 'public_' ?>" size="24" /></td>
13 8
 		</tr>
14 9
 		<tr>
10
 			<td><?php echo $lang['strpassword']; ?></td>
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>
16
 		</tr>
17
 	</table>

Also available in: Unified diff