Browse code

General cleanup - layout and consistency changes

Clarissa Walker authored on 2026/08/18 18:02:49
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)) {
... ...
@@ -410,7 +410,7 @@ else if(isset($_POST['submit'])) {
410 410
 				<td><label for='newstoriespath'>"._STORIESPATH.":</label></td><td><input type='text' class='textbox=' name='newstoriespath' value='$storiespath'> <a href='#' class='pophelp'>[?]<span>"._HELP_STORIESPATH."</span></a></td>
411 411
 			</tr>
412 412
 			<tr>
413
-				<td colspan='2'><fieldset style='margin: 0 auto;'><legend>"._MAXMINWORDS."<a href='#' class='pophelp'>[?]<span>"._HELP_MINMAXWORDS."</span></a></legend>
413
+				<td colspan='2'><fieldset style='margin: 0 auto;'><legend>"._MAXMINWORDS." <a href='#' class='pophelp'>[?]<span>"._HELP_MINMAXWORDS."</span></a></legend>
414 414
 				<label for='newminwords'>"._MIN.":</label> <span style='padding-left: 38.44%;'> <input  type='text' class='textbox=' name='newminwords' value='$minwords' size='5'> <br />
415 415
 				<label for='newmaxwords'>"._MAX.":</label> <span style='padding-left: 37.7%;'> <input  type='text' class='textbox=' name='newmaxwords' value='$maxwords' size='7'></fieldset></td></tr>";
416 416
 	}
... ...
@@ -433,7 +433,7 @@ else if(isset($_POST['submit'])) {
433 433
 				<td><label for='newfavorites'>"._FAVORITES.": </label></td><td><select name='newfavorites'>
434 434
 				<option value='1'".($favorites == "1" ? " selected" : "").">"._YES."</option>
435 435
 				<option value='0'".($favorites == "0" ? " selected" : "").">"._NO."</option>
436
-				</select><a href='#' class='pophelp'>[?]<span>"._HELP_FAVORITES."</span></a></td>
436
+				</select> <a href='#' class='pophelp'>[?]<span>"._HELP_FAVORITES."</span></a></td>
437 437
 			</tr>
438 438
 			<tr>
439 439
 				<td><label for='newmultiplecats'>"._NUMCATS.": </label></td><td><select name='newmultiplecats'>
... ...
@@ -475,7 +475,7 @@ else if(isset($_POST['submit'])) {
475 475
 				<td><label for='newcaptcha'>"._CAPTCHA.": </label></td><td><select name='newcaptcha'>
476 476
 				<option value='1'".($captcha == "1" ? " selected" : "").">"._YES."</option>
477 477
 				<option value='0'".(!isset($captcha) || $captcha == "0" ? " selected" : "").">"._NO."</option>
478
-				</select><a href='#' class='pophelp'>[?]<span>"._HELP_CAPTCHA."</span></a></td></tr>";
478
+				</select> <a href='#' class='pophelp'>[?]<span>"._HELP_CAPTCHA."</span></a></td></tr>";
479 479
 	}
480 480
 	else if($sect == "display") {
481 481
 		$settings = dbquery("SELECT defaultsort, displayindex FROM ".$settingsprefix."fanfiction_settings WHERE sitekey ='".SITEKEY."'");
... ...
@@ -25,7 +25,7 @@
25 25
 if(!defined("_CHARSET")) exit( );
26 26
 
27 27
 if(isset($setreg) && $setreg == 0) {
28
-$output .= "<div align='center'>"._REGDISABLED."</div>";
28
+$output .= "<div align='center' style='margin-top: 1em;'>"._REGDISABLED."</div>";
29 29
 }
30 30
 
31 31
 else include("user/editbio.php");