Browse code

General cleanup - layout and consistency changes

Clarissa Walker authored on 2026/08/22 21:10:50
Showing 3 changed files
... ...
@@ -96,7 +96,7 @@ else if(!empty($_GET['delete'])) {
96 96
 	}
97 97
 }
98 98
 else {
99
-	$output .= "<form name=\"list\" action=\"\"><div class='sectionheader'>"._PANELS." <A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_PANELS."</span></A><br /> <select name=\"list\" onchange=\"if(this.selectedIndex.value != 'false') document.location = document.list.list.options[document.list.list.selectedIndex].value\">";
99
+	$output .= "<form name=\"list\" action=\"\"><div class='sectionheader'>"._PANELS." <A HREF=\"#\" class=\"pophelp\" style='font-size: 12pt;'>[?]<span>"._HELP_PANELS."</span></A><br /> <select name=\"list\" onchange=\"if(this.selectedIndex.value != 'false') document.location = document.list.list.options[document.list.list.selectedIndex].value\">";
100 100
 	$output .= "<option value=\"admin.php?action=panels\">"._ALL."</option>";
101 101
 	$paneltypelist = dbquery("SELECT DISTINCT panel_type FROM ".TABLEPREFIX."fanfiction_panels ORDER BY panel_type");
102 102
 	while($t = dbrow($paneltypelist)) {
... ...
@@ -430,7 +430,7 @@ else if(isset($_POST['submit'])) {
430 430
 				<td><label for='newfavorites'>"._FAVORITES.": </label></td><td><select name='newfavorites'>
431 431
 				<option value='1'".($favorites == "1" ? " selected" : "").">"._YES."</option>
432 432
 				<option value='0'".($favorites == "0" ? " selected" : "").">"._NO."</option>
433
-				</select><a href='#' class='pophelp'>[?]<span>"._HELP_FAVORITES."</span></a></td>
433
+				</select> <a href='#' class='pophelp'>[?]<span>"._HELP_FAVORITES."</span></a></td>
434 434
 			</tr>
435 435
 			<tr>
436 436
 				<td><label for='newmultiplecats'>"._NUMCATS.": </label></td><td><select name='newmultiplecats'>
... ...
@@ -466,7 +466,7 @@ else if(isset($_POST['submit'])) {
466 466
 				<td><label for='newcaptcha'>"._CAPTCHA.": </label></td><td><select name='newcaptcha'>
467 467
 				<option value='1'".($captcha == "1" ? " selected" : "").">"._YES."</option>
468 468
 				<option value='0'".(!isset($captcha) || $captcha == "0" ? " selected" : "").">"._NO."</option>
469
-				</select><a href='#' class='pophelp'>[?]<span>"._HELP_CAPTCHA."</span></a></td></tr>";
469
+				</select> <a href='#' class='pophelp'>[?]<span>"._HELP_CAPTCHA."</span></a></td></tr>";
470 470
 	}
471 471
 	else if($sect == "display") {
472 472
 		$settings = dbquery("SELECT defaultsort, displayindex FROM ".$settingsprefix."fanfiction_settings WHERE sitekey ='".SITEKEY."'");
... ...
@@ -60,7 +60,7 @@ if(!defined("_CHARSET")) exit( );
60 60
 		$output .= "<label for='sortby'>"._DEFAULTSORT.": </label><select name='sortby' class='textbox'>
61 61
 				<option value='1'".($user['sortby'] ? " selected" : "").">"._MOSTRECENT."</option>
62 62
 				<option value='0'".(!$user['sortby'] ? " selected" : "").">"._ALPHA."</option>
63
-			</select><A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_DEFAULTSORT."</span></A><br />
63
+			</select> <A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_DEFAULTSORT."</span></A><br />
64 64
 			<label for='skinnew'>"._SKIN.":</label> <select name=\"skinnew\">";
65 65
 		if(!isset($hiddenskins)) $hiddenskins = array( );
66 66
 		if(is_string($hiddenskins)) $hiddenskins = explode(",", $hiddenskins);
... ...
@@ -73,7 +73,7 @@ if(!defined("_CHARSET")) exit( );
73 73
 		foreach($skinlist as $s) { $output .= $s; }
74 74
 		unset($skinlist, $s);
75 75
 		closedir($directory);
76
-		$output .= "</select><A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_SKIN."</span></A><br /><INPUT type=\"submit\" class=\"button\" id=\"submit\" name=\"submit\" value=\""._SUBMIT."\"></form>";
76
+		$output .= "</select><A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_SKIN."</span></A><br /><INPUT style='margin-top: 0.5em;' type=\"submit\" class=\"button\" id=\"submit\" name=\"submit\" value=\""._SUBMIT."\"></form>";
77 77
 	}
78 78
 
79
-?>
80 79
\ No newline at end of file
80
+?>