Browse code

blocks/news/admin.php: Formatting changes

Clarissa Walker authored on 2026/09/24 10:27:34
Showing 1 changed files
... ...
@@ -28,9 +28,9 @@ include("blocks/".$blocks['news']['file']);
28 28
 	else  {
29 29
 		if(!isset($blocks['news']['sumlength'])) $blocks['news']['sumlength'] = "";
30 30
 		$output .= "<div style='text-align: center;'><b>"._CURRENT.":</b><br /><div class=\"tblborder\" style=\"width: 80%; margin: 0 auto; text-align: left;\">$content</div><br /></div>";
31
-		$output .= "<div><div id='settingsform'><form method=\"POST\" enctype=\"multipart/form-data\" action=\"admin.php?action=blocks&admin=news\">
31
+		$output .= "<div><div id='settingsform' style=\"width: 35%; margin-right: -2%;\"><form method=\"POST\" enctype=\"multipart/form-data\" action=\"admin.php?action=blocks&admin=news\">
32 32
 			<div><label for=\"num\">"._NUMNEWS.":</label><input type=\"text\" class=\"textbox\" name=\"num\" id=\"num\" size=\"4\" value=\"".$blocks['news']['num']."\"></div>
33 33
 		<div><label for=\"num\">"._SUMLENGTH.":</label><input type=\"text\" class=\"textbox\" name=\"sumlength\" id=\"sumlength\" size=\"6\" value=\"".$blocks['news']['sumlength']."\"></div>
34
-			<INPUT type=\"submit\" name=\"submit\" class=\"button\" id=\"submit\" value=\""._SUBMIT."\"></form></div><div style='clear: both;'></div></div>";
34
+			<INPUT type=\"submit\" name=\"submit\" style=\"margin-left: 31.7%; margin-top: 0.3em;\" class=\"button\" id=\"submit\" value=\""._SUBMIT."\"></form></div><div style='clear: both;'></div></div>";
35 35
 	}
36
-?>
37 36
\ No newline at end of file
37
+?>