Project

General

Profile

« Previous | Next » 

Revision 6825

lib/phpPgAdmin.login.php.diff: public_ user's password message: Print as its own message instead of appending it to $msg. Print it before any error message so it always appears at the top of the page.

View differences:

lib/phpPgAdmin.login.php.diff
1
@@ -12,4 +12,7 @@
2
 	require_once('./libraries/lib.inc.php');
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);
3 7
 
4
+	$msg = (isset($msg) ? $msg."\n<br/><br/>\n" : '')
5
+		.'For user public_, leave password blank';
6
+
7
 	$misc->printHeader($lang['strlogin']);
8
 	$misc->printBody();
9
@@ -39,5 +42,5 @@
8
@@ -39,5 +41,5 @@
10 9
 		<tr>
11 10
 			<td><?php echo $lang['strusername']; ?></td>
12 11
-			<td><input type="text" name="loginUsername" value="<?php if (isset($_POST['loginUsername'])) echo htmlspecialchars($_POST['loginUsername']); ?>" size="24" /></td>

Also available in: Unified diff