Browse code

series.php, includes/storyform.php: move multiple selections message to just before the characters list order, so it will not disappear for users with only one category option

Clarissa Walker authored on 2026/11/12 20:01:35
Showing 2 changed files
... ...
@@ -87,6 +87,7 @@ function storyform($stories, $preview = 0){
87 87
 	if(!$multiplecats) $output .= "<input type=\"hidden\" name=\"catid\" id=\"catid\" value=\"1\">";
88 88
 	else {
89 89
 		include("includes/categories.php");
90
+		$output .= "<div style=\"text-align: center;\"><b>"._MULTIPLESELECT."</b></div>\r\n";
90 91
 		$output .= "<input type=\"hidden\" name=\"formname\" value=\"stories\">";
91 92
 	}
92 93
 	$output .= "<div style='float: left; width: 100%;'>";
... ...
@@ -185,6 +185,7 @@ if($add == "series" || ($action == "add" && !$add) || $action == "edit") {
185 185
 		include("includes/categories.php");
186 186
 		$output .= "<input type=\"hidden\" name=\"formname\" value=\"series\">";
187 187
 	}
188
+	$output .= "<div style=\"text-align: center;\"><b>"._MULTIPLESELECT."</b></div>\r\n";
188 189
 	if(count($charlist) > 0) {
189 190
 		$output .= "<div style=\"float: left; width: 99%;\"><div style=\"float: left; padding: 5px; width: 47%;\"><label for=\"charid\">"._CHARACTERS.":</label> <br /><select size=\"5\" style=\"width: 99%;\" name=\"charid[]\" id=\"charid\" multiple>";
190 191
 		$chars = isset($series['characters']) ? explode(",", $series['characters']) : array( );