Browse code

admin/links.php: formatting changes

Clarissa Walker authored on 2026/09/12 17:22:39
Showing 1 changed files
... ...
@@ -82,7 +82,7 @@ if(isset($_GET['edit']) || isset($_GET["new"])) {
82 82
 		$access = 0;
83 83
 		$accesskey = "";
84 84
 	}
85
-	$output .= "<form method=\"POST\" id=\"settingsform\" enctype=\"multipart/form-data\" action=\"admin.php?action=links".($edit ? "&amp;edit=$edit" : "")."\">
85
+	$output .= "<form method=\"POST\" id=\"settingsform\" style=\"width: 35em; margin-right: -2%;\" enctype=\"multipart/form-data\" action=\"admin.php?action=links".($edit ? "&amp;edit=$edit" : "")."\">
86 86
 	<p><label for=\"link_name\">"._NAME.":</label> <input type=\"text\" class=\"textbox\" name=\"link_name\" value=\"$name\"> <br />
87 87
 	<label for=\"link_text\">"._LINKTEXT.":</label> <input type=\"text\" class=\"textbox\" name=\"link_text\" value=\"$text\"><br />
88 88
 	<label for=\"link_key\">"._LINKKEY.":</label> <input type=\"text\" class=\"textbox\" name=\"link_key\" value=\"$accesskey\" size=\"1\"><br />
... ...
@@ -96,7 +96,7 @@ if(isset($_GET['edit']) || isset($_GET["new"])) {
96 96
 		<option value=\"1\"".($access == 1 ? " selected" : "").">"._MEMBERS."</option>
97 97
 		<option value=\"2\"".($access == 2 ? " selected" : "").">"._ADMINS."</option>
98 98
 	</select><br />
99
-	<INPUT type=\"submit\" class=\"button\" name=\"submit\" id=\"submit\" value=\""._SUBMIT."\"></form>";
99
+	<INPUT type=\"submit\" class=\"button\" style=\"margin-left: 31.8%; margin-top: 0.3em;\" name=\"submit\" id=\"submit\" value=\""._SUBMIT."\"></form>";
100 100
 	$output .= write_message(_NAMECONVENTIONS);
101 101
 }
102 102
 else {
... ...
@@ -119,4 +119,4 @@ while($link = dbassoc($linkquery)) {
119 119
 	$output .= "<tr><td class=\"tblborder\" colspan=\"2\" align=\"center\"><a href=\"admin.php?action=links&amp;new=1\">"._ADDNEWLINK."</a></td></tr>";
120 120
 	$output .= "</table>";
121 121
 }
122
-?>
123 122
\ No newline at end of file
123
+?>