Browse code

admin settings submit button spacing and test SMTP connection button centering consistency change

Clarissa Walker authored on 2026/08/23 13:42:06
Showing 1 changed files
... ...
@@ -619,20 +619,20 @@ else if(isset($_POST['submit'])) {
619 619
 				</select> <a href='#' class='pophelp'>[?]<span>"._HELP_SMTPSECURE."</span></a></td></tr>";
620 620
 		$output .= 	write_message(_SMTPOFF);
621 621
 	}
622
-	$output .= "<tr><td colspan='2'><div align='center'><input type='submit' id='submit' class='button' name='submit' value='"._SUBMIT."'></div></form></td></tr></table>";
622
+	$output .= "<tr><td colspan='2'><div align='center'><br><input type='submit' id='submit' class='button' name='submit' value='"._SUBMIT."'><p></div></form></td></tr></table>";
623 623
 	// The SMTP test button lives OUTSIDE the main settings form (nested forms are
624 624
 	// invalid HTML). It is its own POST mini-form -- a submit button, not a GET
625 625
 	// link -- so the outbound SMTP connection can't be triggered by a plain link
626 626
 	// or a browser prefetch. The existing testsmtp handler posts to the same URL.
627 627
 	if($sect == "email") {
628 628
 		$output .= "<div class='sectionheader'>"._TESTSMTP_HEADER."</div>
629
-		<ul>
630
-			<li>
629
+		<div align='center'>
630
+			<p>
631 631
 				<form method='POST' action='admin.php?action=settings&amp;sect=email' style='display:inline'>
632 632
 					<input type='submit' class='button' name='testsmtp' value='"._TESTSMTP."'>
633 633
 				</form>
634 634
 				<a href='#' class='pophelp'>[?]<span>"._HELP_TESTSMTP."</span></a>
635
-			</li>
636
-		</ul>";
635
+			<p>
636
+		</div>";
637 637
 	}
638 638
 ?>