diff --git a/installer/styles.css b/installer/styles.css
index 06f49e370..339b6b583 100644
--- a/installer/styles.css
+++ b/installer/styles.css
@@ -141,6 +141,11 @@ th {
text-align: left;
}
+td > label {
+ min-width: 6em;
+ display: inline-block;
+}
+
ul li {
margin: 0.3em 0 0.4em -1em;
}
diff --git a/installer/test.php b/installer/test.php
index a79adc170..f3f36c85e 100644
--- a/installer/test.php
+++ b/installer/test.php
@@ -240,42 +240,50 @@ else {
echo "
";
}
-?>
-
-
-
-Server: getprop('smtp_server', 'localhost')); ?>
-Port: getprop('smtp_port'); ?>
-
-getprop('smtp_server')) {
- $user = $RCI->getprop('smtp_user', '(none)');
- $pass = $RCI->getprop('smtp_pass', '(none)');
+$user = $RCI->getprop('smtp_user', '(none)');
+$pass = $RCI->getprop('smtp_pass', '(none)');
- if ($user == '%u') {
- $user_field = new html_inputfield(array('name' => '_smtp_user'));
+if ($user == '%u') {
+ $user_field = new html_inputfield(array('name' => '_smtp_user', 'id' => 'smtp_user'));
$user = $user_field->show($_POST['_smtp_user']);
- }
- if ($pass == '%p') {
- $pass_field = new html_passwordfield(array('name' => '_smtp_pass'));
+}
+if ($pass == '%p') {
+ $pass_field = new html_passwordfield(array('name' => '_smtp_pass', 'id' => 'smtp_pass'));
$pass = $pass_field->show();
- }
-
- echo "User: $user
";
- echo "Password: $pass
";
}
-$from_field = new html_inputfield(array('name' => '_from', 'id' => 'sendmailfrom'));
-$to_field = new html_inputfield(array('name' => '_to', 'id' => 'sendmailto'));
-
?>
+
+
+
+ | getprop('smtp_server', 'localhost')); ?> | +
+ | getprop('smtp_port'); ?> | +
+ | + |
+ | + |
Trying to send email...
';